linux-lvm.redhat.com archive mirror
 help / color / mirror / Atom feed
From: Mike Snitzer <snitzer@redhat.com>
To: Phillip Susi <psusi@ubuntu.com>
Cc: LVM general discussion and development <linux-lvm@redhat.com>
Subject: Re: [linux-lvm] Non 512 byte sectors
Date: Fri, 14 Dec 2012 14:29:53 -0500	[thread overview]
Message-ID: <20121214192953.GB3148@redhat.com> (raw)
In-Reply-To: <50C9F2D6.7090802@ubuntu.com>

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

  parent reply	other threads:[~2012-12-14 19:29 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-12-13 15:23 [linux-lvm] Non 512 byte sectors Phillip Susi
2012-12-14 18:52 ` Stuart D Gathman
2012-12-14 19:29 ` Mike Snitzer [this message]
2012-12-14 19:56   ` Phillip Susi
2012-12-14 20:10     ` Mike Snitzer
2012-12-14 22:05       ` Phillip Susi

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20121214192953.GB3148@redhat.com \
    --to=snitzer@redhat.com \
    --cc=linux-lvm@redhat.com \
    --cc=psusi@ubuntu.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).