[ale] Software RAID1 rebuild after HDD failure (How to do?)

Ryan Fish FishR at bellsouth.net
Mon Jul 3 10:43:21 EDT 2006


Is there any difference is doing what you show below and just using
"grub-install /dev/hdc3" as Geoffrey suggested?

Also, grub.conf is in both /boot/grub and /etc on the box in question.  I'm
assuming it should be in both on the replacement drive as well.

Since the raidhotadd syncs everything from hda to hdc wouldn't GRUB
technically be installed at that point anyway?

Thank you.
-Ryan


-----Original Message-----
From: Christopher Fowler [mailto:cfowler at outpostsentinel.com] 
To: ale at ale.org
Sent: Monday, July 03, 2006 10:15 AM
To: FishR at bellsouth.net; Atlanta Linux Enthusiasts
Subject: Re: [ale] Software RAID1 rebuild after HDD failure (How to do?)

Run grub in batch mode

[cfowler at cfowler RESCUE]$ cat iso/data/grub.conf 
root (hd0,0)
setup (hd0)
root (hd1,0)
setup (hd1)

Or use the commands above.  Your root would be hd0,2 and hd1,2


On Mon, 2006-07-03 at 10:10, Ryan Fish wrote:
> How would I go about installing GRUB on the second drive?  Can I just use
an
> rpm and somehow force it to install on hdc3 (where / lives)?
> 
> Thank you.
> -Ryan
> 
> -----Original Message-----
> From: ale-bounces at ale.org [mailto:ale-bounces at ale.org] On Behalf Of
> Christopher Fowler
> Sent: Sunday, July 02, 2006 6:57 PM
> To: Atlanta Linux Enthusiasts
> Subject: Re: [ale] Software RAID1 rebuild after HDD failure (How to do?)
> 
> On Sat, 2006-07-01 at 02:57 -0400, Jim Popovitch wrote:
> > An alternative way to test is to d/l VMWare server (it's free, but
> > still 
> > pre-release status) and install it on your desktop/laptop.  Then
> > connect 
> > to it from the same system (or another one) and create a virtual 
> > machine.  Edit the virtual machine's settings to give it two drives, 
> > then install CentOS or whatever distro is at the remote site.  Set it
> > up 
> > with full raid working, then shutdown the virtual machine and remove
> > one 
> > of the drives from the config.  Then add a new (third) drive, and use
> > it 
> > as instead of the removed one.  Assuming that you have the time to do 
> > this. ;-)
> 
> I did this on a real test machine and then had to lookup commands to
> make it work again.  One thing I did learn was to make sure I installed
> grub onto both drives.  If the first one failed then the 2nd would not
> boot unless grub was installed.
> 
> My biggest problem was rebuild.  If the machine rebooted many times
> during a rebuild eventually all data was lost and a reformat was
> required.
> 
> 
> 
> _______________________________________________
> Ale mailing list
> Ale at ale.org
> http://www.ale.org/mailman/listinfo/ale
> 
> 
> _______________________________________________
> Ale mailing list
> Ale at ale.org
> http://www.ale.org/mailman/listinfo/ale






More information about the Ale mailing list