I have 4 disks in a RAIDZ with geli encryption. I'm currently running FreeNAS 11.2. I'm posting here because their forum doesn't have a great reputation.
One of them has been having issues so I decided to pull it and run a quick test to verify things.
without thinking I decided to offline the disk, pull it out and do my test on the desktop computer.
Long story short, in my frustration I seem to have taken the wrong disk offline, and the bad disk is not responding, so I have insufficient replicas for the pool to be imported.
when I run
I think this is way more info than I need to give when the answer is probably as simple as a 1 line command, nevertheless, I would rather give you too much info than not enough.
This is /var/log/messages during an attempted mount
One of them has been having issues so I decided to pull it and run a quick test to verify things.
without thinking I decided to offline the disk, pull it out and do my test on the desktop computer.
Long story short, in my frustration I seem to have taken the wrong disk offline, and the bad disk is not responding, so I have insufficient replicas for the pool to be imported.
when I run
zpool online -e pool disk
it says there is no such pool. and when I try to mount the pool via geli it fails due to the disk being offline.I think this is way more info than I need to give when the answer is probably as simple as a 1 line command, nevertheless, I would rather give you too much info than not enough.
Code:
root@freenas:~ # zpool online -e main 6091098960124744190
cannot open 'main': no such pool
Code:
root@freenas:~ # zpool import
pool: main
id: 6634276799256796139
state: UNAVAIL
status: One or more devices are missing from the system.
action: The pool cannot be imported. Attach the missing
devices and try again.
see: http://illumos.org/msg/ZFS-8000-3C
config:
main UNAVAIL insufficient replicas
raidz1-0 UNAVAIL insufficient replicas
gptid/c6059365-d282-11e8-8f9f-408d5c225151.eli ONLINE
89534515526865739 UNAVAIL cannot open
ada3 ONLINE
6091098960124744190 OFFLINE
This is /var/log/messages during an attempted mount
Code:
Jan 21 20:30:35 freenas ZFS: vdev state changed, pool_guid=6634276799256796139 vdev_guid=122933954024557224
Jan 21 20:30:35 freenas ZFS: vdev state changed, pool_guid=6634276799256796139 vdev_guid=89534515526865739
Jan 21 20:30:35 freenas ZFS: vdev state changed, pool_guid=6634276799256796139 vdev_guid=17847965742998905670
Jan 21 20:30:35 freenas uwsgi: [middleware.notifier:2026] Importing main [6634276799256796139] failed with: cannot import 'main': one or more devices is currently unavailable
Jan 21 20:30:35 freenas uwsgi: [middleware.exceptions:36] [MiddlewareError: Volume could not be imported]
Jan 21 20:30:35 freenas ZFS: vdev state changed, pool_guid=6634276799256796139 vdev_guid=6091098960124744190
Jan 21 20:30:35 freenas GEOM_ELI: Device gptid/c6059365-d282-11e8-8f9f-408d5c225151.eli created.
Jan 21 20:30:35 freenas GEOM_ELI: Encryption: AES-XTS 256
Jan 21 20:30:35 freenas GEOM_ELI: Crypto: hardware