Fehler bei Backup-Job

Titanflex

Member
Jun 6, 2021
7
0
6
32
Hallo zusammen,

seit langer Zeit bekomme ich ein Fehler beim Backup-Job.


Code:
INFO: starting new backup job: vzdump 101 --storage test --notes-template '{{guestname}}' --mode snapshot --node pve --remove 0 --compress zstd
INFO: Starting Backup of VM 101 (lxc)
INFO: Backup started at 2023-08-05 16:02:32
INFO: status = running
INFO: CT Name: iobroker
INFO: including mount point rootfs ('/') in backup
INFO: found old vzdump snapshot (force removal)
  Logical volume "snap_vm-101-disk-0_vzdump" successfully removed
INFO: backup mode: snapshot
INFO: ionice priority: 7
INFO: create storage snapshot 'vzdump'
  Logical volume "snap_vm-101-disk-0_vzdump" created.
INFO: creating vzdump archive '/mnt/pve/test/dump/vzdump-lxc-101-2023_08_05-16_02_32.tar.zst'
INFO: tar: ./usr/lib/python3.7/encodings/cp65001.py: Cannot stat: Structure needs cleaning
INFO: tar: ./usr/lib/python3.7/encodings/cp720.py: Cannot stat: Structure needs cleaning
INFO: tar: ./usr/lib/sysusers.d: Cannot stat: Structure needs cleaning
INFO: tar: ./usr/lib/x86_64-linux-gnu/libpsl.so.5: Cannot stat: Structure needs cleaning
INFO: tar: ./usr/lib/python2.7/unittest: Cannot stat: Structure needs cleaning
INFO: tar: ./usr/lib/python2.7/compiler/consts.py: Cannot stat: Structure needs cleaning
INFO: tar: ./usr/lib/python2.7/compiler/ast.py: Cannot stat: Structure needs cleaning
INFO: tar: ./usr/lib/python2.7/compiler/future.py: Cannot stat: Structure needs cleaning
INFO: tar: ./usr/lib/python2.7/compiler/__init__.py: Cannot stat: Structure needs cleaning
INFO: tar: ./usr/lib/python2.7/compiler/syntax.py: Cannot stat: Structure needs cleaning
INFO: tar: ./usr/lib/python2.7/compiler/pyassem.py: Cannot stat: Structure needs cleaning
INFO: tar: ./usr/lib/python2.7/compiler/misc.py: Cannot stat: Structure needs cleaning
INFO: tar: ./usr/lib/python2.7/compiler/pycodegen.py: Cannot stat: Structure needs cleaning
INFO: tar: ./usr/lib/python2.7/compiler/visitor.py: Cannot stat: Structure needs cleaning
INFO: tar: ./usr/lib/python2.7/compiler/transformer.py: Cannot stat: Structure needs cleaning
INFO: tar: ./usr/lib/python2.7/compiler/symbols.py: Cannot stat: Structure needs cleaning
INFO: tar: ./usr/lib/python2.7/distutils: Cannot stat: Structure needs cleaning
INFO: tar: ./usr/lib/python2.7/ctypes/_endian.py: Cannot stat: Structure needs cleaning
INFO: tar: ./usr/lib/python2.7/ctypes/util.py: Cannot stat: Structure needs cleaning
INFO: tar: ./usr/lib/python2.7/ctypes/__init__.py: Cannot stat: Structure needs cleaning
INFO: tar: ./usr/lib/python2.7/ctypes/wintypes.py: Cannot stat: Structure needs cleaning
INFO: tar: ./usr/lib/python2.7/curses: Cannot stat: Structure needs cleaning
INFO: tar: ./usr/lib/python2.7/encodings/charmap.py: Cannot stat: Structure needs cleaning
INFO: tar: ./usr/lib/python2.7/encodings/cp1255.py: Cannot stat: Structure needs cleaning
INFO: tar: ./usr/lib/python2.7/encodings/cp1253.py: Cannot stat: Structure needs cleaning
INFO: tar: ./usr/lib/python2.7/encodings/ascii.py: Cannot stat: Structure needs cleaning
INFO: tar: ./usr/lib/python2.7/encodings/cp1026.py: Cannot stat: Structure needs cleaning
INFO: tar: ./usr/lib/python2.7/encodings/cp1006.py: Cannot stat: Structure needs cleaning
INFO: tar: ./usr/lib/python2.7/encodings/aliases.py: Cannot stat: Structure needs cleaning
INFO: tar: ./usr/lib/python2.7/encodings/aliases.pyc: Cannot stat: Structure needs cleaning
INFO: tar: ./usr/lib/python2.7/encodings/cp1251.py: Cannot stat: Structure needs cleaning
INFO: tar: ./usr/lib/python2.7/encodings/base64_codec.py: Cannot stat: Structure needs cleaning
INFO: tar: ./usr/lib/python2.7/encodings/big5hkscs.py: Cannot stat: Structure needs cleaning
INFO: tar: ./usr/lib/python2.7/encodings/__init__.py: Cannot stat: Structure needs cleaning
INFO: tar: ./usr/lib/python2.7/encodings/bz2_codec.py: Cannot stat: Structure needs cleaning
INFO: tar: ./usr/lib/python2.7/encodings/cp1252.py: Cannot stat: Structure needs cleaning
INFO: tar: ./usr/lib/python2.7/encodings/big5.py: Cannot stat: Structure needs cleaning
INFO: tar: ./usr/lib/python2.7/encodings/cp1250.py: Cannot stat: Structure needs cleaning
INFO: tar: ./usr/lib/python2.7/encodings/cp037.py: Cannot stat: Structure needs cleaning
INFO: tar: ./usr/lib/python2.7/encodings/cp1254.py: Cannot stat: Structure needs cleaning
INFO: tar: ./usr/lib/python2.7/encodings/cp1140.py: Cannot stat: Structure needs cleaning
INFO: tar: ./usr/lib/python2.7/importlib: Cannot stat: Structure needs cleaning
INFO: tar: ./usr/share/cmake-3.18/Help/prop_sf/COMPILE_FLAGS.rst: Cannot stat: Structure needs cleaning
INFO: cleanup temporary 'vzdump' snapshot
  Logical volume "snap_vm-101-disk-0_vzdump" successfully removed
