From: Jon Bendtsen <jon@silicide.dk>
To: linux-lvm@sistina.com
Subject: Re: [linux-lvm] Max storage size per system
Date: Tue Mar 4 08:30:02 2003 [thread overview]
Message-ID: <3E64B885.1AF49EDA@silicide.dk> (raw)
In-Reply-To: 20030304114851.GA22965@hcsd.de
Stephan Austermuehle wrote:
>
> Hello,
>
> what is the absolut maximum storage capacity that can be managed on a
> single Linux 2.4 system with LVM?
man vgcreate
-s, --physicalextentsize PhysicalExtentSize[kKmMgGtT]
Sets the physical extent size on physical volumes of this
volume group.
A size suffix (k for kilobytes up to t for terabytes)
is optional,
megabytes is the default if no suffix is present. Values
can be from 8
KB to 16 GB in powers of 2. The default of 4 MB causes
maximum LV sizes
of ~256GB because as many as ~64k extents are supported
per LV. In case
larger maximum LV sizes are needed (later), you need to
set the PE size
to a larger value as well. Later changes of the PE size
in an existing
VG are not supported.
So, this means you can allocate
64k * 16G == 64*1024 * 16*1024*1024*1024 == 1125899906842624 bytes ==
1024Tera Bytes,
Hovever,
To limit kernel memory usage, there is a limit of 65536 physical
extents (PE)
per logical volume, so the PE size determines the maximum
logical volume size.
The default PE size of 4MB limits a single logical volume to
256GB (see the -s
option to raise that limit). There is also (as of Linux 2.4) a
kernel limita
tion of 2TB per block device.
So, this would mean 2TB pr. LV, but there can also be a number of LV's.
I dont remember how many, but proberly a power of 2, like 256 or 64k.
But wait, there is more...
You can have more than one VG system on your linux (no idea how many, i
have had 2)
So, all in all, i would asume you can have MANY TERABYTES. Possibly
Penta? bytes ?
How much space do you need anyway ?
JonB
next prev parent reply other threads:[~2003-03-04 8:30 UTC|newest]
Thread overview: 26+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-03-04 8:11 [linux-lvm] Max storage size per system Stephan Austermuehle
2003-03-04 8:30 ` Jon Bendtsen [this message]
2003-03-05 7:52 ` Stephan Austermuehle
2003-03-05 9:06 ` Anders Widman
2003-03-05 11:12 ` Jesse Keating
2003-03-06 8:19 ` Stephan Austermuehle
2003-03-06 19:35 ` Petro
2003-03-09 16:59 ` Stephan Austermuehle
2003-03-09 20:09 ` Jesse Keating
2003-03-06 8:19 ` Stephan Austermuehle
2003-03-06 10:23 ` jon+lvm
2003-03-07 8:01 ` Stephan Austermuehle
2003-03-07 9:37 ` Jon Bendtsen
2003-03-09 16:59 ` Stephan Austermuehle
2003-03-10 3:48 ` Jon Bendtsen
2003-03-05 11:40 ` Wiktor Wodecki
2003-05-05 14:39 ` [linux-lvm] can i extend a volumen bigger 256 gigas ?thx fnt
2003-05-05 15:20 ` Erik Nugent
2003-05-05 15:40 ` Daniel Barbar
2003-05-05 15:45 ` [linux-lvm] can i extend a volumen bigger 256 gigas ?thx-thanks for ur time fnt
2003-05-05 15:48 ` [linux-lvm] can i extend a volumen bigger 256 gigas ?thx fnt
2003-05-05 15:57 ` Jose Luis Domingo Lopez
2003-03-06 4:21 ` [linux-lvm] Max storage size per system jon+lvm
2003-03-04 11:45 ` Heinz J . Mauelshagen
-- strict thread matches above, loose matches on Subject: below --
2003-03-05 11:40 Sharad Tiwari
2003-03-05 11:45 re[2]: " Greg Freemyer
2003-03-06 8:19 ` Stephan Austermuehle
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=3E64B885.1AF49EDA@silicide.dk \
--to=jon@silicide.dk \
--cc=linux-lvm@sistina.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