I have a RAIDZ1 zpool and one of the three drives went unexpectedly in the night. The workloads running off this iSCSI datastore ceased immediately, and the box basically froze up. Running commands in the CLI froze, and there was little I could do but hard-reboot. Ever since, the pool is in a FAULTED state. I can't offline and replace the missing drive because the POOL is offline, and I can't import the pool because the volume is UNAVAIL.
Help!
root@# zpool import -f
pool: ESXStore6TB
id: 8149974477796157805
state: FAULTED
status: One or more devices are missing from the system.
action: The pool cannot be imported. Attach the missing
devices and try again.
The pool may be active on another system, but can be imported using
the '-f' flag.
see: http://illumos.org/msg/ZFS-8000-3C
config:
ESXStore6TB FAULTED corrupted data
raidz1-0 DEGRADED
gptid/2ef139c7-8c61-11ed-9638-f8f21e7c3fd4 ONLINE
gptid/2f91cee7-8c61-11ed-9638-f8f21e7c3fd4 ONLINE
5952659759105131888 UNAVAIL cannot open
logs
ada3p2 ONLINE
root@:~ # zpool replace ESXStore6TB 5952659759105131888 gptid/67d78e25-205e-11ee-92d6-f8f21e7c3fd4
cannot open 'ESXStore6TB': no such pool
I don't care too much about 'some' data corruption. What options are there to bring the pool back online with as much intact data as possible so I can scrape whatever I can get from it?
Help!
root@# zpool import -f
pool: ESXStore6TB
id: 8149974477796157805
state: FAULTED
status: One or more devices are missing from the system.
action: The pool cannot be imported. Attach the missing
devices and try again.
The pool may be active on another system, but can be imported using
the '-f' flag.
see: http://illumos.org/msg/ZFS-8000-3C
config:
ESXStore6TB FAULTED corrupted data
raidz1-0 DEGRADED
gptid/2ef139c7-8c61-11ed-9638-f8f21e7c3fd4 ONLINE
gptid/2f91cee7-8c61-11ed-9638-f8f21e7c3fd4 ONLINE
5952659759105131888 UNAVAIL cannot open
logs
ada3p2 ONLINE
root@:~ # zpool replace ESXStore6TB 5952659759105131888 gptid/67d78e25-205e-11ee-92d6-f8f21e7c3fd4
cannot open 'ESXStore6TB': no such pool
I don't care too much about 'some' data corruption. What options are there to bring the pool back online with as much intact data as possible so I can scrape whatever I can get from it?