[ale] RAID recovery

Dow_Hurst dhurst at mindspring.com
Fri Nov 11 12:19:03 EST 2005


Since I asked the question about speeding up the recovery, I think I'd better
ask this one as well.  After reading the Software Raid How-To
and several old ale archive messages, I'd like to know if:

mdadm /dev/md0 -a /dev/hdc1

was the right way to recover from that drive being kicked out of the array
on reboot as "not fresh" after an extended power outage.  Here is mdstat:

rapier:/proc/sys/dev/raid # mdadm --query --detail /dev/md0
/dev/md0:
        Version : 00.90.00
  Creation Time : Fri Oct  8 14:55:03 2004
     Raid Level : raid5
     Array Size : 625120768 (596.16 GiB 640.12 GB)
    Device Size : 156280192 (149.04 GiB 160.03 GB)
   Raid Devices : 5
  Total Devices : 5
Preferred Minor : 0
    Persistence : Superblock is persistent

    Update Time : Fri Nov 11 12:02:41 2005
          State : clean, no-errors
 Active Devices : 4
Working Devices : 5
 Failed Devices : 0
  Spare Devices : 1

         Layout : left-symmetric
     Chunk Size : 128K

 Rebuild Status : 93% complete

    Number   Major   Minor   RaidDevice State
       0       3        1        0      active sync   /dev/hda1
       1       0        0       -1      removed
       2      34        1        2      active sync   /dev/hdg1
       3      56        1        3      active sync   /dev/hdi1
       4      57        1        4      active sync   /dev/hdk1
       5      22        1        1      spare   /dev/hdc1
           UUID : f58d6b3c:f07863ca:595dc465:e6899450
         Events : 0.9128405

I'd like to know if it will make the device "Number 1" as
it was originally and if I've recovered with the right method.  Thanks!
Dow

No sig.



More information about the Ale mailing list