[RFC/CFT] Trusty work for dmraid

Phillip Susi psusi at ubuntu.com
Tue Jan 21 15:15:48 UTC 2014


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 1/21/2014 9:59 AM, Stefan Bader wrote:
> 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.

I was concerned that attempting to activate the array and failing (
because support had been removed ) would at least cause bogus errors
in logs, and might trip up the initramfs.


-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.17 (MingW32)
Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/

iQEcBAEBAgAGBQJS3o8kAAoJEI5FoCIzSKrwGzYH+wW/ptlAomQfEKNMzsv/1Sah
fj9sy2apdyH0ClveIkEQ6CGh7n55emKw0bhDJhOGo6wll2DjbQTiYQdI8RKiDKDC
thfdYw/CoO4JJfeRIJBxYLztn7zzhdOF6xtPfp9PQZAACpk9v4t7Q12sf5qN2jKN
bzAEC94f/d3KBW5MD3Zmbk/ClkGkcGpR+ejNyR3hg5A5k0F5OomuE6i7QKq0BqT1
KR8TItMThUdoOLHmpAPF//jW9D5uA+k68WEx35UvAsSgJPSNqEULhkt1vl+gVRKD
FcQf0CPa9Afh6vqmDjFfg/8S2DORlRdQ8KzJu4/XmaJYNc/t8mpBhUZKmudHWLk=
=I+dr
-----END PGP SIGNATURE-----



More information about the ubuntu-devel mailing list