How to identify degraded drive

Status
Not open for further replies.

Gasha

Dabbler
Joined
Nov 10, 2012
Messages
18
Hi,
I got one degraded drive. However, I am not sure how to identify which one is bad. Here is the result of "zpool status" command:

status: One or more devices has experienced an unrecoverable error. An
attempt was made to correct the error. Applications are unaffected.
action: Determine if the device needs to be replaced, and clear the errors
using 'zpool clear' or replace the device with 'zpool replace'.
see: http://illumos.org/msg/ZFS-8000-9P
scan: scrub repaired 0 in 2h4m with 0 errors on Mon Apr 24 04:58:59 2017
config:

NAME STATE READ WRITE CKSUM
NAS6 DEGRADED 0 0 0
mirror-0 DEGRADED 0 0 0
gptid/ebd808f0-b5a0-11e4-874a-bc5ff4754cf9 ONLINE 0 0 0
gptid/a8693d0a-b58d-11e4-9668-bc5ff4754cf9 DEGRADED 0 0 0 too many errors
mirror-1 ONLINE 0 0 0
gptid/c0cb7b6f-d41e-11e4-b5fe-bc5ff4754cf9 ONLINE 0 0 0 block size: 512B configured, 4096B native
gptid/fad12180-d42d-11e4-bd7b-bc5ff4754cf9 ONLINE 0 0 0 block size: 512B configured, 4096B native

errors: No known data errors

Image of the drive list is attached.

Since "zpools status" does not list serial numbers, how do I know which drive to replace?
Thank you.

Gasha
 

Attachments

  • Capture.GIF
    Capture.GIF
    24.5 KB · Views: 644

golfleep

Dabbler
Joined
Nov 3, 2016
Messages
21
Run the output of the SMART tests for each disk, the serial number of the drive is included with each drive's report. The report from one of your drives should have an indication of which drive is experiencing the errors:

Code:
smartctl -a /dev/adaX
 

gpsguy

Active Member
Joined
Jan 22, 2012
Messages
4,472
One way to map the gptid's to their serial numbers is to use one of @Bidule0hm 's scripts. I believe he has a link to them in his profile. I am replying from my phone so its hard to look stuff up and provide a direct link.
 

Dice

Wizard
Joined
Dec 11, 2015
Messages
1,410

danb35

Hall of Famer
Joined
Aug 16, 2011
Messages
15,504
Since "zpools status" does not list serial numbers,
zpool status doesn't list serial numbers or disk designations, but the volume status page in the FreeNAS web GUI lists the disk designations (e.g., ada0). Go to the storage button in the top menu bar, click on your pool, then the volume status button at the bottom (looks like a sheet of notebook paper). That will list the disks in your pool by designation (e.g., ada0p2) and show which one is degraded. Using the designation/serial number mapping you already showed in the OP, that will let you know which disk is bad.
 
Status
Not open for further replies.
Top