I finally figured out my issue and what was going on with my server. The Metadata pool has write and read problems but I cant seam to remove it from my pool so I can replace it. I have even tired export the pool and re-importing it and still no change. is there a way to do it in shell?
Error: concurrent.futures.process._RemoteTraceback:
"""
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/middlewared/plugins/zfs.py", line 238, in __zfs_vdev_operation
op(target, *args) File "nvpair.pxi", line 404, in items
File "/usr/lib/python3/dist-packages/middlewared/plugins/zfs.py", line 238, in __zfs_vdev_operation
op(target, *args)
File "/usr/lib/python3/dist-packages/middlewared/plugins/zfs.py", line 251, in impl getattr(target, op)()
File "libzfs.pyx", line 2161, in libzfs.ZFSVdev.remove
libzfs.ZFSException: invalid config; all top-level vdevs must have the same sector size and not be raidz.
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 287, in remove
self.detach_remove_impl('remove', name, label, options)
File "/usr/lib/python3/dist-packages/middlewared/plugins/zfs.py", line 254, in detach_remove_impl
self.__zfs_vdev_operation(name, label, impl)
File "/usr/lib/python3/dist-packages/middlewared/plugins/zfs.py", line 240, in __zfs_vdev_operation
raise CallError(str(e), e.code)
middlewared.service_exception.CallError: [EZFS_INVALCONFIG] invalid config; all top-level vdevs must have the same sector size and not be raidz.
"""
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 423, in run
await self.future
File "/usr/lib/python3/dist-packages/middlewared/job.py", line 459, in __run_body
rv = await self.method(*([self] + args))
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/schema.py", line 1129, in nf
res = await f(*args, **kwargs)
File "/usr/lib/python3/dist-packages/middlewared/plugins/pool.py", line 1232, in remove
await self.middleware.call('zfs.pool.remove', pool['name'], found[1]['guid'])
File "/usr/lib/python3/dist-packages/middlewared/main.py", line 1318, in call
return await self._call( File "/usr/lib/python3/dist-packages/middlewared/main.py", line 1283, in _call
return await self._call_worker(name, *prepared_call.args)
File "/usr/lib/python3/dist-packages/middlewared/main.py", line 1289, in _call_worker
return await self.run_in_proc(main_worker, name, args, job)
File "/usr/lib/python3/dist-packages/middlewared/main.py", line 1212, 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 1186, in run_in_executor
return await loop.run_in_executor(pool, functools.partial(method, *args, **kwargs))
middlewared.service_exception.CallError: [EZFS_INVALCONFIG] invalid config; all top-level vdevs must have the same sector size and not be raidz.
Error: concurrent.futures.process._RemoteTraceback:
"""
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/middlewared/plugins/zfs.py", line 238, in __zfs_vdev_operation
op(target, *args) File "nvpair.pxi", line 404, in items
File "/usr/lib/python3/dist-packages/middlewared/plugins/zfs.py", line 238, in __zfs_vdev_operation
op(target, *args)
File "/usr/lib/python3/dist-packages/middlewared/plugins/zfs.py", line 251, in impl getattr(target, op)()
File "libzfs.pyx", line 2161, in libzfs.ZFSVdev.remove
libzfs.ZFSException: invalid config; all top-level vdevs must have the same sector size and not be raidz.
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 287, in remove
self.detach_remove_impl('remove', name, label, options)
File "/usr/lib/python3/dist-packages/middlewared/plugins/zfs.py", line 254, in detach_remove_impl
self.__zfs_vdev_operation(name, label, impl)
File "/usr/lib/python3/dist-packages/middlewared/plugins/zfs.py", line 240, in __zfs_vdev_operation
raise CallError(str(e), e.code)
middlewared.service_exception.CallError: [EZFS_INVALCONFIG] invalid config; all top-level vdevs must have the same sector size and not be raidz.
"""
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 423, in run
await self.future
File "/usr/lib/python3/dist-packages/middlewared/job.py", line 459, in __run_body
rv = await self.method(*([self] + args))
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/schema.py", line 1129, in nf
res = await f(*args, **kwargs)
File "/usr/lib/python3/dist-packages/middlewared/plugins/pool.py", line 1232, in remove
await self.middleware.call('zfs.pool.remove', pool['name'], found[1]['guid'])
File "/usr/lib/python3/dist-packages/middlewared/main.py", line 1318, in call
return await self._call( File "/usr/lib/python3/dist-packages/middlewared/main.py", line 1283, in _call
return await self._call_worker(name, *prepared_call.args)
File "/usr/lib/python3/dist-packages/middlewared/main.py", line 1289, in _call_worker
return await self.run_in_proc(main_worker, name, args, job)
File "/usr/lib/python3/dist-packages/middlewared/main.py", line 1212, 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 1186, in run_in_executor
return await loop.run_in_executor(pool, functools.partial(method, *args, **kwargs))
middlewared.service_exception.CallError: [EZFS_INVALCONFIG] invalid config; all top-level vdevs must have the same sector size and not be raidz.