Re: Non 512 byte sectors

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

 



On 12/13/2012 10:23 AM, Phillip Susi expounded in part:
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Is it possible to get dm to report > 512 byte sector size?  If so, how?


blockdev --getss /dev/vg/lv  (or any other block device)

That is probably logical sector size, however. The only way I know to get physical sector size is:

hdparm -I /dev/sda

which reports logical and physical sector size. Some WD devices are known to lie about physical sector size, however.

If you always align stuff to 4096, there won't be a problem. In fact, new technology tends to have much larger alignment requirements for optimum performance - say 128k, the size of an erase block, or 64k for a RAID chunk size. So aligning everything to 1M should hold you for a while.

_______________________________________________
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