how do i boot when one of the disks in raid 1 / partition fails?
Fajar Priyanto
fajarpri at cbn.net.id
Thu Sep 6 02:08:25 UTC 2007
On Wednesday 05 September 2007 15:58:03 Tomoki Taniguchi wrote:
> I have installed feisty 7.04 server
> on a box with 2 identical SATA devices.
>
> i have setup 2 raid1 partitions using mdadm.
>
> / consists of /dev/sda1 and /dev/sdb1
> swap consists of /dev/sda5 and /dev/sda5
>
> the system boots fine.
> and i have also installed grub on both drives mbr so that
> the system can still boot even if the main drive fails.
>
> to test what happens when one of the disks fail,
> i shut down the system. removed one of the SATA cables and
> started the system up. But the boot process fails
> because it can't seem to find md0.
>
> how do i get it so that ubuntu continues to boot even if
> one of the drives in the raid1 fails?
Hello,
If you use LVM on the / partition, you will need to separate the /boot dir
into it's own partition. Also make sure that grub is installed on both hdd. I
faced a case where Centos5 installer didn't install grub completely on the
other hdd of raid1. I needed to install grub manually on both hdds to make it
works.
This is nice URL about raid1 on ubuntu:
http://ubuntuforums.org/showthread.php?p=3304207
HTH,
--
Fajar Priyanto | Reg'd Linux User #327841 | Linux tutorial
http://linux2.arinet.org
09:08:04 up 30 min, 2.6.20-16-generic GNU/Linux
Let's use OpenOffice. http://www.openoffice.org
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <https://lists.ubuntu.com/archives/ubuntu-users/attachments/20070906/e19518ef/attachment.sig>
More information about the ubuntu-users
mailing list