Public bug reported:

I've set up a raid1 on Gutsy server RC, I've go it set up so it works
using these instructions: http://advosys.ca/viewpoints/2007/04/setting-
up-software-raid-in-ubuntu-server/ (I've set up three raid1 partitions
/, /home and swap) The problem is if I test it by disconnecting one of
the drives Gutsy wont boot.

If I run the following commands

[EMAIL PROTECTED]:~$ grep /dev/md /etc/fstab
# /dev/md0
# /dev/md1
# /dev/md2
[EMAIL PROTECTED]:~$

[EMAIL PROTECTED]:~$ df -h / /home
Filesystem Size Used Avail Use% Mounted on
/dev/md0 15G 2.6G 12G 19% /
/dev/md1 131G 225M 124G 1% /home

[EMAIL PROTECTED]:~$ cat /proc/mdstat
Personalities : [linear] [multipath] [raid0] [raid1] [raid6] [raid5] [raid4] 
[raid10]
md2 : active raid1 sda3[0] sdb3[1]
1991936 blocks [2/2] [UU]

md1 : active raid1 sda2[0] sdb2[1]
138672960 blocks [2/2] [UU]

md0 : active raid1 sda1[0] sdb1[1]
15623104 blocks [2/2] [UU]

unused devices: <none>

and

[EMAIL PROTECTED]:~$ sudo mdadm --query --detail /dev/md0
/dev/md0:
Version : 00.90.03
Creation Time : Wed Oct 17 00:51:54 2007
Raid Level : raid1
Array Size : 15623104 (14.90 GiB 16.00 GB)
Used Dev Size : 15623104 (14.90 GiB 16.00 GB)
Raid Devices : 2
Total Devices : 2
Preferred Minor : 0
Persistence : Superblock is persistent

Update Time : Wed Oct 17 09:52:49 2007
State : active
Active Devices : 2
Working Devices : 2
Failed Devices : 0
Spare Devices : 0

UUID : 2aa5c0cf:d2ed8c33:31b70149:8694a062
Events : 0.7

Number Major Minor RaidDevice State
0 8 1 0 active sync /dev/sda1
1 8 17 1 active sync /dev/sdb1
[EMAIL PROTECTED]:~$

similar results for md1 and md2

However if I test it by unplugging a hard drive it wont boot

I've also tried creating a small non Raid /boot partition, but again if
I unplug a drive the system wont boot (grub starts fails to mount the
raid)

** Affects: ubuntu
     Importance: Undecided
         Status: New

-- 
Raid 1 boot problem
https://bugs.launchpad.net/bugs/157648
You received this bug notification because you are a member of Ubuntu
Bugs, which is the bug contact for Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to