Sunday, January 2, 2011

Finding bad disk on NetApp filer

The fastest and easiest way to find a failed disk on your administered NetApp system is via command "sysconfig -d" (-d states for disks).

Let's see how it's done:

#ssh netapp001 "sysconfig -d"
Device          HA    SHELF BAY CHAN    Disk Vital Product Information
4a.16           4a    1   0     FC:B    3KS2XC8N000076209GBE
4a.17           4a    1   1     FC:B    3KS2WTJ7000076202GXS
4a.18           4a    1   2     FC:B    Not available.
4a.19           4a    1   3     FC:B    3KS2WNZG000076209GE5
4a.20           4a    1   4     FC:B    3KS2V198000076202GVQ
3a.21           3a    1   5     FC:A    3KS3EP1M00007627PNJQ
4a.22           4a    1   6     FC:B    3KS3B9DJ00007628QPQH
3a.23           3a    1   7     FC:A    3KS2WTT1000076202GXP
3a.24           3a    1   8     FC:A    3KS2WPY2000076209GY5
4a.25           4a    1   9     FC:B    3KS2XDAW000076209FUF
3a.26           3a    1   10    FC:A    3KS2YKV800007621UV85
4a.27           4a    1   11    FC:B    3KS2WPQR000076205BY7
3a.28           3a    1   12    FC:A    3KS2V6ZM000076200JT3
4a.29           4a    1   13    FC:B    3KS2XCVW00007620R4TQ


From the output we can easily see that Shelf1, Bay 2 has a bad disk.

No comments: