I have set up replication between 2 truenas 25.04 systems. The replication succeeded, but I cannot access the replicated dataset?
The replication task:
admin account settings:
SSH+Keypair is set up, connecting through Tailscale.
The real troubles show at the remote system, when I click the dataset I replicated, I get the error message: [Errno 5] Input/output error
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/middlewared/api/base/server/ws_handler/rpc.py", line 323, in process_method_call
result = await method.call(app, params)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3/dist-packages/middlewared/api/base/server/method.py", line 40, in call
result = await self.middleware.call_with_audit(self.name, self.serviceobj, methodobj, params, app)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3/dist-packages/middlewared/main.py", line 883, in call_with_audit
result = await self._call(method, serviceobj, methodobj, params, app=app,
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3/dist-packages/middlewared/main.py", line 703, in _call
return await self.run_in_executor(prepared_call.executor, methodobj, *prepared_call.args)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3/dist-packages/middlewared/main.py", line 596, in run_in_executor
return await loop.run_in_executor(pool, functools.partial(method, *args, **kwargs))
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.11/concurrent/futures/thread.py", line 58, in run
result = self.fn(*self.args, **self.kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3/dist-packages/middlewared/api/base/decorator.py", line 96, in wrapped
result = func(*args)
^^^^^^^^^^^
File "/usr/lib/python3/dist-packages/middlewared/plugins/filesystem.py", line 377, in stat
st = stat_x.statx_entry_impl(path, None)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3/dist-packages/middlewared/utils/filesystem/stat_x.py", line 178, in statx_entry_impl
out['st'] = statx(
^^^^^^
File "/usr/lib/python3/dist-packages/middlewared/utils/filesystem/stat_x.py", line 148, in statx
raise OSError(err, os.strerror(err))
OSError: [Errno 5] Input/output error
I am unable to delete the dataset, the CLI also shows weird stuff:
root@truenas[/mnt/NAS]# ll
ls: cannot access 'Videobanden': Input/output error
total 13
drwxr-xr-x 4 root 4 May 18 15:53 ./
drwxr-xr-x 4 root 4 May 17 05:39 ../
d????????? ? ? ? ? Videobanden/
drwxrwx--- 8 admin 8 Jul 25 2024 backup/
chown/mhmod give me the same errors.
How can I fix this? It did replicate, but seemingly with wrong permissions?