PDA

View Full Version : [mythbuntu] 10.10 software raid not auto assembling on boot



Cyborg28
March 5th, 2011, 05:57 PM
10.10 software raid not auto assembling on boot
I have a software raid from an 8.10 install

Ubuntu 10.10 does not auto assemble it on boot up, how do I fix this?

I didn't see a way to do it looking all over the web. But when running

mdadm --assemble --scan

from the terminal the raid starts and works fine

My mdadm.conf is in /etc/mdadm and is as follows:

DEVICE /dev/sdb1 /dev/sdc1
ARRAY /dev/md1 level=raid1 num-devices=2 UUID=df03c527:02835d4b:8aeb7b4f:3e862425


The partitions are indeed marked as linux raid autodetect


Please help, manually assembling and mounting this volume is driving me crazy!

Thanks,

Cyborg28

Cyborg28
March 6th, 2011, 04:32 AM
here is mdstat on boot:

md1 : inactive sdc[1](S)
976762496 blocks

and after mdadm --assemble --scan:


md1 : active raid1 sdb1[0] sdc1[1]
976759936 blocks [2/2] [UU]

unused devices: <none>


Here is what is in blkid when the raid is up:


/dev/sda1: UUID="dc556c92-0668-4cb0-a34a-b4abdcd1b2f6" TYPE="ext4"
/dev/sda2: UUID="c74ba850-7e50-4e11-b4c8-7a3f6c3be370" TYPE="ext4"
/dev/sdb1: UUID="df03c527-0283-5d4b-8aeb-7b4f3e862425" TYPE="linux_raid_member"
/dev/sdc1: UUID="df03c527-0283-5d4b-8aeb-7b4f3e862425" TYPE="linux_raid_member"
/dev/sdd1: UUID="7ea56b3e-c2c8-498f-96bd-680194fba51e" TYPE="ext4"
/dev/sdd5: UUID="3b7cd793-d2a9-44ec-ae72-75e0e56588bf" TYPE="swap"
/dev/md1: UUID="4a4dbe88-28b8-4da5-9a48-7b14a23dc8bb" TYPE="ext3"