[Gllug] RAID question

Chris Bell chrisbell at overview.demon.co.uk
Tue Nov 6 21:14:19 UTC 2007


On Tue 06 Nov, Sean Burlington wrote:
> 
> Hi,
>   I set up RAID 1 about 18 months ago on a Debian box and it's all been
> great until yesterday when I removed an unused hard drive - and got one
> of the RAID drives by mistake.
> 
> I didn't notice straight away so now they are out of sync and the second
> disk isn't joining the array at boot.
> 
> 
> I'm not clear how to resync the array and would appreciate any pointers
> 
> Can I just run the following?
> 
> mdadm /dev/md0 --re-add /dev/hdc1
> mdadm /dev/md1 --re-add /dev/hdc2
> 
> Google is giving me advice on replacing failed drives and I guess I
> could wipe the drive and start again - but that seems kind of clunky.
> 
> 
   I have had to recover RAID1 devices after power loss, and used

mdadm --manage --add /dev/mdx /dev/sdxn (for sata)
mdadm --manage --add /dev/mdx /dev/hdxn (for pata)

where x is the reference number of the RAID device





-- 
Chris Bell NEW alternative address: chrisbell at chrisbell.org.uk
Microsoft sells you Windows ... Linux gives you the whole house.

-- 
Gllug mailing list  -  Gllug at gllug.org.uk
http://lists.gllug.org.uk/mailman/listinfo/gllug




More information about the GLLUG mailing list