Lxc storage delete Error: ZFS pool has leftover datasets: containers/cobalaunch

Hello, I have lxc storage named “sda1”. When deleting with command “lxc storage delete sda1” there is error “Error: ZFS pool has leftover datasets: containers/cobalaunch”

I have read this post Cannot remove ZFS storage if non empty?

I have deleted the “cobalaunch” folder in “/var/snap/lxd/common/lxd/storage-pools/sda1/containers”, but the error is still the same

What do I have to do?

You’d need to look at zfs list for anything else leftover and delete those with zfs destroy.

If you don’t have the command available, you’ll need the zfsutils-linux package.

1 Like

Ok thankyou so much, this is solution