I'm running my VMs & CTs from image files stored on an encrypted ZFS pool - it's the same pool, which I boot from; the boot partition is not encrypted. There is a separate data-set called "encrypted" for this.
Everything works nicely, after reboot I just run a zfs-mounting script, which asks for pwd and mounts all the encrypted pools.
The only problem: when rebooting the host Proxmox, all the VMs & CTs get corrupted: inside the subvol dirs I can confirm most of the root dirs are missing, or the subvol is empty completely.
This is very ugly. Please, is there a possible workaround (script to write or procedure to follow) so I don't have to restore from backup all the corrupted machines after every reboot? I've tried to stop the machines, but this didn't help: reboot destroyed them anyway.
Thank you,
Andrej
Everything works nicely, after reboot I just run a zfs-mounting script, which asks for pwd and mounts all the encrypted pools.
The only problem: when rebooting the host Proxmox, all the VMs & CTs get corrupted: inside the subvol dirs I can confirm most of the root dirs are missing, or the subvol is empty completely.
This is very ugly. Please, is there a possible workaround (script to write or procedure to follow) so I don't have to restore from backup all the corrupted machines after every reboot? I've tried to stop the machines, but this didn't help: reboot destroyed them anyway.
Thank you,
Andrej
Last edited: