impossible restore backup

Dec 31, 2019
35
0
11
37
Hello everyone.
I have a problem to restore a backup.
my backup was made on a version 5.4 and I want to restore it on a version 6.1
during the restoration, I have the errors below:
extracting archive '/mnt/pve/Backup-VM/dump/vzdump-lxc-119-2020_01_23-09_02_42.tar.lzo'
tar: ./var/log/syslog-ng/logs.txt: Cannot write: No space left on device
tar: ./var/log/syslog.1: Cannot write: No space left on device
tar: ./var/log/mail.log.1: Cannot write: No space left on device
tar: ./var/log/alternatives.log.1: Cannot write: No space left on device
tar: ./var/log/apt: Cannot mkdir: No space left on device
...
...
...
tar: Exiting with failure status due to previous errors
TASK ERROR: unable to restore CT 138 - 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/138/rootfs --skip-old-files --anchored --exclude './dev/*'' failed: exit code 2

can you help me.
Thank you.
Anthony
 
Hello everyone.
I have a problem to restore a backup.
my backup was made on a version 5.4 and I want to restore it on a version 6.1
during the restoration, I have the errors below:
extracting archive '/mnt/pve/Backup-VM/dump/vzdump-lxc-119-2020_01_23-09_02_42.tar.lzo'
tar: ./var/log/syslog-ng/logs.txt: Cannot write: No space left on device
tar: ./var/log/syslog.1: Cannot write: No space left on device
tar: ./var/log/mail.log.1: Cannot write: No space left on device
tar: ./var/log/alternatives.log.1: Cannot write: No space left on device
tar: ./var/log/apt: Cannot mkdir: No space left on device
...
...
...
tar: Exiting with failure status due to previous errors
TASK ERROR: unable to restore CT 138 - 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/138/rootfs --skip-old-files --anchored --exclude './dev/*'' failed: exit code 2

can you help me.
Thank you.
Anthony
Hi,
as you can see from the error messages there is no space left on the storage you try to restore the CT to. Make sure to free some space or extend the storage space in order for the CT to fit or choose a different storage.
 
Hi,
as you can see from the error messages there is no space left on the storage you try to restore the CT to. Make sure to free some space or extend the storage space in order for the CT to fit or choose a different storage.

thanks to return,

i have a space in my disk
10.XX.XX.XX:/volume1/backup-VM 27T 4.7T 22T 18% /mnt/pve/Backup-VM
 
Did you run out of inodes? df -ih
 
Did you run out of inodes? df -ih


here is my result of the df -ih command

Filesystem Inodes IUsed IFree IUse% Mounted on
udev 16M 597 16M 1% /dev
tmpfs 16M 1.1K 16M 1% /run
/dev/mapper/pve-root 3.8M 82K 3.7M 3% /
tmpfs 16M 129 16M 1% /dev/shm
tmpfs 16M 18 16M 1% /run/lock
tmpfs 16M 18 16M 1% /sys/fs/cgroup
/dev/nvme0n1p2 0 0 0 - /boot/efi
/dev/fuse 9.8K 115 9.7K 2% /etc/pve
tmpfs 16M 8 16M 1% /var/lib/ceph/osd/ceph-3
tmpfs 16M 8 16M 1% /var/lib/ceph/osd/ceph-0
tmpfs 16M 8 16M 1% /var/lib/ceph/osd/ceph-1
tmpfs 16M 8 16M 1% /var/lib/ceph/osd/ceph-2
10.XX.XX.XX:/volume1/Data-VM 0 0 0 - /mnt/pve/data-syno
10.XX.XX.XX:/volume1/backup-VM 0 0 0 - /mnt/pve/Backup-VM
10.XX.XX.XX:/volume1/backup-proxmox 437M 51K 437M 1% /mnt/pve/Backup-VM-NAS10T

what is Inode?

Thx.
Anthony
 
Inodes are the organizational datastructures used by the filesystem to reference data and store metadata https://en.wikipedia.org/wiki/Inode
But according to the output you send, there is plenty left, so no problem there.
Do you have write permissions on the mount you are trying to restore to? Please post the output of cat /etc/pve/storage.cfg and the full log of the failed restore (in coding brackets so we do not loose the formatting).
 
thanks for these informations.

below the storage.cfg cat

root @ pxe1-infra: ~ # cat /etc/pve/storage.cfg
dir: local
path / var / lib / vz
content snippets, iso, images, vztmpl, rootdir
shared 0

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

rbd: data-ssd
content images, rootdir
krbd 0
data-ssd pool

nfs: data-syno
export / volume1 / Data-VM
path / mnt / pve / data-syno
server 10.XX.XX.XX
content images, vztmpl, rootdir, backup, iso
maxfiles 1

nfs: Backup-VM
export / volume1 / backup-VM
path / mnt / pve / Backup-VM
server 10.XX.XX.XX
content backup
maxfiles 5

nfs: Backup-VM-NAS10T
export / volume1 / backup-proxmox
path / mnt / pve / Backup-VM-NAS10T
server 10.XX.XX.XX
content iso, backup
maxfiles 1
 
From where to where are you trying to restore? The storage "Backup-VM" is not configured to hold anything except backups. Please post the full output of the restore.
 
my backup file .tar.lzo is on / mnt / pve / Backup-VM
I restore it on my CEPH from the GUI interface

attached a TXT file with the ouput log, I deleted a lot of lines which are the same error of "No space left on device"
 

Attachments

I have the same log with the command below

pct restore 138 /mnt/pve/Backup-VM/dump/vzdump-lxc-119-2020_01_23-09_02_42.tar.lzo --rootfs data-ssd:50
Have you also tried to restore with a larger disk? What's the output of ceph df?
 

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!