五河琴里
Cadet
- Joined
- May 6, 2022
- Messages
- 1
Hello, I found out there are missing permission in the zfs pool. Problematic permissions are:
- No write permission at the root directory of the pool.
- Cannot create new dataset at the root directory. Newly created dataset is listed in the Storage tab but not mounted and unable to be mounted.(Operation not permitted)
- No R/W permission in some of the datasets. (Can't see any file on that dataset, just an empty directory, but it still occupies the disk space according to the "Storage" tab)
Any idea what could be causing this problem?
Thank you very much.
- No write permission at the root directory of the pool.
- Cannot create new dataset at the root directory. Newly created dataset is listed in the Storage tab but not mounted and unable to be mounted.(Operation not permitted)
Code:
Error: concurrent.futures.process._RemoteTraceback: """ Traceback (most recent call last): File "/usr/lib/python3/dist-packages/middlewared/plugins/zfs.py", line 927, in mount dataset.mount() File "libzfs.pyx", line 404, in libzfs.ZFS.__exit__ File "/usr/lib/python3/dist-packages/middlewared/plugins/zfs.py", line 927, in mount dataset.mount() File "libzfs.pyx", line 3812, in libzfs.ZFSDataset.mount libzfs.ZFSException: failed to create mountpoint: Operation not permitted During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.9/concurrent/futures/process.py", line 243, in _process_worker r = call_item.fn(*call_item.args, **call_item.kwargs) File "/usr/lib/python3/dist-packages/middlewared/worker.py", line 114, in main_worker res = MIDDLEWARE._run(*call_args) File "/usr/lib/python3/dist-packages/middlewared/worker.py", line 45, in _run return self._call(name, serviceobj, methodobj, args, job=job) File "/usr/lib/python3/dist-packages/middlewared/worker.py", line 39, in _call return methodobj(*params) File "/usr/lib/python3/dist-packages/middlewared/worker.py", line 39, in _call return methodobj(*params) File "/usr/lib/python3/dist-packages/middlewared/schema.py", line 1265, in nf return func(*args, **kwargs) File "/usr/lib/python3/dist-packages/middlewared/plugins/zfs.py", line 930, in mount raise CallError(f'Failed to mount dataset: {e}') middlewared.service_exception.CallError: [EFAULT] Failed to mount dataset: failed to create mountpoint: Operation not permitted """ The above exception was the direct cause of the following exception: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/middlewared/main.py", line 175, in call_method result = await self.middleware._call(message['method'], serviceobj, methodobj, params, app=self) File "/usr/lib/python3/dist-packages/middlewared/main.py", line 1257, in _call return await methodobj(*prepared_call.args) File "/usr/lib/python3/dist-packages/middlewared/service.py", line 920, in create rv = await self.middleware._call( File "/usr/lib/python3/dist-packages/middlewared/main.py", line 1257, in _call return await methodobj(*prepared_call.args) File "/usr/lib/python3/dist-packages/middlewared/schema.py", line 1129, in nf res = await f(*args, **kwargs) File "/usr/lib/python3/dist-packages/middlewared/schema.py", line 1261, in nf return await func(*args, **kwargs) File "/usr/lib/python3/dist-packages/middlewared/plugins/pool.py", line 3316, in do_create await self.middleware.call('zfs.dataset.mount', data['name']) File "/usr/lib/python3/dist-packages/middlewared/main.py", line 1308, in call return await self._call( File "/usr/lib/python3/dist-packages/middlewared/main.py", line 1265, in _call return await self._call_worker(name, *prepared_call.args) File "/usr/lib/python3/dist-packages/middlewared/main.py", line 1271, in _call_worker return await self.run_in_proc(main_worker, name, args, job) File "/usr/lib/python3/dist-packages/middlewared/main.py", line 1186, in run_in_proc return await self.run_in_executor(self.__procpool, method, *args, **kwargs) File "/usr/lib/python3/dist-packages/middlewared/main.py", line 1169, in run_in_executor return await loop.run_in_executor(pool, functools.partial(method, *args, **kwargs)) middlewared.service_exception.CallError: [EFAULT] Failed to mount dataset: failed to create mountpoint: Operation not permitted
Any idea what could be causing this problem?
Thank you very much.