-
-
Notifications
You must be signed in to change notification settings - Fork 814
Open
Labels
bad-filesystem-issueissues caused by using a misbehaved/buggy filesystemissues caused by using a misbehaved/buggy filesystemquestion
Description
I'm running the following command:
borg init --encryption=none /mnt/nas/repo_borg/bin
But I have the following error:
Local Exception
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/borg/archiver.py", line 5401, in main
exit_code = archiver.run(args)
^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3/dist-packages/borg/archiver.py", line 5321, in run
return set_ec(func(args))
^^^^^^^^^^
File "/usr/lib/python3/dist-packages/borg/archiver.py", line 190, in wrapper
return method(self, args, repository=repository, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3/dist-packages/borg/archiver.py", line 296, in do_init
repository.commit(compact=False)
File "/usr/lib/python3/dist-packages/borg/repository.py", line 506, in commit
self.write_index()
File "/usr/lib/python3/dist-packages/borg/repository.py", line 633, in write_index
transaction_id = self.io.get_segments_transaction_id()
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3/dist-packages/borg/repository.py", line 1379, in get_segments_transaction_id
if self.is_committed_segment(segment):
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3/dist-packages/borg/repository.py", line 1413, in is_committed_segment
if fd.read(self.header_fmt.size) != self.COMMIT:
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
OSError: [Errno 61] No data available
Borg: 1.2.8 Python: CPython 3.12.3 msgpack: 1.0.3 fuse: None [pyfuse3,llfuse]
PID: 19254 CWD: /home/marco/bin
sys.argv: ['/usr/bin/borg', 'init', '--encryption=none', '/mnt/nas/repo_borg/bin']
SSH_ORIGINAL_COMMAND: None
I don't have the error if I launch the same command on a usb hard diskk connected directly to the laptop.
Metadata
Metadata
Assignees
Labels
bad-filesystem-issueissues caused by using a misbehaved/buggy filesystemissues caused by using a misbehaved/buggy filesystemquestion