[SOLVED] Restore schlägt fehl

PhUser

Member
Feb 28, 2020
4
0
6
47
Hallo,

ich habe ein Problem mit einem Backup eines Proxmox LXC. Ich kann den Container aus einem Backup nicht wieder herstellen.
Was kann ich tun?

Code:
Virtual Environment 6.1-7
Suche
Rechenzentrum
Server-Ansicht
Logs
()
  Logical volume "vm-110-disk-0" created.
mke2fs 1.44.5 (15-Dec-2018)
Discarding device blocks:    4096/7864320               done                          
Creating filesystem with 7864320 4k blocks and 1966080 inodes
Filesystem UUID: d3868774-7f7b-43fc-834d-e932ef1ccde4
Superblock backups stored on blocks:
    32768, 98304, 163840, 229376, 294912, 819200, 884736, 1605632, 2654208,
    4096000

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

extracting archive '/mnt/pve/ds214/dump/vzdump-lxc-103-2020_02_23-03_30_33.tar.lzo'
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: 26420725760 (25GiB, 16MiB/s)
tar: Exiting with failure status due to previous errors
  Logical volume "vm-110-disk-0" successfully removed
TASK ERROR: unable to restore CT 110 - 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/110/rootfs --skip-old-files --anchored --exclude './dev/*'' failed: exit code 2

Im Ziel sind noch über 300 GB frei. Also genug Platz.

Code:
pveversion -v

proxmox-ve: 6.1-2 (running kernel: 5.3.18-2-pve)
pve-manager: 6.1-7 (running version: 6.1-7/13e58d5e)
pve-kernel-5.3: 6.1-5
pve-kernel-helper: 6.1-5
pve-kernel-5.0: 6.0-11
pve-kernel-4.15: 5.4-9
pve-kernel-5.3.18-2-pve: 5.3.18-2
pve-kernel-5.3.18-1-pve: 5.3.18-1
pve-kernel-5.3.13-3-pve: 5.3.13-3
pve-kernel-5.0.21-5-pve: 5.0.21-10
pve-kernel-4.15.18-21-pve: 4.15.18-48
pve-kernel-4.15.18-10-pve: 4.15.18-32
ceph-fuse: 12.2.11+dfsg1-2.1+b1
corosync: 3.0.3-pve1
criu: 3.11-3
glusterfs-client: 5.5-3
ifupdown: 0.8.35+pve1
ksm-control-daemon: 1.3-1
libjs-extjs: 6.0.1-10
libknet1: 1.14-pve1
libpve-access-control: 6.0-6
libpve-apiclient-perl: 3.0-3
libpve-common-perl: 6.0-12
libpve-guest-common-perl: 3.0-3
libpve-http-server-perl: 3.0-4
libpve-storage-perl: 6.1-4
libqb0: 1.0.5-1
libspice-server1: 0.14.2-4~pve6+1
lvm2: 2.03.02-pve4
lxc-pve: 3.2.1-1
lxcfs: 3.0.3-pve60
novnc-pve: 1.1.0-1
proxmox-mini-journalreader: 1.1-1
proxmox-widget-toolkit: 2.1-3
pve-cluster: 6.1-4
pve-container: 3.0-19
pve-docs: 6.1-6
pve-edk2-firmware: 2.20191127-1
pve-firewall: 4.0-10
pve-firmware: 3.0-5
pve-ha-manager: 3.0-8
pve-i18n: 2.0-4
pve-qemu-kvm: 4.1.1-3
pve-xtermjs: 4.3.0-1
qemu-server: 6.1-6
smartmontools: 7.1-pve2
spiceterm: 3.1-1
vncterm: 1.6-1
zfsutils-linux: 0.8.3-pve1

Code:
pvs

  PV         VG  Fmt  Attr PSize    PFree
  /dev/sda3  pve lvm2 a--  <446.64g <16.00g

Code:
vgs

  VG  #PV #LV #SN Attr   VSize    VFree
  pve   1  21   0 wz--n- <446.64g <16.00g

Code:
lvs

  LV                                       VG  Attr       LSize    Pool Origin        Data%  Meta%  Move Log Cpy%Sync Convert
  data                                     pve twi-aotz-- <410.27g                    13.77  1.14                       
  root                                     pve -wi-ao----   10.00g

Code:
storage.cfg

dir: local
        path /var/lib/vz
        content backup,vztmpl,iso
        maxfiles 1
        shared 0

lvmthin: local-lvm
        thinpool data
        vgname pve
        content images,rootdir

nfs: ds214
        export /volume2/Proxmox
        path /mnt/pve/ds214
        server ds214
        content images,backup,vztmpl,iso,snippets
        maxfiles 10
        options vers=3
 
Last edited:
Probier mal als "privileged" zu restoren (Ein unprivileged container kann /dev/urandom nicht erzeugen).
 
  • Like
Reactions: PhUser

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!