[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Rebuilding RAID 1 Array in Linux with a new hard disk after a disk fault - Howto with screen shots



> 
> Thanks, this might prove useful.
> However I do have a question... which might be just as important.
> 
> How to identify which drive has failed in an array?
> 
> I have 6 disks, 4 are used in raid (mdadm), the other 2 contain /boot, /
> and /home.
> /dev/sdc
> /dev/sdd
> /dev/sde
> /dev/sdf
> Each have 1 partition.
> /dev/md0 (raid 1) consists of /dev/sdc1 and /dev/sdd1
> /dev/md1 (raid 1) consists of /dev/sde1 and /dev/sdf1
> 
> If a drive fails, how do I know which drive? This is a desktop system, not
> a server.
> 

One way is to label the disks themselves so you simply do;

cat /proc/mdstat which might say /dev/sd3 is down. Open the case, look
for the disk labled /dev/sde and replace it. If you have LED's like
servers have (probably not) they can be a fiddle to get working but it's
possible


Reply to: