Skip to contentSkip to conversation

fc2 & lvm2 MAX LV

linux-lvm Dan Fleischer 2 participants 3 messages Sep 2, 2004

lore
Share & tools
lore
#0 lore raw

From "On Fri, Mar 26, 2004 at 10:16:44AM -0600, AJ Lewis wrote:" <snip>
The PE size limitation isn't present in lvm2 (The version of lvm that works in 2.6) if you use the native lvm2 format. So you should be able to create larger than 2TB LVs with LVM2. Just FYI.
------------------
I recently setup a test box with FC1 and lvm1 with a PE size of 32MB yielding a MAX LV of 2TB. I then installed FC2 on that box, thinking that if I were to specify PE of 64MB I could get a 4TB limit.

However, running vgdisplay seems to be telling me that I only have a MAX LV of 255 GB, as follows:

# vgdisplay
  --- Volume group ---
  VG Name               Volume00
  System ID
  Format                lvm2
  Metadata Areas        2
  Metadata Sequence No  3
  VG Access             read/write
  VG Status             resizable
  MAX LV                255
  Cur LV                2
  Open LV               2
  Max PV                255
  Cur PV                2
  Act PV                2
  VG Size               220.50 GB
  PE Size               64.00 MB
  Total PE              3528
  Alloc PE / Size       3526 / 220.38 GB
  Free  PE / Size       2 / 128.00 MB

What does this mean? Do I have more LV space available, but it only tells me what my current limit is based on installed drives?

Should I reinstall with at smaller, and presumably more efficient, PE Size?

Signature · 9 lines
Dan Fleischer
Bank & Trust Co.
PO Box 467
900 W. Main St.
Carlinville, IL 62626

Ph. 217-854-3554
Fax 217-854-3244
http://www.bank-and-trust.com
#1 lore raw
Quoted 3 lines · Dan Fleischer

a MAX LV of 255 GB, as follows:

MAX LV 255

A configurable maximum of 255 logical volumes, not GB.

Try out
vgchange -l

Alasdair

Signature · 1 line
[email protected]
#2 lore raw
In reply to Dan Fleischer
Quoted 2 lines · Dan Fleischer

Should I reinstall with at smaller, and presumably more efficient, PE Size?

A bigger PE size is more efficient for tools performance. PE size is irrelevant to I/O performance.
LVs should go up to 16TB OK, though filesystems might not.

Alasdair

Signature · 1 line
[email protected]