Getting error while borg check... Faulty Disk?

  • Hi guys,

    i run into a weird problem atm. I have a OMV System at my parents house for backup purposes. They run every night via borg over SSH. Which still works fine.


    A couple of days ago I received a system mail by that system indicating corruption errors.

    I then tried to borg check the repo which resulted in an error and stopped: I/O Error.


    Today i ran smart for the drive and btrfs start to check what is going on.

    The SMART overview shows good Status for the drive.

    The btrfs start command gets aborted after 25min and notes 20 ununcorrectable errors.


    brtfs scrub:


    SMART:


    So i guess my HDD might be broken? I am not sure if that is the case, because i can still write on the drive and access files.

    Should i look for the cables again? Swap the drive?


    Can you guys help me in what the specific problem is and what i should do next? Any help is appreciated!


    Best regards

    Tom

  • borg check:

    Code
    borg check /srv/dev-disk-by-uuid XYZ --save-space
    Local Exception
    Traceback (most recent call last):  File "/usr/lib/python3/dist-packages/borg/archiver.py", line 5213, in main    exit_code = archiver.run(args)                ^^^^^^^^^^^^^^^^^^  File "/usr/lib/python3/dist-packages/borg/archiver.py", line 5144, in run    return set_ec(func(args))                  ^^^^^^^^^^  File "/usr/lib/python3/dist-packages/borg/archiver.py", line 183, in wrapper    return method(self, args, repository=repository, **kwargs)           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^  File "/usr/lib/python3/dist-packages/borg/archiver.py", line 343, in do_check    if not repository.check(repair=args.repair, save_space=args.save_space, max_duration=args.max_duration):           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^  File "/usr/lib/python3/dist-packages/borg/repository.py", line 1039, in check    objects = list(self.io.iter_objects(segment))              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^  File "/usr/lib/python3/dist-packages/borg/repository.py", line 1512, in iter_objects    size, tag, key, data = self._read(fd, self.header_fmt, header, segment, offset,                           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^  File "/usr/lib/python3/dist-packages/borg/repository.py", line 1606, in _read    data = fd.read(length)           ^^^^^^^^^^^^^^^
    OSError: [Errno 5] Input/output error
    
    Platform: Linux 6.1.0-31-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.128-1 (2025-02-07) x86_64
    Linux: Unknown Linux  Borg: 1.2.4  Python: CPython 3.11.2 msgpack: 1.0.3 fuse: None [pyfuse3,llfuse]
    PID: 132859  CWD: /root
    sys.argv: ['/usr/bin/borg', 'check', '/srv/dev-disk-by-uuid- XYZ', '--save-space']
    SSH_ORIGINAL_COMMAND: None

Participate now!

Don’t have an account yet? Register yourself now and be a part of our community!