LXD: Cannot find and remove snapshot to remove storage pool?

@tomp incoming as PM because i can’t have all my data in the open :stuck_out_tongue:

Thanks

So I’m not sure what has happened here, but you have a ‘normal’ volume in the database that is clearly a snapshot.

INSERT INTO "storage_volumes" VALUES(282,'local-dns/snap0',1,1,0,'',1);

You can delete that row though using:

lxd sql global 'delete from storage_volumes where name = "local-dns/snap0"'

HEY that worked!

That cleaned it out and then I was able to delete the ‘default’ storage volume.

Thanks all for the assist! This was a pain to figure out, heh.