VM/CT Backup failed

Buddinski88

Member
Sep 21, 2019
22
2
23
35
Guten Abend zusammen,

ich arbeite zwar schon länger (Server läuft seit ca. 1 1/4 Jahren) mit Proxmox VE, aber ich bezeiche mich noch als Anfänger.
Aktuell schreibe ich meine Backups der Container Montag und Freitag Nachts auf meine Synology DS218+, aber es kommt immer folgender Fehler.
Ich bin mir ziemlich sicher das es mit der Konfiguration zu tun hat, welche ich zu Beginn falsch gemacht habe.

Anbei mal die Fehlermeldung:

Code:
INFO: starting new backup job: vzdump --all 1 --storage diskstation --mode snapshot --quiet 1 --compress lzo --mailnotification always
INFO: Starting Backup of VM 100 (lxc)
INFO: Backup started at 2020-01-24 00:00:02
INFO: status = running
INFO: CT Name: ioBroker-prod
INFO: backup mode: snapshot
INFO: ionice priority: 7
INFO: create storage snapshot 'vzdump'
  Logical volume "snap_vm-100-disk-0_vzdump" created.
  WARNING: Sum of all thin volume sizes (<24.04 TiB) exceeds the size of thin pool pve/data and the size of whole volume group (<223.32 GiB).
INFO: creating archive '/mnt/pve/diskstation/dump/vzdump-lxc-100-2020_01_24-00_00_02.tar.lzo'
INFO: Total bytes written: 4253757440 (4.0GiB, 50MiB/s)
INFO: archive file size: 2.33GB
INFO: delete old backup '/mnt/pve/diskstation/dump/vzdump-lxc-100-2020_01_03-00_00_01.tar.lzo'
INFO: remove vzdump snapshot
  Logical volume "snap_vm-100-disk-0_vzdump" successfully removed
INFO: Finished Backup of VM 100 (00:01:28)
INFO: Backup finished at 2020-01-24 00:01:30
INFO: Starting Backup of VM 120 (lxc)
INFO: Backup started at 2020-01-24 00:01:30
INFO: status = running
INFO: CT Name: awtrix-host
INFO: backup mode: snapshot
INFO: ionice priority: 7
INFO: create storage snapshot 'vzdump'
  Logical volume "snap_vm-120-disk-0_vzdump" created.
  WARNING: Sum of all thin volume sizes (<12.05 TiB) exceeds the size of thin pool pve/data and the size of whole volume group (<223.32 GiB).
INFO: creating archive '/mnt/pve/diskstation/dump/vzdump-lxc-120-2020_01_24-00_01_30.tar.lzo'
INFO: Total bytes written: 1872312320 (1.8GiB, 94MiB/s)
INFO: archive file size: 1021MB
INFO: delete old backup '/mnt/pve/diskstation/dump/vzdump-lxc-120-2020_01_03-00_01_19.tar.lzo'
INFO: remove vzdump snapshot
  Logical volume "snap_vm-120-disk-0_vzdump" successfully removed
INFO: Finished Backup of VM 120 (00:00:23)
INFO: Backup finished at 2020-01-24 00:01:53
INFO: Starting Backup of VM 150 (lxc)
INFO: Backup started at 2020-01-24 00:01:53
INFO: status = running
INFO: CT Name: grafana
INFO: backup mode: snapshot
INFO: ionice priority: 7
INFO: create storage snapshot 'vzdump'
  Logical volume "snap_vm-150-disk-0_vzdump" created.
  WARNING: Sum of all thin volume sizes (<12.05 TiB) exceeds the size of thin pool pve/data and the size of whole volume group (<223.32 GiB).
INFO: creating archive '/mnt/pve/diskstation/dump/vzdump-lxc-150-2020_01_24-00_01_53.tar.lzo'
INFO: tar: /mnt/pve/diskstation/dump/vzdump-lxc-150-2020_01_24-00_01_53.tmp: Cannot open: Permission denied
INFO: tar: Error is not recoverable: exiting now
INFO: remove vzdump snapshot
  Logical volume "snap_vm-150-disk-0_vzdump" successfully removed
ERROR: Backup of VM 150 failed - command 'set -o pipefail && lxc-usernsexec -m u:0:100000:65536 -m g:0:100000:65536 -- tar cpf - --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' --one-file-system '--warning=no-file-ignored' '--directory=/mnt/pve/diskstation/dump/vzdump-lxc-150-2020_01_24-00_01_53.tmp' ./etc/vzdump/pct.conf '--directory=/mnt/vzsnap0' --no-anchored '--exclude=lost+found' --anchored '--exclude=./tmp/?*' '--exclude=./var/tmp/?*' '--exclude=./var/run/?*.pid' ./ | lzop >/mnt/pve/diskstation/dump/vzdump-lxc-150-2020_01_24-00_01_53.tar.dat' failed: exit code 2
INFO: Failed at 2020-01-24 00:01:54
INFO: Starting Backup of VM 300 (lxc)
INFO: Backup started at 2020-01-24 00:01:54
INFO: status = running
INFO: CT Name: influxdb
INFO: backup mode: snapshot
INFO: ionice priority: 7
INFO: create storage snapshot 'vzdump'
  Logical volume "snap_vm-300-disk-0_vzdump" created.
  WARNING: Sum of all thin volume sizes (<12.05 TiB) exceeds the size of thin pool pve/data and the size of whole volume group (<223.32 GiB).
