Sector size is assumed 512

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

 



Hi,

I'm not a part of the list or the project, just a random guy dropping by to say I found one suspicious thing:

after looking for what 's' size stands for, I found that your lvmcmdline.c source code probably assumes that sector size is 512, but there are various sector sizes out in world (both for the hardware sector size and logical disk interfaces like SCSI) especially more and more popular 4096 byte sector size.

I wonder if apart of lvmcmdline.c above, also other parts of your software assume that sector size will always be 512. If yes, then I suggest rethinking if 4k sectors might break some operations in LVM.

By the way, I understand that when specifying command line parameter sector size, then it is the same for small 's' as capital 'S', right?  And the same goes for bytes ('b' is the same as 'B'), right?

Best regards,
Tomasz Lasko


_______________________________________________
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