RE: Replacing failed software RAID drive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



From: Les Mikesell Sent: October 7, 2007 18:53
> 
> OK, you just have to replace the drive, fdisk matching partitions on it 
> ("fdisk -l /dev/sde" will show the sizes you need), then use
> mdadm --add /dev/md? /dev/sda?
> for each one to add the missing partition back.

I have been able to review all this and it looks very straight forward.

> Then reinstall grub on the drive.

Now I have some questions:

1. Since the /boot partition was mirrored and will be restored on the
   new sda drive I do not really want to do a full grub install. From
   what I have read that will overwrite existing /boot/grub/grub.conf
   file. So I just want to write the MBR on the drive. How to I do
   that (the docs I have found were rather unclear on that aspect)?

2. Can a install grub on the replaced boot drive with the system still
   running?

TIA

Regards, Hugh

-- 
Hugh E Cruickshank, Forward Software, www.forward-software.com 
_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos

[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux