root@ubuntu:/lib/udev# dmraid -r
/dev/sdh: ddf1, ".ddf1_disks", GROUP, ok, 3906572288 sectors, data@ 0
/dev/sdg: ddf1, ".ddf1_disks", GROUP, ok, 3906572288 sectors, data@ 0
/dev/sdf: ddf1, ".ddf1_disks", GROUP, ok, 3906572288 sectors, data@ 0
/dev/sde: ddf1, ".ddf1_disks", GROUP, ok, 3906572288 sectors, data@ 0
/dev/sdd: ddf1, ".ddf1_disks", GROUP, ok, 3906572288 sectors, data@ 0
/dev/sdc: ddf1, ".ddf1_disks", GROUP, ok, 3906572288 sectors, data@ 0
/dev/sdb: sil, "sil_acagdccaeafe", stripe, ok, 117229312 sectors, data@ 0
/dev/sda: sil, "sil_acagdccaeafe", stripe, ok, 117229312 sectors, data@ 0

/dev/sd[cdefgh] are in a 'ddf1' group.
I do not know whether this is by design or by error, but dmraid-activate is 
incapable of activating the mdadm RAID6 array, that's for sure.

patching /lib/udev/rules.d/85-dmraid.rules like so:

orig:
SUBSYSTEM=="block", ACTION=="add", ENV{ID_TYPE}=="disk", 
ENV{ID_FS_USAGE}=="raid", KERNEL=="hd[a-z]|sd[a-z]", \
        RUN+="/sbin/dmraid-activate %k"

patch:
SUBSYSTEM=="block", ACTION=="add", ENV{ID_TYPE}=="disk", 
ENV{ID_FS_TYPE}!="linux_raid*", ENV{ID_FS_USAGE}=="raid", 
KERNEL=="hd[a-z]|sd[a-z]", \
        RUN+="/sbin/dmraid-activate %k"

Resolves the problem, but dmraid -r still lists the group. Therefore I
consider this a workaround for now.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/742145

Title:
  dmraid interferes with mdadm

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

Reply via email to