6TB (3x3TB Drives) raidz-0 is FAULTED

efreem01

Cadet
Joined
Dec 31, 2022
Messages
3
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?
 

Arwen

MVP
Joined
May 17, 2014
Messages
3,611
First off, a RAID-Z1 with a single disk failure will NEVER corrupt data. So you appear to have had multiple disk problems, (or other hardware problems).

Please describe your hardware more completely, including brands & models of all hardware, (per forum rules). Plus, the version of TrueNAS and any firmware, (like any LSI HBA), in use.


The zpool replace command will naturally fail, as your pool is still exported. You need to use;

zpool import -f ESXStore6TB

to perform the real import.


As for "some" data corruption. Using ZFS for iSCSI VM storage means you NEED almost perfect data saving. ZFS does not know what is going on inside the zVol for the iSCSI VM storage, so their is risk of lots of data corruption.
 
Top