Re: dm: Fix alignment stacking on partitioned devices

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



>>>>> "Mike" == Mike Snitzer <snitzer@xxxxxxxxxx> writes:

Mike> If that is the case then the data "start" should be different for
Mike> these individual PVs (one following the other).  If not, can you
Mike> provide the 'dmsetup table' output for the associated DM devices?

Did some more runs.  It turns out the old stacking algorithm identified
the two alignments as being incompatible for the wrong reasons.  That's
why a message was printed with the older kernel.

I do find it a bit strange that you pass relative offsets to the
stacking function and rely on the userland utilities to do the right
thing, though.  Doesn't that mean that existing misaligned volumes will
go undetected?  Or do you perform a check when you prepare the table
before feeding it to the kernel?


>> Note that this was run using an old EL5 LVM toolkit because I'm not
>> interested in having userland compensate for any misalignment.

Mike> OK, strikes me as odd but you must have your reasons

I'm testing the stacking function.  I'm not interested in things being
lined up.

-- 
Martin K. Petersen	Oracle Linux Engineering

--
dm-devel mailing list
dm-devel@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/dm-devel

[Index of Archives]     [DM Crypt]     [Fedora Desktop]     [ATA RAID]     [Fedora Marketing]     [Fedora Packaging]     [Fedora SELinux]     [Yosemite Discussion]     [KDE Users]     [Fedora Docs]

  Powered by Linux