Patrick Caulfield wrote:

It might be that you are using LVM1 format metadata - which still has this
restriction.

vgconvert will upgrade that metadata to LVM2 and remove the limit.

(BTW the default of 4MB PE size is years old on LVM1 (25/10/2002), and has never been a limitation in LVM2)



Hmm. If that's really the case, then the manpage for vgcreate is in need of some serious updating. Some extracts:


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


... and...

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 logi-
cal volume to 256GB (see the -s option to raise that limit). There is
also (as of Linux 2.4) a kernel limitation of 2TB per block device.


 Christian



--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Reply via email to