Failed sata disk

Hey guys. I'm a novice user when it comes to Debian 'more advanced' configuration. I have a home storage server with 12 sata disks which are grouped in 3 x "raid 5" array. Now one of the disks of a 5-member raid 5 array failed. It are all identical WD320GB disks. So how can I possibly know which disk failed? Thanks in advance.

0

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.

Re: Failed sata disk

1. mdadm --misc --detail /dev/md0 (or /dev/md/0, or whatever your RAID is)

2. Look at the relevant system logs in /var/log

Figuring out how your physical devices are mapped to different names is pretty simple; follow the wires back to the controller and see what connector they go into. You can also read the labels on the cases; these sometimes have some information on them which can also be read from the disk (actually from the disk controller's memory) to identify the device.

Re: Failed sata disk

So what you are saying is that if I have /dev/sda, /dev/sdb, /dev/sdc, i can be pretty sure that sda is on port 1 , sdb is on port 2 and sdc is on port 3? Am I getting this right?

Re: Failed sata disk

Try that:

cat /proc/mdstat

vol_id can help as well.

Contact Center Services

Re: Failed sata disk

If your drives have serial numbers on them, then once you've identified the failed one with mdadm, you can use
"hdparm -i /dev/sdX" to show the serial number

Syndicate content