[linux-lvm] Non 512 byte sectors
Mike Snitzer
snitzer at redhat.com
Fri Dec 14 19:29:53 UTC 2012
On Thu, Dec 13 2012 at 10:23am -0500,
Phillip Susi <psusi at ubuntu.com> wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> Is it possible to get dm to report > 512 byte sector size? If so, how?
DM will automatically stack the physical and logical sector sizes based
on the devices that are assembled into the DM device.
So if you create an LV on a 4K device the associated DM device will
report the same physical and logical block size. You can verify as much
by looking at:
/sys/block/dm-X/queue/physical_block_size
/sys/block/dm-X/queue/logical_block_size
There are more details about IO limits stacking here:
http://people.redhat.com/msnitzer/docs/io-limits.txt
More information about the linux-lvm
mailing list