[RFC/CFT] Trusty work for dmraid

Phillip Susi psusi at ubuntu.com
Mon Jan 20 21:33:12 UTC 2014


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

On 1/20/2014 7:03 AM, Stefan Bader wrote:
> I have prepared changes for both[2] which did work for IMSM (before
> I disabled support) and a RAID5 I had there. Currently there would
> only be one drawback which is that cases which store meta-data at
> the beginning of a disk and data after that would not work. But I
> am not sure whether there are cases out there that work like this.

What do you mean?  isw always stores its meta data at the end of the disk.

> So practically the only setups to worry are NVidia controllers
> supporting RAID5 and those using DDF1 using RAID4 or 5. Are there
> people out there which have BIOS-/fakeRAID configs enabled for
> RAID4 or 5 and currently use dmraid to set those up under Linux?

DDF1 may be fairly common on servers since this is the usual format
used by server class fakeraid cards, and servers are typically set up
using raid5.

> One alternative option would be to check whether mdadm DDF support
> also includes everything that dmraid did. At least a quick test
> with a ddf1 RAID5 which I did set up using mdadm seems to be found
> by dmraid scanning, too. That option would leave us only with
> NVidia controllers depend on dmraid RAID5.

Last I saw on the linux-raid mailing list they were still shaking a
few bugs out of the ddf support in mdadm.  nvidia controllers seem to
mainly have been used in enthusiast/gamer/workstation desktop boards
where raid0 is far more likely than raid5.

> Btw, to make mdadm automatically add the IMSM RAID I have to add
> the following line to /lib/udev/rules.d/64-md-raid.rules:
> 
> # handle potential components of arrays (the ones supported by md) 
> ENV{ID_FS_TYPE}=="linux_raid_member", GOTO="md_inc" 
> +ENV{ID_FS_TYPE}=="isw_raid_member", GOTO="md_inc" 
> GOTO="md_inc_skip"

What about making sure that dmraid *isn't* used to activate the array?


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

iQEcBAEBAgAGBQJS3ZYYAAoJEI5FoCIzSKrwRSoH/0mducsKkE6pKd++XRK4vB5i
rAtC6D/RSznYE7uc3XhziG4FqSC7+GmEagdyoUdoIWWdGw1pq17g75QaB4hLOdoD
2Ab3xRGuzkttGkxm20Il/vblP7vSAemZ9jfIKaqCYgTPFh/516HPzn9GZRmCp4jG
beWxlDDlN9r3sjGeBUn+MBHteb7foCuzrFbd7NaqO8brpKbd6obRChqkWm4OKoBn
mhLU3YxTUtEG2kO9DmJeIsTRSUFaNYde0hT4cmq56HSUkWPMiD/XxGdjxe7xPDvh
6lPfoBxcoHMFFmCEiHx3mdfhJIID50WeKisHxiOU+/GSVVC1YQlBsHhuxwO1wxI=
=KSFo
-----END PGP SIGNATURE-----



More information about the ubuntu-devel mailing list