Closed plant75 closed 7 years ago
I have also an error when i try to start a restored LXC vm:
I have copied and adapted the conf file:
root@n1:/etc/pve/nodes/n1/lxc# cat 105.conf arch: amd64 cores: 4 hostname: t5 memory: 4096 net0: name=eth0,bridge=vmbr0,gw=192.168.1.1,hwaddr=5A:60:72:1F:86:A1,ip=192.168.1.61/24,type=veth ostype: debian rootfs: ceph-lxc:vm-105-disk-1,size=42G swap: 512
But i can't start it:
Mar 28 14:04:33 n1 systemd[1]: Failed to start LXC Container: 105. -- Subject: Unit lxc@105.service has failed -- Defined-By: systemd -- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel -- -- Unit lxc@105.service has failed. -- -- The result is failed. Mar 28 14:04:33 n1 systemd[1]: Unit lxc@105.service entered failed state. Mar 28 14:04:33 n1 pct[3263]: command 'systemctl start lxc@105' failed: exit code 1 Mar 28 14:04:33 n1 pct[3262]: root@pam end task UPID:n1:00000CBF:0099CB2D:58DA514B:vzstart:105:root@pam: command 'systemctl start
Grazie!
Work around: after restore: rbd feature disable ceph-lxc/vm-10X-disk-1 exclusive-lock, object-map, fast-diff, deep-flatten
Fix the problem adding the ability to use the hook script when restoring.
Hi, new release 0.1.4.
Hello, very very nice script! (Complimenti .. sono di Ravenna :-)
I have this issue if i have a previus Snapshot created by Web Interf.:
rbd: failed to create snapshot: (17) File exists ERROR: rbd snap create ceph-lxc/vm-100-disk-1@barcdaily17032813410
Grazie!