cant restore because of mknode **PRIVLEGED or unprivleged**

DVDIsDead

New Member
Dec 19, 2021
11
1
3
31
getting an error restoring a container. from googling it said the solution was to restore as privileged instead of unprivleged, but both cause the same error:

recovering backed-up configuration from 'raid1-backups:backup/vzdump-lxc-125-2022_11_11-21_09_34.tar.zst'
WARNING: You have not turned on protection against thin pools running out of space.
WARNING: Set activation/thin_pool_autoextend_threshold below 100 to trigger automatic extension of thin pools before they get full.
Logical volume "vm-125-disk-0" created.
WARNING: Sum of all thin volume sizes (164.00 GiB) exceeds the size of thin pool pve/data and the amount of free space in volume group (<16.00 GiB).
Creating filesystem with 8388608 4k blocks and 2097152 inodes
Filesystem UUID: ed59b266-92f7-4967-9fd5-0ffb8031466d
Superblock backups stored on blocks:
32768, 98304, 163840, 229376, 294912, 819200, 884736, 1605632, 2654208,
4096000, 7962624
restoring 'raid1-backups:backup/vzdump-lxc-125-2022_11_11-21_09_34.tar.zst' now..
extracting archive '/backups/proxmox/dump/vzdump-lxc-125-2022_11_11-21_09_34.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: 3135774720 (3.0GiB, 160MiB/s)
tar: Exiting with failure status due to previous errors
Logical volume "vm-125-disk-0" successfully removed
TASK ERROR: unable to restore CT 125 - command 'lxc-usernsexec -m u:0:100000:1000 -m g:0:100000:1000 -m u:1000:1000:1 -m g:1000:1000:1 -m u:1001:101001:64534 -m g:1001:101001:64534 -- 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/125/rootfs --skip-old-files --anchored --exclude './dev/*'' failed: exit code 2
 
Hi,
can you post the container configuration included in the backup (Show configuration in the UI when selecting the backup) and the output of pveversion -v?
 

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!