INFO: creating archive '/mnt/pve/diskstation/dump/vzdump-lxc-300-2020_01_24-00_01_54.tar.lzo'
INFO: tar: /mnt/pve/diskstation/dump/vzdump-lxc-300-2020_01_24-00_01_54.tmp: Cannot open: Permission denied
INFO: tar: Error is not recoverable: exiting now
INFO: remove vzdump snapshot
  Logical volume "snap_vm-300-disk-0_vzdump" successfully removed
ERROR: Backup of VM 300 failed - command 'set -o pipefail && lxc-usernsexec -m u:0:100000:65536 -m g:0:100000:65536 -- tar cpf - --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' --one-file-system '--warning=no-file-ignored' '--directory=/mnt/pve/diskstation/dump/vzdump-lxc-300-2020_01_24-00_01_54.tmp' ./etc/vzdump/pct.conf '--directory=/mnt/vzsnap0' --no-anchored '--exclude=lost+found' --anchored '--exclude=./tmp/?*' '--exclude=./var/tmp/?*' '--exclude=./var/run/?*.pid' ./ | lzop >/mnt/pve/diskstation/dump/vzdump-lxc-300-2020_01_24-00_01_54.tar.dat' failed: exit code 2
INFO: Failed at 2020-01-24 00:01:55
INFO: Starting Backup of VM 310 (lxc)
INFO: Backup started at 2020-01-24 00:01:55
INFO: status = running
INFO: CT Name: mysql
INFO: backup mode: snapshot
INFO: ionice priority: 7
INFO: create storage snapshot 'vzdump'
  Logical volume "snap_vm-310-disk-0_vzdump" created.
  WARNING: Sum of all thin volume sizes (<12.05 TiB) exceeds the size of thin pool pve/data and the size of whole volume group (<223.32 GiB).
INFO: creating archive '/mnt/pve/diskstation/dump/vzdump-lxc-310-2020_01_24-00_01_55.tar.lzo'
INFO: tar: /mnt/pve/diskstation/dump/vzdump-lxc-310-2020_01_24-00_01_55.tmp: Cannot open: Permission denied
INFO: tar: Error is not recoverable: exiting now
INFO: remove vzdump snapshot
  Logical volume "snap_vm-310-disk-0_vzdump" successfully removed
ERROR: Backup of VM 310 failed - command 'set -o pipefail && lxc-usernsexec -m u:0:100000:65536 -m g:0:100000:65536 -- tar cpf - --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' --one-file-system '--warning=no-file-ignored' '--directory=/mnt/pve/diskstation/dump/vzdump-lxc-310-2020_01_24-00_01_55.tmp' ./etc/vzdump/pct.conf '--directory=/mnt/vzsnap0' --no-anchored '--exclude=lost+found' --anchored '--exclude=./tmp/?*' '--exclude=./var/tmp/?*' '--exclude=./var/run/?*.pid' ./ | lzop >/mnt/pve/diskstation/dump/vzdump-lxc-310-2020_01_24-00_01_55.tar.dat' failed: exit code 2
INFO: Failed at 2020-01-24 00:01:55
INFO: Backup job finished with errors

TASK ERROR: job errors

So wie ich es verstehe geht es um die Aufteilung der Festplatte für den "Server" selber?

Zur Info es handelt sich um einen Dell Optiplex 3050 Micro PC, 250 GB SSD. Darauf laufen 5 Container (ioBroker, mysql, grafana, influxdb, ...).

Ich wäre euch sehr dankbar über etwas Hilfe wie ich den Server ggf. neu aufsetze bzw. die Konfiguration im Betrieb anpassen.

Vielen Dank und Grüße,
Buddinski88
 
hi,


Code:
INFO: tar: /mnt/pve/diskstation/dump/vzdump-lxc-150-2020_01_24-00_01_53.tmp: Cannot open: Permission denied
INFO: tar: Error is not recoverable: exiting now

den obigen fehler kannst du vielleicht beheben, indem du die tmpdir option in /etc/vzdump.conf setzt.
was fuer ein storage hast du fuer diskstation?

Code:
INFO: create storage snapshot 'vzdump'
  Logical volume "snap_vm-310-disk-0_vzdump" created.
  WARNING: Sum of all thin volume sizes (<12.05 TiB) exceeds the size of thin pool pve/data and the size of whole volume group (<223.32 GiB).
INFO: creating archive '/mnt/pve/diskstation/dump/vzdump-lxc-310-2020_01_24-00_01_55.tar.lzo'

dieser ist kein "fehler" sozusagen, es ist nur eine warnung, dass du deinen guests mehr speicherplatz gegeben hast, als es tatsaechlich auf dem host gibt. das geht wegen thin provisioning, aber man muss trotzdem aufpassen dass der (eigentlich) belegte speicherplatz ausreicht.
 
Danke Oguz, für deine Antwort.

Die Diskstation habe ich mittels NFS eingebunden. Meinst du ich soll dort den Pfad für das tmpdir anlegen?

Geht es nicht dem Host mehr Speicherplatz zuzuweisen?
 
Die Diskstation habe ich mittels NFS eingebunden. Meinst du ich soll dort den Pfad für das tmpdir anlegen?
ja, lege einen pfad auf deinem localen host z.b., um zu testen ob es so geht.
 
ja, lege einen pfad auf deinem localen host z.b., um zu testen ob es so geht.

Sorry war jetzt leider die ganze Woche krank. Ich hab es eben mal getestet und auf meine Diskstation das tmpdir angegeben. Jetzt geht es :)
Die Performance ist jetzt gar nicht viel schlechter und daher zur Sicherheit noch die Frage ob das ein sinnvoller Workarround ist oder ob ich doch meinen Proxmox-Server neu konfigurieren sollte sprich, die Aufteilung der Platte?
 

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!