I have two disk that became unavailable after I by mistake removed the drives... yea I know pretty stupid of me!
The pool is RAIDZ2 and encrypted. It is working but degraded.
What should I do?
If I try to take the disks online or replace them I get the following error message:
Any help is much appreciated.
The pool is RAIDZ2 and encrypted. It is working but degraded.
What should I do?
Code:
root@nas[~]# zpool status storagepool
pool: storagepool
state: DEGRADED
status: One or more devices could not be opened. Sufficient replicas exist for
the pool to continue functioning in a degraded state.
action: Attach the missing device and online it using 'zpool online'.
see: http://illumos.org/msg/ZFS-8000-2Q
scan: scrub repaired 832K in 0 days 07:20:33 with 0 errors on Sun Jan 19 07:20:34 2020
config:
NAME STATE READ WRITE CKSUM
storagepool DEGRADED 0 0 0
raidz2-0 DEGRADED 0 0 0
gptid/5613e975-aee3-11e9-9fbd-000c29ee2069.eli ONLINE 0 0 0
gptid/5831da4a-aee3-11e9-9fbd-000c29ee2069.eli ONLINE 0 0 0
gptid/5a699763-aee3-11e9-9fbd-000c29ee2069.eli ONLINE 0 0 0
3737989742100079509 UNAVAIL 0 0 0 was /dev/gptid/4bbd87aa-d4ba-11e9-9716-000c29ee2069.eli
gptid/5eb3d5de-aee3-11e9-9fbd-000c29ee2069.eli ONLINE 0 0 0
3228546123072300007 UNAVAIL 0 0 0 was /dev/gptid/60b6bd83-aee3-11e9-9fbd-000c29ee2069.eli
errors: No known data errorsIf I try to take the disks online or replace them I get the following error message:
Code:
Error: Traceback (most recent call last):
File "/usr/local/lib/python3.6/site-packages/tastypie/resources.py", line 219, in wrapper
response = callback(request, *args, **kwargs)
File "./freenasUI/api/resources.py", line 892, in online_disk
notifier().zfs_online_disk(obj, deserialized.get('label'))
File "./freenasUI/middleware/notifier.py", line 1084, in zfs_online_disk
raise MiddlewareError('Disk cannot be set to online in encrypted pool.')
freenasUI.middleware.exceptions.MiddlewareError: [MiddlewareError: Disk cannot be set to online in encrypted pool.]
Any help is much appreciated.