restore ct : Cannot mknod: Operation not permitted

m.mansour

New Member
Sep 20, 2019
3
3
3
32
Hello,

I found a problem to restore a CT in proxmox: there is an error: Cannot mknod: Operation not permitted

The problem I just have the backup to restore the ct

I lost the container during the first restore and I cannot create a new backup with "-- exclude ./opt/lool/"


ANY IDEAS FOR SOLVING THIS PROBLEM?

Thanks,
__________________________________________________________
__________________________________________________________
Formatting '/mnt/pve/NFS_BACKUP_###/images/10004/vm-10004-disk-0.raw', fmt=raw size=16106127360
mke2fs 1.43.4 (31-Jan-2017)
Creating filesystem with 3932160 4k blocks and 983040 inodes
Filesystem UUID: cb29a837-b8af-432f-a170-dbe316215ad4
Superblock backups stored on blocks:
32768, 98304, 163840, 229376, 294912, 819200, 884736, 1605632, 2654208

Allocating group tables: 0/120 done
Writing inode tables: 0/120 done
Creating journal (16384 blocks): done
Multiple mount protection is enabled with update interval 5 seconds.
Writing superblocks and filesystem accounting information: 0/120 done

Formatting '/mnt/pve/NFS_BACKUP_###/images/10004/vm-10004-disk-1.raw', fmt=raw size=236223201280
mke2fs 1.43.4 (31-Jan-2017)
Creating filesystem with 57671680 4k blocks and 14417920 inodes
Filesystem UUID: 82517949-cd1b-4ad9-87e0-e7d783faff4f
Superblock backups stored on blocks:
32768, 98304, 163840, 229376, 294912, 819200, 884736, 1605632, 2654208,
4096000, 7962624, 11239424, 20480000, 23887872

Allocating group tables: 0/1760 done
Writing inode tables: 0/1760 done
Creating journal (262144 blocks): done
Multiple mount protection is enabled with update interval 5 seconds.
Writing superblocks and filesystem accounting information: 0/1760 done

extracting archive '/mnt/pve/NFS_BACKUP_###/dump/vzdump-lxc-10004-2020_02_16-04_08_36.tar.lzo'
tar: ./opt/lool/child-roots/oVilvIHTGHHRRqiL/dev/random: Cannot mknod: Operation not permitted
tar: ./opt/lool/child-roots/oVilvIHTGHHRRqiL/dev/urandom: Cannot mknod: Operation not permitted
tar: ./opt/lool/child-roots/wPdjjerwykz1DRSp/dev/random: Cannot mknod: Operation not permitted
tar: ./opt/lool/child-roots/wPdjjerwykz1DRSp/dev/urandom: Cannot mknod: Operation not permitted
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: 190564986880 (178GiB, 35MiB/s)
tar: Exiting with failure status due to previous errors
TASK ERROR: unable to restore CT 10004 - command 'lxc-usernsexec -m u:0:100000:65536 -m g:0:100000:65536 -- tar xpf - --lzop --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/10004/rootfs --skip-old-files --anchored --exclude './dev/*'' failed: exit code 2
 
please use the forum search for 'mknod'.