David Henrickson
Explorer
- Joined
- Jul 26, 2017
- Messages
- 93
Hello and thank you in advance!
I got a warning that my boot pool (single USB) has degraded already (first FreeNAS install was August 2018, so much for longevity on this Kingston DataTraveler 16Gb 3.0). I have added another Kingston and told it to mirror. It did. Then I tried to remove the other at what seemed like a 12 hour re-sliver and it wouldn't boot now off of the new one. I reinstalled the degraded on and it worked just fine, albeit still degraded. I installed then a 3rd to replace the degraded on and keep the other as a mirror. I cannot get any of the new ones to just take over the responsibilities of the boot...so, I feel that they are pointless at this point. How can I remove the old one? I keep getting some screwed up error. Here is the error:
Error: Traceback (most recent call last):
File "/usr/local/lib/python3.6/site-packages/middlewared/plugins/zfs.py", line 145, in detach
target.detach()
File "libzfs.pyx", line 370, in libzfs.ZFS.__exit__
File "/usr/local/lib/python3.6/site-packages/middlewared/plugins/zfs.py", line 145, in detach
target.detach()
File "libzfs.pyx", line 1329, in libzfs.ZFSVdev.detach
libzfs.ZFSException: Can detach disks from mirrors and spares only
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/local/lib/python3.6/site-packages/middlewared/main.py", line 161, in call_method
result = await self.middleware.call_method(self, message)
File "/usr/local/lib/python3.6/site-packages/middlewared/main.py", line 1109, in call_method
return await self._call(message['method'], serviceobj, methodobj, params, app=app, io_thread=False)
File "/usr/local/lib/python3.6/site-packages/middlewared/main.py", line 1049, in _call
return await methodobj(*args)
File "/usr/local/lib/python3.6/site-packages/middlewared/schema.py", line 664, in nf
return await f(*args, **kwargs)
File "/usr/local/lib/python3.6/site-packages/middlewared/plugins/boot.py", line 187, in detach
await self.middleware.call('zfs.pool.detach', 'freenas-boot', dev)
File "/usr/local/lib/python3.6/site-packages/middlewared/main.py", line 1113, in call
return await self._call(name, serviceobj, methodobj, params, app=app, pipes=pipes, io_thread=True)
File "/usr/local/lib/python3.6/site-packages/middlewared/main.py", line 1063, in _call
return await run_method(methodobj, *args)
File "/usr/local/lib/python3.6/site-packages/middlewared/main.py", line 1009, in run_in_thread
return await self.loop.run_in_executor(executor, functools.partial(method, *args, **kwargs))
File "/usr/local/lib/python3.6/concurrent/futures/thread.py", line 56, in run
result = self.fn(*self.args, **self.kwargs)
File "/usr/local/lib/python3.6/site-packages/middlewared/schema.py", line 668, in nf
return f(*args, **kwargs)
File "/usr/local/lib/python3.6/site-packages/middlewared/plugins/zfs.py", line 147, in detach
raise CallError(str(e), e.code)
middlewared.service_exception.CallError: [EUNKNOWN] Can detach disks from mirrors and spares only
Not fully sure what this means. I have also attached a screenshot of what my boot pool looks like. Suggestions? The photo shows part of my boot pool is "unavailable." This I know. I just unplugged the USB. This happens whether its in or isn't so I ruled that out.
I got a warning that my boot pool (single USB) has degraded already (first FreeNAS install was August 2018, so much for longevity on this Kingston DataTraveler 16Gb 3.0). I have added another Kingston and told it to mirror. It did. Then I tried to remove the other at what seemed like a 12 hour re-sliver and it wouldn't boot now off of the new one. I reinstalled the degraded on and it worked just fine, albeit still degraded. I installed then a 3rd to replace the degraded on and keep the other as a mirror. I cannot get any of the new ones to just take over the responsibilities of the boot...so, I feel that they are pointless at this point. How can I remove the old one? I keep getting some screwed up error. Here is the error:
Error: Traceback (most recent call last):
File "/usr/local/lib/python3.6/site-packages/middlewared/plugins/zfs.py", line 145, in detach
target.detach()
File "libzfs.pyx", line 370, in libzfs.ZFS.__exit__
File "/usr/local/lib/python3.6/site-packages/middlewared/plugins/zfs.py", line 145, in detach
target.detach()
File "libzfs.pyx", line 1329, in libzfs.ZFSVdev.detach
libzfs.ZFSException: Can detach disks from mirrors and spares only
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/local/lib/python3.6/site-packages/middlewared/main.py", line 161, in call_method
result = await self.middleware.call_method(self, message)
File "/usr/local/lib/python3.6/site-packages/middlewared/main.py", line 1109, in call_method
return await self._call(message['method'], serviceobj, methodobj, params, app=app, io_thread=False)
File "/usr/local/lib/python3.6/site-packages/middlewared/main.py", line 1049, in _call
return await methodobj(*args)
File "/usr/local/lib/python3.6/site-packages/middlewared/schema.py", line 664, in nf
return await f(*args, **kwargs)
File "/usr/local/lib/python3.6/site-packages/middlewared/plugins/boot.py", line 187, in detach
await self.middleware.call('zfs.pool.detach', 'freenas-boot', dev)
File "/usr/local/lib/python3.6/site-packages/middlewared/main.py", line 1113, in call
return await self._call(name, serviceobj, methodobj, params, app=app, pipes=pipes, io_thread=True)
File "/usr/local/lib/python3.6/site-packages/middlewared/main.py", line 1063, in _call
return await run_method(methodobj, *args)
File "/usr/local/lib/python3.6/site-packages/middlewared/main.py", line 1009, in run_in_thread
return await self.loop.run_in_executor(executor, functools.partial(method, *args, **kwargs))
File "/usr/local/lib/python3.6/concurrent/futures/thread.py", line 56, in run
result = self.fn(*self.args, **self.kwargs)
File "/usr/local/lib/python3.6/site-packages/middlewared/schema.py", line 668, in nf
return f(*args, **kwargs)
File "/usr/local/lib/python3.6/site-packages/middlewared/plugins/zfs.py", line 147, in detach
raise CallError(str(e), e.code)
middlewared.service_exception.CallError: [EUNKNOWN] Can detach disks from mirrors and spares only
Not fully sure what this means. I have also attached a screenshot of what my boot pool looks like. Suggestions? The photo shows part of my boot pool is "unavailable." This I know. I just unplugged the USB. This happens whether its in or isn't so I ruled that out.