Backup failed

Selter

Active Member
Nov 20, 2020
30
0
26
49
Hallo zusammen,

beim wöchentlichen Backup gab es bei einem Container Fehler - woran könnte es liegen?

INFO: Starting Backup of VM 251 (lxc)
INFO: Backup started at 2025-08-10 01:06:02
INFO: status = running
INFO: CT Name: unifiU
INFO: including mount point rootfs ('/') in backup
INFO: backup mode: snapshot
INFO: ionice priority: 7
INFO: create storage snapshot 'vzdump'
Logical volume "snap_vm-251-disk-1_vzdump" created.
INFO: creating vzdump archive '/mnt/pve/backupUSB/dump/vzdump-lxc-251-2025_08_10-01_06_02.tar.zst'
INFO: tar: ./lib/x86_64-linux-gnu/libsmartcols.so.1.1.0: File shrank by 112920 bytes; padding with zeros
INFO: tar: ./lib/x86_64-linux-gnu/security/pam_xauth.so: File shrank by 19000 bytes; padding with zeros
INFO: tar: ./lib/x86_64-linux-gnu/security/pam_mkhomedir.so: Read error at byte 0, while reading 4608 bytes: Input/output error
INFO: Total bytes written: 3533537280 (3.3GiB, 87MiB/s)
INFO: tar: Exiting with failure status due to previous errors
INFO: cleanup temporary 'vzdump' snapshot
Logical volume "snap_vm-251-disk-1_vzdump" successfully removed.
ERROR: Backup of VM 251 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/backupUSB/dump/vzdump-lxc-251-2025_08_10-01_06_02.tmp' ./etc/vzdump/pct.conf ./etc/vzdump/pct.fw '--directory=/mnt/vzsnap0' --no-anchored '--exclude=lost+found' --anchored '--exclude=./tmp/?*' '--exclude=./var/tmp/?*' '--exclude=./var/run/?*.pid' ./ | zstd '--threads=1' >/mnt/pve/backupUSB/dump/vzdump-lxc-251-2025_08_10-01_06_02.tar.dat' failed: exit code 2
INFO: Failed at 2025-08-10 01:06:42

Alle anderen VMs um CT werden problemlos gesichert.
 
Last edited:
INFO: tar: ./lib/x86_64-linux-gnu/security/pam_mkhomedir.so: Read error at byte 0, while reading 4608 bytes: Input/output error

Die Datei existiert? Und lässt sich im Container vollständig lesen? (cat /lib/x86_64-linux-gnu/security/pam_mkhomedir.so > /dev/null)

Ansonsten: Platte kaputt? ZFS mit Redundanz vorhanden?

Disclaimer: ich verwende (fast) keine Container.
 
Laut Fehleranalyse mit ChatGPT scheint die Quell-SSD Probleme zu haben:


Code:
Was das SMART-Output sagt (kurz)
“SMART overall-health: PASSED” → kein vollständiger Hardware-Total-Ausfall.

Aber Reported_Uncorrect (ID 187) hat den Raw-Wert 32 — das bedeutet, es gab bereits uncorrectable read errors (Schreib-/Lese-Fehler), also defekte Sektoren/Blöcke, die nicht korrigiert werden konnten.
Das passt zu deinen Input/output error-Meldungen bei tar.

Fazit: Die SSD ist nicht sofort tot, aber sie hat Lesefehler — Risiko für mehr Datenverlust. Handle jetzt so, als sei das Laufwerk gefährdet.



Dabei hatte ich extra eine WD-Red NAS M2 gekauft, die hat nur 11 Monate gehalten
 
Last edited:
Dabei hatte ich extra eine WD-Red NAS M2 gekauft, die hat nur 11 Monate gehalten
Das ist auch nur eine Prosumer SSD, welche nur geringfügig besser als eine normale Consumer SSD ist. Nur der Preis ist da deutlich unterschiedlich. ;)
Wenn du eine SSD haben möchtest, welche mit ZFS lange hält, entweder eine richtige Enterprise SSD nehmen, oder wenigstens auf PLP (Power Loss Protection) achten. Dann halten die auch viele Jahre.
 
  • Like
Reactions: Johannes S and UdoB