[linux-lvm] Is there a maximum for LV?
AJ Lewis
lewis at sistina.com
Wed Dec 10 07:57:02 UTC 2003
On Dec 9, 2003, at 1:26 PM, Jose Luis Domingo Lopez wrote:
> On Tuesday, 09 December 2003, at 09:29:05 -0500,
> Yanick Quirion wrote:
>
>> On the past I was using lvm 1.1rc2. For an unknown reason, the
>> version is not anymore available.
>> But with this version, when I do a "vgdisplay" I was able to saw the
>> LV Max Size:
>>
>> How I'm testing LVM2. The field "MAX LV Size" is not there anymore.
>> Is this means that LV doesn't have a maximum?
>>
> From vgcreate(8):
> -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 it seems you have a 255 GiB limit on LV sizes with your LVM2 setup.
> This
> same limitation is what applies to LVM2 Logical Volumes, and the math
> is
> simple to do.
Actually, LVM2 no longer has a limitation on LV size based on PE size
when using format2 metadata (which is used by default when creating new
VGs). So Yanick is correct in surmising the LV no longer has a maximum
in LVM2 if the VG and LVs in question were created with the lvm2 tools.
If the VG was made with LVM1, or was created with the -M1 flag to
vgcreate in LVM2, it does indeed still have the limit imposed by the
format1 metadata.
Regards,
--
AJ Lewis
Sistina Software Inc. http://www.sistina.com
720 Washington Ave, Suite 200 Voice: 612-638-0500
Minneapolis, MN 55414 E-Mail:
lewis_NOSPAM_(AT)sistina(DOT)com
Current GPG fingerprint = D638 9C01 D08F 29A4 5D50 D064 F6A6 0ED6 E386
E6EB
Grab the key at: http://people.sistina.com/~lewis/gpg.html or one of the
many keyservers out there...
I have yet to meet a C compiler that is more friendly and easier to use
than eating soup with a knife.
--
AJ Lewis
Sistina Software Inc. http://www.sistina.com
720 Washington Ave, Suite 200 Voice: 612-638-0500
Minneapolis, MN 55414 E-Mail:
lewis_NOSPAM_(AT)sistina(DOT)com
Current GPG fingerprint = D638 9C01 D08F 29A4 5D50 D064 F6A6 0ED6 E386
E6EB
Grab the key at: http://people.sistina.com/~lewis/gpg.html or one of the
many keyservers out there...
Chaos, panic, pandemonium - my work here is done
-------------- next part --------------
A non-text attachment was scrubbed...
Name: PGP.sig
Type: application/pgp-signature
Size: 186 bytes
Desc: This is a digitally signed message part
URL: <http://listman.redhat.com/archives/linux-lvm/attachments/20031210/fd7669bb/attachment.sig>
More information about the linux-lvm
mailing list