linux-lvm.redhat.com archive mirror
 help / color / mirror / Atom feed
* [linux-lvm] Configuring extent size
@ 2010-12-07  1:33 hansbkk
  2010-12-07  2:15 ` Stuart D Gathman
  0 siblings, 1 reply; 5+ messages in thread
From: hansbkk @ 2010-12-07  1:33 UTC (permalink / raw)
  To: linux-lvm

There is a lot of apparently authoritative but conflicting information
on this topic out on the interwebs. I suspect the problem is that
changes from LVM1 to LVM2 weren't explicitly highlighted.

For example, I believe this is no longer true, but it still figures
prominently in returns from google:

> a 4 MB extent size imposes a logical volume size limitation of 256 Gigabytes

I believe the below is now true, and that this is the reason the above
is no longer relevant:

> with LVM2, there's no limit on the maximum numbers of extents per PV/LV.

IOW, the FAQ's statement:

> For 32-bit CPUs on 2.6 kernels, the maximum LV size is 16TB.

is a hard upper limit, and is not related to extent size - please confirm.


And is there a maximum size for PV or VG and would this be related to
extent size?


Also, the man page state that the *default* extent size (if none is
specified) is 4MB, but the HowTo states it's 32MB. Which is true?

Or does this vary by vgcreate version, or per-distro configuration?


Finally

> having a large number of extents will slow down the tools

leads me to:

Would there be any negative impact of a very large extent size?

I'm thinking of using 1GB (4096*256=1048576). This would make extents
human-friendly when used directly as units in allocating space. Even
10 GB would only be 2% of the smallest drive I'm using, so wouldn't
hamper flexibility, but IMO this seems a bit "out there".

Any and all feedback welcome.

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2010-12-08  3:16 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-12-07  1:33 [linux-lvm] Configuring extent size hansbkk
2010-12-07  2:15 ` Stuart D Gathman
2010-12-07  6:29   ` hansbkk
2010-12-07  6:47     ` hansbkk
2010-12-08  3:15       ` hansbkk

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).