PEs not aligned on extent boundary

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

 



Hi all,

I have discovered a bug with LVM 1.0.8 on the 2.4.31 kernel, where the PEs
are not aligned on the extent boundary, which results in the last PE in a
PV to be less than the configured extent size.  But the kernel LVM code
assumes all extents are the _same_ length, so when it tries to map a
logical sector to a physical sector for a 'partial PE', the physical sector
calculated will be wrong and can corrupt data.

Kashif



----------------------------------------------------------------------------------------------
See our award-winning line of tape and disk-based
backup & recovery solutions at http://www.overlandstorage.com
----------------------------------------------------------------------------------------------

_______________________________________________
linux-lvm mailing list
linux-lvm@redhat.com
https://www.redhat.com/mailman/listinfo/linux-lvm
read the LVM HOW-TO at http://tldp.org/HOWTO/LVM-HOWTO/

[Index of Archives]     [Gluster Users]     [Kernel Development]     [Linux Clusters]     [Device Mapper]     [Security]     [Bugtraq]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]

  Powered by Linux