You are not logged in.

#1 2011-04-23 12:51:32

byte
Member
From: Düsseldorf (DE)
Registered: 2006-05-01
Posts: 2,046

initscripts-2011.04 / udev issues with mdadm RAID [solved]

I have a non-root RAID1 with two disks that got activated through rc.sysinit before the latest upgrade.
After the upgrade (and after a thorough look at the git diffs, and modifying rc.conf) the array didn't get assembled any longer.
A manual 'mdam --assemble --scan' as in the old initscripts was no problem, but I've read that Udev should have done it by itself.

After some testing I've found out that you need to be careful with your "DEVICE" definition in mdadm.conf - I was using a fairly specific "/dev/disk/by-id/ata_Hitachi*" one, which conflicted with the /dev/sd* stuff Udev uses for 'mdadm --incremental'.

So keep an eye out for this, or just stick to the default "DEVICE partitions" in the first place.

(+solved)

Last edited by byte (2011-04-23 12:52:05)


1000

Offline

Board footer

Powered by FluxBB