[->UUIDudev] mdadm fails to automatically assemble raid during boot (without mdadm.conf)
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
mdadm (Ubuntu) |
In Progress
|
Undecided
|
Surbhi Palande |
Bug Description
Binary package hint: mdadm
Creating an mdadm array works fine:
mdadm --create /dev/md0 -n 3 -l5 /dev/sdb1 /dev/sdc1 /dev/sdd1
Now when booting the array is assembled correctly.
Delete the array and zero-superblock, create new partition and mark as "fd", create the same array again with command above.
Now the system tries to assemble a single device into /dev/md_d0 - when other devices are missing.
I checked each device with -examine and each reports the same uuid, the same host and the same name.
In order to get it working one has to stop the md_d0 and assemble manually:
mdadm --stop /dev/md_d0
mdadm --assemble /dev/md0 /dev/sdb1 /dev/sdc1 /dev/sdd1
To overcome this problem one has to remove the homehost from mdadm.conf and assemble the array manually during boot.
What helps ist to reinstall the system ...
This bug is pretty often found when googling around. Possible hints are udev and dmraid, whereas I already deinstalled dmraid but didn't help.
Ubuntu 9.10 Linux 2.6.31-
mdadm 2.6.7.1
* The array gets configured when mdadm.conf reflects the array definitions. But it does not get assembled automatically
Changed in mdadm (Ubuntu): | |
status: | Invalid → Confirmed |
description: | updated |
Forgot: I tried the same with 0.9 and 1.2 superblocks - same effect.
thx