Hello everybody
I was going through the process of converting a CT from a privileged status to unprivileged and this is what I've done:
This is the output of the process:
Any idea ?
I was going through the process of converting a CT from a privileged status to unprivileged and this is what I've done:
- Stopped the CT
- Backed it up in STOP mode
- Started to recover it in unprivileged mode
- Got the warning message saying the CT data will be destroyed
- Restore process ended up with an error and my CT is now gone !!!!
This is the output of the process:
Code:
recovering backed-up configuration from 'local:backup/vzdump-lxc-101-2021_03_07-12_04_06.tar.zst'
Logical volume "vm-101-disk-1" created.
Creating filesystem with 6553600 4k blocks and 1638400 inodes
Filesystem UUID: 8a0bfd7d-d4c5-4e39-8c82-a3a3d3b85d6d
Superblock backups stored on blocks:
32768, 98304, 163840, 229376, 294912, 819200, 884736, 1605632, 2654208,
Logical volume "vm-101-disk-0" successfully removed
restoring 'local:backup/vzdump-lxc-101-2021_03_07-12_04_06.tar.zst' now..
extracting archive '/var/lib/vz/dump/vzdump-lxc-101-2021_03_07-12_04_06.tar.zst'
tar: ./var/spool/postfix/dev/random: Cannot mknod: Operation not permitted
tar: ./var/spool/postfix/dev/urandom: Cannot mknod: Operation not permitted
Total bytes read: 5633310720 (5.3GiB, 57MiB/s)
tar: Exiting with failure status due to previous errors
Logical volume "vm-101-disk-1" successfully removed
TASK ERROR: unable to restore CT 101 - command 'lxc-usernsexec -m u:0:100000:65536 -m g:0:100000:65536 -- tar xpf - --zstd --totals --one-file-system -p --sparse --numeric-owner --acls --xattrs '--xattrs-include=user.*' '--xattrs-include=security.capability' '--warning=no-file-ignored' '--warning=no-xattr-write' -C /var/lib/lxc/101/rootfs --skip-old-files --anchored --exclude './dev/*'' failed: exit code 2
Any idea ?
Last edited: