[SOLVED] Transfer openvz zu lxc scheitert

AugustinMarc

Active Member
Aug 20, 2018
2
0
41
56
Hallo,

ich versuche einen openvz Container von proxmox 3.4 auf eine 5.2 Installation zu übetragen.
Das Zurücksichern aus einer Datensicherng des Containers funktioniert leider nicht, also backup von Proxmox 3.4 und dann restore auf 5.2.

Hier mal der Auszug aus dem restore-Vorgang:
----------------------------------------------
Formatting '/var/lib/vz/images/9000/vm-9000-disk-1.raw', fmt=raw size=42949672960
mke2fs 1.42.12 (29-Aug-2014)
Discarding device blocks: 4096/10485760 done
Creating filesystem with 10485760 4k blocks and 2621440 inodes
Filesystem UUID: 97e42a6b-e117-41e5-8387-6d91b9032924
Superblock backups stored on blocks:
32768, 98304, 163840, 229376, 294912, 819200, 884736, 1605632, 2654208,
4096000, 7962624

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

extracting archive '/mnt/pve/nas3/dump/vzdump-openvz-9000-2018_08_20-14_30_44.tar'
tar: ./mytmp: Cannot hard link to './dev/shm': No such file or directory
Total bytes read: 32174673920 (30GiB, 101MiB/s)
tar: Exiting with failure status due to previous errors
TASK ERROR: command 'tar xpf /mnt/pve/nas3/dump/vzdump-openvz-9000-2018_08_20-14_30_44.tar --totals --sparse --numeric-owner --acls --xattrs '--xattrs-include=user.*' '--xattrs-include=security.capability' '--warning=no-xattr-write' -C /var/lib/lxc/9000/rootfs --skip-old-files --anchored --exclude './dev/*'' failed: exit code 2
-------------------------------------------------
Kann mir irgendjemand einen Tip geben, was ich wie anders machen kann?

Gruß von der dänischen Grenze
Marc
 
Ok, die Lösung war dann doch recht simpel:
Container starten, Symlink /dev/shm löschen
Backup starten und dann per Restore auf dem neuen Host installieren
 

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!