linux-lvm.redhat.com archive mirror
 help / color / mirror / Atom feed
From: Zdenek Kabelac <zkabelac@redhat.com>
To: LVM general discussion and development <linux-lvm@redhat.com>,
	"David F." <df7729@gmail.com>
Subject: Re: [linux-lvm] Trying to understand format of LVM2 - Question on Extent Size
Date: Thu, 26 Jul 2018 10:58:24 +0200	[thread overview]
Message-ID: <81231cae-0472-fb28-f14f-cf8354d4fe2c@redhat.com> (raw)
In-Reply-To: <CAGRSmLuo1ivu5eskvPMvNzmwOWFtUrnOEKUKHaTtjk7ynwc+BA@mail.gmail.com>

Dne 26.7.2018 v 06:25 David F. napsal(a):
> Never mind, the answer is the extent_size is the number of sectors (or perhaps 
> it's the number of 512 byte blocks, I'll have to test on 4K sector 
> drives).     So in this case 4M and 4M*3840 is the 16G (not 16M which was the 
> 3840*4096).
> 
> On Wed, Jul 25, 2018 at 5:37 PM, David F. <df7729@gmail.com 

Hi


extent_size is always in 512b unit  and ATM it's 32b value.


extent_count is in 'extent_size' unit  and ATM it's 32b value.


Volume size    extent_size * extent_count   (so  32b * 32b =>  64b size).


Depending on your extent_size you are limiting maximum volume size.
Thus if you need to use  Exa byte volume sizes you clearly need to go with 4G 
extent size.


Regards


Zdenek

      reply	other threads:[~2018-07-26  8:58 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-07-26  0:37 [linux-lvm] Trying to understand format of LVM2 - Question on Extent Size David F.
2018-07-26  4:25 ` David F.
2018-07-26  8:58   ` Zdenek Kabelac [this message]

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=81231cae-0472-fb28-f14f-cf8354d4fe2c@redhat.com \
    --to=zkabelac@redhat.com \
    --cc=df7729@gmail.com \
    --cc=linux-lvm@redhat.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).