1

After creating an lxd container in the ZFS storage I deleted the based image by mistake.

Now the ZFS structure looks like:

# zfs list -t all -o name,clones
...
main/containers/mail
...
main/deleted/images/d0...a6e7                                                            
main/deleted/images/d0...a6e7@readonly  main/containers/mail
... 

How can I restore the deleted based image?

Veniamin
  • 863
  • 6
  • 11
  • from backup. How else? – djdomi Jan 20 '22 at 21:26
  • 1
    @djdomi It is not deleted at all as you can see but moved to the "deleted" section. I want to correctly restore It to create new containers based on it. Otherwise I need to reload new image from remote site, that will be waste of space. – Veniamin Jan 21 '22 at 09:48
  • please tell us how you deleted it – djdomi Jan 22 '22 at 08:19

0 Answers0