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

Re: [linux-lvm] Non 512 byte sectors



On Thu, Dec 13 2012 at 10:23am -0500,
Phillip Susi <psusi 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


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