ERROR: Backup of VM 101 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/test/dump/vzdump-lxc-101-2023_08_05-16_02_32.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 --rsyncable '--threads=1' >/mnt/pve/test/dump/vzdump-lxc-101-2023_08_05-16_02_32.tar.dat' failed: interrupted by signal
INFO: Failed at 2023-08-05 16:03:37
INFO: Backup job finished with errors
TASK ERROR: job errors

Was ist hier der Fehler. Ich komme einfach nicht damit klar.

Grüße
 
Hi,
Du könntest mal pct fsck 101 versuchen (geht nur bei gestopptem Container). Möglicherweise können diese Fehler durch den Check schon repariert werden.
 
Hi,
Du könntest mal pct fsck 101 versuchen (geht nur bei gestopptem Container). Möglicherweise können diese Fehler durch den Check schon repariert werden.
Hi

gerade ausprobiert, das kommt als Antwort

Code:
root@pve:~# pct fsck 101
fsck from util-linux 2.36.1
/dev/mapper/pve-vm--101--disk--0 contains a file system with errors, check forced.
/dev/mapper/pve-vm--101--disk--0: Inode 394337 seems to contain garbage. 

/dev/mapper/pve-vm--101--disk--0: UNEXPECTED INCONSISTENCY; RUN fsck MANUALLY.
        (i.e., without -a or -p options)
command 'fsck -a -l /dev/pve/vm-101-disk-0' failed: exit code 4
 
Das kling allerdings weniger gut. Kling nach einem Fehler, der nicht automatisch repariert werden kann.

Aus der man page (-a und -p machen das selbe bei ext4):
Code:
-p     Automatically repair ("preen") the file system.  This option will cause e2fsck to automatically fix any file system problems that can be safely fixed without human  intervention.   If  e2fsck
              discovers  a  problem  which may require the system administrator to take additional corrective action, e2fsck will print a description of the problem and then exit with the value 4 logically
              or'ed into the exit code.  (See the EXIT CODE section.)  This option is normally used by the system's boot scripts.  It may not be specified at the same time as the -n or -y options.

Du kannst fsck -l /dev/pve/vm-101-disk-0 versuchen, um vielleicht eine bessere Beschreibung des Problems zu bekommen.
 
  • Like
Reactions: Titanflex
Du kannst fsck -l /dev/pve/vm-101-disk-0 versuchen, um vielleicht eine bessere Beschreibung des Problems zu bekommen.
Hi,

ich habe diesen Befehl ausgeführt und danach noch
Code:
pct fsck 101
und nun scheint es wieder zu gehen.

Ich hoffe es bleibt so. Vielen Dank für die Hilfe :)
 

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!