Drive problems

ok, me confused.

I have a Raid Z2.

One drive faulted. was per previous thread ( Storage/Disk Errors - #4 by Johnny_Fartpants ),

I had another drive in the NAS, but it was already removed as it faulted about 18 months ago and left it there rather than open/close the entire unit.

Replace the recent faulted drive and started the unit, and went into replace drive. All started good, and then I got the email.

I’m sitting with :

ZTN088W1 - old faulted.

ZTN08BQG - New faulted, suppose to be being replaced by : ZTN0AZZQ

See attached pictures. (confused as it sounds like another drive now died)

Going to leave the unit to complete the resilver, will then see if the “2nd” faulted drive is maybe just not plugged in properly.

or was I a IDIOT and pulled the wrong drive… which I’m starting to think.

G

What does zpool status tank currently show?

I can’t see this in your disk list.

See attached.

I have the very strong feeling I removed the wrong drive, all that’s saving my @ss atm is that this was RaidZ2…

G

Indeed.

Let the resilver complete and then update us.

… agree…

G

… given… if I did not have RaidZ1 then the disk group would not have come up when I started the machine…

G

so here is the after resilver.

Thinking I need to put ZTN08BQG back…

Just need to double triple check which I have to remove.

my logic says sdi is the one to be removed.

G

zpool status tank
  pool: tank
 state: DEGRADED
status: One or more devices are faulted in response to persistent errors.
	Sufficient replicas exist for the pool to continue functioning in a
	degraded state.
action: Replace the faulted device, or use 'zpool clear' to mark the device
	repaired.
  scan: resilvered 6.28T in 14:50:58 with 0 errors on Wed Nov 25 23:18:11 2026
config:

	NAME                                      STATE     READ WRITE CKSUM
	tank                                      DEGRADED     0     0     0
	  raidz2-0                                DEGRADED     0     0     0
	    ad2c2f95-e4c9-4682-bf2c-8acb4b7f9b2e  ONLINE       0     0     0
	    b08044d2-833e-420d-851b-bcbe5a923aaf  FAULTED     62     0     0  too many errors
	    53bf5ec8-17e7-4e5c-b9ab-e9aad72fa2ed  ONLINE       0     0     0
	    e04e3278-8c50-4690-91aa-37cb65df7ee4  ONLINE       0     0     0
	    4fcceda4-960c-4656-a27c-1f3f8bb3f83d  ONLINE       0     0     0

errors: No known data errors

removed ZTN8BQ8 and replaced with incorrect removed drive…

ai ai, now another resilver…

G

Instead of guessing which drive to replace:

  1. Run zpool status -v tank
  2. Run lsblk -o PARTUUID,SERIAL,NAME
  3. Now match up the PARTUUID (Partition UUID) values to the values in the zpool status output.
  4. Never use the drive id (sda/sdb) to identify a drive if possible.
  5. Power down, remove the drive, verify the serial number, install a new drive, power on.
  6. Let the RESILVER complete before moving on the another failure.

Example output:

root@truenas:~# lsblk -o PARTUUID,SERIAL,NAME
PARTUUID                             SERIAL             NAME
                                     K1JRSWLD           sda
                                     2F4920060284       sdb
5317ae11-fb17-4921-929b-55b43e5c2d71                    ├─sdb1
75d521fc-b99a-498e-9bdc-f94f14785b01                    ├─sdb2
4652b87a-2de6-4607-8163-b39763c46786                    └─sdb3
                                     ZR13JRL0           sdc
917d8980-eb8b-41ac-a442-3f940f96ee8b                    └─sdc1
                                     511230818150000088 nvme2n1
863320da-0894-4f38-b509-15aa873d1626                    └─nvme2n1p1
                                     511230818150000450 nvme4n1
9c87db2d-3f74-48ed-8c13-e5fde028710f                    └─nvme4n1p1
                                     511230818150000096 nvme0n1
b8603daa-6031-441a-be78-baa9795437f8                    └─nvme0n1p1
                                     511230818150000086 nvme1n1
3b978347-6552-42c3-b33f-d5d742dc7cfd                    └─nvme1n1p1
                                     511230818150000051 nvme3n1
68ff650b-df8b-40bc-bced-78fac9a47db8                    └─nvme3n1p1
root@truenas:~# lsblk -o PARTUUID,SERIAL,NAME

If zpool status -v tank listed 75d521fc-b99a-498e-9bdc-f94f14785b01 FAULTED then using the output from above, I can state for a fact that drive serial number 2F4920060284 is the faulty drive, and happens to be drive id sdb in this example, which is always a possibility to change during bootstrap.

In the example, drive K1JRSWLD is not assigned to any pool and was previously wiped clean, thus not PARTUUID is listed.

This was no guessing, and no i dont use the drive id… i used the serial number (ZTN** as shown in the disks view/vdev view), I was simply dumb and pulled the wrong drive.

Let the RESILVER complete before moving on the another failure.

As what was done after I discovered err yesterday :wink:

G

Just to Close the thread.

Happy healthy TrueNas again.

G

I used to use a Supermicro chassis that TrueNAS would flash a red LED to indicate which drive has gone faulty. I took a backward step in replacing it with an older (but larger) Supermicro chassis that does not have the same fault LED indicator for each drive. To eliminate the possibility of removing the wrong drive from the chassis, I have labelled each drive’s ejector lever with the last five characters of each drive’s serial number.

Saves me from ever experiencing what you did.

If you are using a Broadcom/LSI HBA then tools like sas2ircu/sas3ircu or on newer cards storcli can do this.

sas3ircu 0 display
sas3ircu locate 3:0 ON
storcli /c0 /eall /sall show all
storcli /c0 /e12 /s37 start locate

and if all else fails

dd if=/dev/sdb of=/dev/null

and look for the blinking lights.

I honestly would have expected to do this properly, you are no stranger here, not a novice, but I posted it anyway just to make sure and for other users who are not aware they can do this properly.

Glad you have the pool all better.

hehehe, ye this was all my=id10t… aka pepka…

simply not sleeping well previous evening, and not paying attention.

Anything we can share that can help others, I always say is good for the community.

Will be looking at getting another drive, to place in the open bay as a ready installed HS.

G