250G limit........
I remember something or other about a 250G per vg limit while I was originally setting up my lvm....does this 250G limit still stand?
If so, are there any future plans to remove it? I just thought it would be interesting to have a full TB on LVM, and I've got the disks to test it/try it/crash it.
:)
Glenn
Quoted 2 lines · Glenn Shannon
I remember something or other about a 250G per vg limit while I was originally setting up my lvm....does this 250G limit still stand?
IIRC 255G.
Quoted 3 lines
If so, are there any future plans to remove it? I just thought it would be interesting to have a full TB on LVM, and I've got the disks to test it/try it/crash it.
Well, it's only a limit if you accept the defaults.
man vgcreate -s.
Signature · 1 line
Share and Enjoy.
Quoted 1 line · Glenn Shannon
I remember something or other about a 250G per vg limit while I was originally setting up my lvm....does this 250G limit still stand?
It is actually a per 'logical volume' not a per 'volume group' limit in LVM1.
A volume group can have up to 256 physical volumes with 2TB size each.
Quoted 2 lines
If so, are there any future plans to remove it? I just thought it would be interesting to have a full TB on LVM, and I've got the disks to test it/try it/crash it.
Will be removed in LVM2.
Probably not in LVM1 because it means an incompatible change of the on-disk metadata which will be supported by LVM2 anyway.
So you could work around that per LV limit with LVM2 once it is production ready, which we plan for late summer.
Quoted 5 lines
:)
Glenn
Signature · 15 lines
Regards,
Heinz -- The LVM Guy --
*** Software bugs are stupid.
Nevertheless it needs not so stupid people to solve them ***
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Heinz Mauelshagen Sistina Software Inc.
Senior Consultant/Developer Am Sonnenhang 11
56242 Marienrachdorf
Germany
[email protected] +49 2626 141200
FAX 924446
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-Quoted 9 lines · Glenn Shannon
I remember something or other about a 250G per vg limit while I was originally setting up my lvm....does this 250G limit still stand?
If so, are there any future plans to remove it? I just thought it would be interesting to have a full TB on LVM, and I've got the disks to test it/try it/crash it.
:)
Glenn
bash# vgdisplay
--- Volume group ---
VG Name sunset_vg VG Access read/write VG Status available/resizable VG # 0 MAX LV 255 Cur LV 6 Open LV 6 MAX LV Size 1.00 TB Max PV 255 Cur PV 2 Act PV 2 VG Size 46.25 GB PE Size 32.00 MB Total PE 1480 Alloc PE / Size 1412 / 44.12 GB Free PE / Size 68 / 2.12 GB VG UUID HMrqdp-Hf5n-FfCP-5W2D-fyw6-UHcn-MMB7Wr
You can see from this volume group, I set the PE size when it was created to 32mb This gives me a maximum of 1TB in that volume group.
vgcreate -s <size> ....
From the man page....
-s, --physicalextentsize PhysicalExtentSize[kKmMgGtT]
Sets the physical extent size on physical volumes of this volume group. A size suffix (k for kilo<AD> bytes 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.
Things to note when setting up your PE size, you cannot change this value LATER so setting a bigger number is better, setting a bigger number is less efficent with your disk space as odd fractions at the end below the PE size will be lost. lvm reserves one of your PEs for itself, so to large a size can be bad.
A large size sets the minimum partition size you can create in my example 32mb I can live with that...
A large size reduces the total table size for a PE (for a give ammount of disk space), so reduces the lookup time, and increase the ablitity for the processor to fit more of it in processor cache, thereby giving fast lookups.
Setting this value is a "magic" I would suggest for "home" use a value of 16m or 32m is quite appropriate,, but the choice is yours. Its best to over estimate than under-estimate. If you fill the vg table with PEs you cannot extend it later.....
James
Depends on the size of your extents.
I have a 6TB VG sitting on one of my systems, due to perusing the FM
when I was setting it up... ;-)
Quoth Glenn Shannon:
Quoted 8 lines
I remember something or other about a 250G per vg limit while I was originally setting up my lvm....does this 250G limit still stand?
If so, are there any future plans to remove it? I just thought it would be interesting to have a full TB on LVM, and I've got the disks to test it/try it/crash it.
:)
Glenn
Signature · 3 lines
"Avoid strong drink;
it makes you shoot at tax collectors... and miss."
-- JC