[dm-devel] [PATCH] dm-striped device sizes must be multiple of chunk-size(Causes Failures)

Kevin Corry kevcorry at us.ibm.com
Thu May 4 13:41:49 UTC 2006


On Mon May 1 2006 4:05 pm, Dwaine_Garden at wsib.on.ca wrote:
> It looks like dmsetup need to be patched as well.   There is a bug opened
> up for dmraid because after this
> patch, Fedora 5 installs would not boot with kernel 2.6.16.  There is a
> patch to round down the stripe size to be multiple of the chunk-size, but
> the computers still fail trying to boot and mount volumes.
>
> After Heinz patched dmraid, it now fixed.  It looks like dmsetup needs to
> be patched as well(Or something within device-mapper).  Via_ecfdfiehfa is
> not a multiple of chunk-size,   Both dmraid and dmsetup should match.   So
> all software raid0 setup with dmraid still fail to boot under 2.6.16+.
> Nvidia, Intel and Via chipsets are confirmed impacted, but all the chipsets
> which has this software raid0 will have this problem.

There's nothing in dmsetup to patch with regards to this problem. dmsetup and 
libdevmapper have no knowledge at all of any of the device-mapper kernel 
target modules (e.g. linear, striped, mirror, snapshot). They effectively 
just act as a convenient pass-thru to the device-mapper ioctl interface. If 
you're using dmsetup, you need to know about any restrictions required by the 
target you're using, and write your mappings appropriately.

-- 
Kevin Corry
kevcorry at us.ibm.com
http://www.ibm.com/linux/
http://evms.sourceforge.net/




More information about the dm-devel mailing list