Trouble importing ZFS share

Arashi0987

Cadet
Joined
Jun 25, 2023
Messages
1
Hi all,
I have ZFS Pool that I tried to export from Truenas and onto a proxmox server, but the proxmox server shows the pool as degraded and won't mount it showing this for the status:
pool: Atlantic
state: DEGRADED
status: One or more devices has experienced an error resulting in data
corruption. Applications may be affected.
action: Restore the file in question if possible. Otherwise restore the
entire pool from backup.
see: https://openzfs.github.io/openzfs-docs/msg/ZFS-8000-8A
scan: scrub repaired 0B in 05:01:04 with 0 errors on Sun Feb 18 05:01:06 2024
config:

NAME STATE READ WRITE CKSUM
Atlantic DEGRADED 0 0 0
raidz1-0 DEGRADED 0 0 0
54a1cf77-726f-11ed-b17e-04d4c4911d19 DEGRADED 0 0 4 too many errors
54996e87-726f-11ed-b17e-04d4c4911d19 DEGRADED 0 0 4 too many errors
5490cc51-726f-11ed-b17e-04d4c4911d19 DEGRADED 0 0 10 too many errors
54800e16-726f-11ed-b17e-04d4c4911d19 DEGRADED 0 0 10 too many errors

errors: Permanent errors have been detected in the following files:

Atlantic:<0x0>
Atlantic/vm-100-disk-0:<0x1>
Atlantic/iocage/jails:<0x0>

so I tried to import it back into my TrueNAS Scale server, but now I get this error:

Error: concurrent.futures.process._RemoteTraceback:
"""
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/middlewared/plugins/zfs.py", line 1064, in update_zfs_object_props
zfs_object.update_properties(properties)
File "libzfs.pyx", line 3516, in libzfs.ZFSResource.update_properties
libzfs.ZFSException: cannot set property for 'Atlantic': pool and or dataset must be upgraded to set this property or value

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 115, in main_worker
res = MIDDLEWARE._run(*call_args)
File "/usr/lib/python3/dist-packages/middlewared/worker.py", line 46, in _run
return self._call(name, serviceobj, methodobj, args, job=job)
File "/usr/lib/python3/dist-packages/middlewared/worker.py", line 40, in _call
return methodobj(*params)
File "/usr/lib/python3/dist-packages/middlewared/worker.py", line 40, in _call
return methodobj(*params)
File "/usr/lib/python3/dist-packages/middlewared/schema.py", line 1253, in nf
res = f(*args, **kwargs)
File "/usr/lib/python3/dist-packages/middlewared/schema.py", line 1383, in nf
return func(*args, **kwargs)
File "/usr/lib/python3/dist-packages/middlewared/plugins/zfs.py", line 1038, in do_update
self.update_zfs_object_props(properties, dataset)
File "libzfs.pyx", line 465, in libzfs.ZFS.__exit__
File "/usr/lib/python3/dist-packages/middlewared/plugins/zfs.py", line 1038, in do_update
self.update_zfs_object_props(properties, dataset)
File "/usr/lib/python3/dist-packages/middlewared/plugins/zfs.py", line 1066, in update_zfs_object_props
raise CallError(f'Failed to update properties: {e!r}')
middlewared.service_exception.CallError: [EFAULT] Failed to update properties: ZFSException("cannot set property for 'Atlantic': pool and or dataset must be upgraded to set this property or value")
"""

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/middlewared/job.py", line 427, in run
await self.future
File "/usr/lib/python3/dist-packages/middlewared/job.py", line 465, in __run_body
rv = await self.method(*([self] + args))
File "/usr/lib/python3/dist-packages/middlewared/schema.py", line 1379, in nf
return await func(*args, **kwargs)
File "/usr/lib/python3/dist-packages/middlewared/schema.py", line 1247, in nf
res = await f(*args, **kwargs)
File "/usr/lib/python3/dist-packages/middlewared/plugins/pool.py", line 1487, in import_pool
await self.middleware.call('zfs.dataset.update', pool_name, opts)
File "/usr/lib/python3/dist-packages/middlewared/main.py", line 1368, in call
return await self._call(
File "/usr/lib/python3/dist-packages/middlewared/main.py", line 1317, in _call
return await methodobj(*prepared_call.args)
File "/usr/lib/python3/dist-packages/middlewared/service.py", line 951, in update
rv = await self.middleware._call(
File "/usr/lib/python3/dist-packages/middlewared/main.py", line 1325, in _call
return await self._call_worker(name, *prepared_call.args)
File "/usr/lib/python3/dist-packages/middlewared/main.py", line 1331, in _call_worker
return await self.run_in_proc(main_worker, name, args, job)
File "/usr/lib/python3/dist-packages/middlewared/main.py", line 1246, 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 1231, in run_in_executor
return await loop.run_in_executor(pool, functools.partial(method, *args, **kwargs))
middlewared.service_exception.CallError: [EFAULT] Failed to update properties: ZFSException("cannot set property for 'Atlantic': pool and or dataset must be upgraded to set this property or value")


So I'm not sure how I can access this pool now. The Pool showed as healthy before I exported it, and I haven't moved the drives, so I doubt there's an actual physical problem with the drives.
Can someone help me figure out how I can get this pool imported again? Thanks
 
Top