Hi all,
I'm new to Proxmox.
My setup has an unencrypted main drive and encrypted ZFS filesystems that need to be unlocked after boot.
I was wondering if there is a recommended way to launch a VM/Container that requires data from zfs only after the ZFS has been (manually) mounted.
My rough ideas:
- Put the VM/Container directly on the ZFS and try to make the OS start it once mounted (some kind of post-mount script?)
- Make the VM/Container launch immediately from the main drive but somehow delay actual operating until the mounting has occured
I can probably hack together either option but was wondering if there is a more canonical way to achieve this without dirty hacks.
Any ideas would be greatly appreciated.
I'm new to Proxmox.
My setup has an unencrypted main drive and encrypted ZFS filesystems that need to be unlocked after boot.
I was wondering if there is a recommended way to launch a VM/Container that requires data from zfs only after the ZFS has been (manually) mounted.
My rough ideas:
- Put the VM/Container directly on the ZFS and try to make the OS start it once mounted (some kind of post-mount script?)
- Make the VM/Container launch immediately from the main drive but somehow delay actual operating until the mounting has occured
I can probably hack together either option but was wondering if there is a more canonical way to achieve this without dirty hacks.
Any ideas would be greatly appreciated.