On 21.01.2014 15:29, Phillip Susi wrote: > On 1/21/2014 3:37 AM, Stefan Bader wrote: >>> What about making sure that dmraid *isn't* used to activate the >>> array? > >> That is done by the modified dmraid source. It has all isw support >> removed. The above is just needed to make the array appear on boot >> using mdadm. Without it you have to manually assemble it. > > I'm not sure it needs removed from the actual utility, but the udev > rules certainly need modified so that they don't try to run > dmraid-activate on isw or ddf any more.
The udev rule for dmraid does not key on specific raid types but on generic raid
usage:
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"
ENV{DM_STATE}=="ACTIVE", ENV{DM_UUID}=="DMRAID-*", \
RUN+="/sbin/kpartx -a /dev/$kernel"
Maybe those could get replaced by individual types but removing support
completely seemed "simpler" and guaranteed to succeeed.
>
>
>
signature.asc
Description: OpenPGP digital signature
-- ubuntu-devel mailing list [email protected] Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-devel
