Hello together,
I've a Dell T30 and i would like to use two mirrored 1TB ssd-drives for my data and vm's. Because i would like to encrypt my data i'm trying to use an encrypted ZFS Setup. I tought everything works great, but after a reboot of my proxmox host i'm not able to startup my vm's again. For now i don't have any productive data or vm's because i'm (happily) just playing around, but i would like to use this as a prod system after everything runs smoothly.
This are the steps i thought would setup all i need:
After that i ensure enrcyption works and type:
BUT: After a reboot i'm unable to start my vm's and containers... Right after rebooting proxmox i decrypt my storage like above (zfs load-key ssdRaidPool/encryptedSsd) and try to start my machines, but the error is always:
"Job for pve-container@100.service failed because the control process exited with error code.
See "systemctl status pve-container@100.service" and "journalctl -xe" for details.
TASK ERROR: command 'systemctl start pve-container@100' failed: exit code 1
"
systemctl status pve-container@100.service gives me:
● pve-container@100.service - PVE LXC Container: 100
Loaded: loaded (/lib/systemd/system/pve-container@.service; static; vendor preset: enabled)
Active: failed (Result: exit-code) since Wed 2020-01-08 21:01:46 CET; 13min ago
Docs: man:lxc-start
man:lxc
manct
Process: 7870 ExecStart=/usr/bin/lxc-start -n 100 (code=exited, status=1/FAILURE)
Jan 08 21:01:46 pve systemd[1]: Starting PVE LXC Container: 100...
Jan 08 21:01:46 pve lxc-start[7870]: lxc-start: 100: lxccontainer.c: wait_on_daemonized_start: 865 No such file or directory - Failed to receive the container state
Jan 08 21:01:46 pve lxc-start[7870]: lxc-start: 100: tools/lxc_start.c: main: 329 The container failed to start
Jan 08 21:01:46 pve lxc-start[7870]: lxc-start: 100: tools/lxc_start.c: main: 332 To get more details, run the container in foreground mode
Jan 08 21:01:46 pve lxc-start[7870]: lxc-start: 100: tools/lxc_start.c: main: 335 Additional information can be obtained by setting the --logfile and --logpriority options
Jan 08 21:01:46 pve systemd[1]: pve-container@100.service: Control process exited, code=exited, status=1/FAILURE
Jan 08 21:01:46 pve systemd[1]: pve-container@100.service: Failed with result 'exit-code'.
Jan 08 21:01:46 pve systemd[1]: Failed to start PVE LXC Container: 100.
Nothing useful i can find with journalctl -xe
Any ideas what I'm doing wrong here :/?
Thanks in regard!
I've a Dell T30 and i would like to use two mirrored 1TB ssd-drives for my data and vm's. Because i would like to encrypt my data i'm trying to use an encrypted ZFS Setup. I tought everything works great, but after a reboot of my proxmox host i'm not able to startup my vm's again. For now i don't have any productive data or vm's because i'm (happily) just playing around, but i would like to use this as a prod system after everything runs smoothly.
This are the steps i thought would setup all i need:
- zpool create ssdRaidPool mirror /dev/sdb /dev/sdc
- zpool set feature@encryption=enabled ssdRaidPool
- zfs create -o encryption=on -o keyformat=passphrase ssdRaidPool/encryptedSsd
- pvesm add zfspool encryptedSsdStorage -pool ssdRaidPool/encryptedSsd
After that i ensure enrcyption works and type:
- zfs load-key ssdRaidPool/encryptedSsd
BUT: After a reboot i'm unable to start my vm's and containers... Right after rebooting proxmox i decrypt my storage like above (zfs load-key ssdRaidPool/encryptedSsd) and try to start my machines, but the error is always:
"Job for pve-container@100.service failed because the control process exited with error code.
See "systemctl status pve-container@100.service" and "journalctl -xe" for details.
TASK ERROR: command 'systemctl start pve-container@100' failed: exit code 1
"
systemctl status pve-container@100.service gives me:
● pve-container@100.service - PVE LXC Container: 100
Loaded: loaded (/lib/systemd/system/pve-container@.service; static; vendor preset: enabled)
Active: failed (Result: exit-code) since Wed 2020-01-08 21:01:46 CET; 13min ago
Docs: man:lxc-start
man:lxc
manct
Process: 7870 ExecStart=/usr/bin/lxc-start -n 100 (code=exited, status=1/FAILURE)
Jan 08 21:01:46 pve systemd[1]: Starting PVE LXC Container: 100...
Jan 08 21:01:46 pve lxc-start[7870]: lxc-start: 100: lxccontainer.c: wait_on_daemonized_start: 865 No such file or directory - Failed to receive the container state
Jan 08 21:01:46 pve lxc-start[7870]: lxc-start: 100: tools/lxc_start.c: main: 329 The container failed to start
Jan 08 21:01:46 pve lxc-start[7870]: lxc-start: 100: tools/lxc_start.c: main: 332 To get more details, run the container in foreground mode
Jan 08 21:01:46 pve lxc-start[7870]: lxc-start: 100: tools/lxc_start.c: main: 335 Additional information can be obtained by setting the --logfile and --logpriority options
Jan 08 21:01:46 pve systemd[1]: pve-container@100.service: Control process exited, code=exited, status=1/FAILURE
Jan 08 21:01:46 pve systemd[1]: pve-container@100.service: Failed with result 'exit-code'.
Jan 08 21:01:46 pve systemd[1]: Failed to start PVE LXC Container: 100.
Nothing useful i can find with journalctl -xe
Any ideas what I'm doing wrong here :/?
Thanks in regard!