Can anyone tell from looking at this mdstat which device is the hot
spare?  Is it possible?  After a couple disk failures, hot removes and
hot adds, I am not sure how to tell which disks are actually in the
raid and which disk is the spare.  Once I get the original failed disk
back in the game the system doesnt automatically rebuild on it but
(from what I can tell by watching the activity lights on the
enclosure) keeps it as a hot spare.

Thanks!

-jacob

Personalities : [linear] [raid0] [raid1] [raid5] [translucent] 
read_ahead 1024 sectors
md0 : active raid5 sdd1[3] sdg1[0] sdf1[2] sde1[1] 17863936 blocks
level 5, 128k chunk, algorithm 2 [3/3] [UUU]
unused devices: <none>

Also, here is my raidtab:

raiddev /dev/md0
        raid-level              5
        nr-raid-disks           3
        nr-spare-disks          1
        persistent-superblock   1
        parity-algorithm        left-symmetric
        chunk-size              128

        device                  /dev/sdd1
        raid-disk               0
        device                  /dev/sde1
        raid-disk               1
        device                  /dev/sdf1
        raid-disk               2
        device                  /dev/sdg1
        spare-disk              0





-
To unsubscribe from this list: send the line "unsubscribe linux-raid" in
the body of a message to [EMAIL PROTECTED]

Reply via email to