[Wolves] RAID on 750mhz processor?

Mark Ellse me at chaseacademy.com
Wed Oct 11 09:17:53 BST 2006


Andy,
Thanks for this. I'll have a go.
Mark

Andy Smith wrote:
> On Tue, Oct 10, 2006 at 09:17:51AM +0100, Mark Ellse wrote:
>   
>> Andy Smith wrote:
>>     
>>> An operating system running on commodity PC hardware often doesn't
>>> survive this though, not even SATA or SCSI sometimes, so in these
>>> situations all you can do is reboot.  At least it should all boot up
>>> again even if the drive is failed.
>>>       
>> OK, I agree that this works. But then how do you put another had disk in 
>> and get it to rebuild on the new hard disk. That was the part that I 
>> found difficult.
>>     
>
> Assume you have a /dev/md0 composed of /dev/sda1 and /dev/sdb1.
> /dev/sdb dies.
>
> Fail out /dev/sdb1:
>
> # mdadm /dev/md0 -f /dev/sdb1
>
> /dev/md0 is now running degraded.  Assume you shut down and replace
> /dev/sdb, you will have a new /dev/sdb.  Partition it again as
> normal, then re-add /dev/sdb1 to the array:
>
> # mdadm /dev/md0 -a /dev/sdb1
>
> Array will now begin resyncing in the background.
>
> $ cat /proc/mdstat
>
> to watch the progress.
>
> I find "sfdisk" useful for copying partition files from other
> devices to make them all identical.
>
> Don't forget you need grub installed on every device you will ever
> need to boot from, which means both disks in a 2-disk RAID-1.
>
> Cheers,
> Andy
>
>   
> ------------------------------------------------------------------------
>
> _______________________________________________
> Wolves LUG mailing list
> Homepage: http://www.wolveslug.org.uk/
> Mailing list: Wolves at mailman.lug.org.uk
> Mailing list home: https://mailman.lug.org.uk/mailman/listinfo/wolves



More information about the Wolves mailing list