[ale] RAID recovery
Robert L. Harris
Robert.L.Harris at rdlg.net
Fri Nov 11 14:36:15 EST 2005
It should replace it back as device 1, but if it doesn't it's
non-critical. Every now and then I'll screw around with a co-worker and
re-arrange the drives in his test box. Took him a while to catch me
doing it.
Thus spake Dow_Hurst (dhurst at mindspring.com):
> 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.
> _______________________________________________
> Ale mailing list
> Ale at ale.org
> http://www.ale.org/mailman/listinfo/ale
:wq!
---------------------------------------------------------------------------
Robert L. Harris | GPG Key ID: E344DA3B
DISCLAIMER:
These are MY OPINIONS "We can't solve problems by using
ALONE. I speak for the same kind of thinking we used
no-one else. when we created them."
- Einstein
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
More information about the Ale
mailing list