Bug 143148 - vgcreate claim max 65k PV which is wrong for LVM2
Summary: vgcreate claim max 65k PV which is wrong for LVM2
Keywords:
Status: CLOSED DUPLICATE of bug 129701
Alias: None
Product: Red Hat Enterprise Linux 4
Classification: Red Hat
Component: lvm2
Version: 4.0
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
: ---
Assignee: Alasdair Kergon
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2004-12-16 21:19 UTC by Milan Kerslager
Modified: 2007-11-30 22:07 UTC (History)
0 users

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2005-01-27 17:39:20 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description Milan Kerslager 2004-12-16 21:19:36 UTC
As you see below, I created VG with PE size 8kB under RHEL4b2 (LVM2)
on an 120GB HDD. Then I created VG and then LV with 13107200 LE (PE)
units.

Under LVM1 number of PE (LE) has been limited to 65535 and this causes
a lot of headaches because LV size limit.

The man page for vgcreate should be fixed for LVM2 to describe this
change and maybe suggestion to convert LVM1 to LVM2 to remove this
limitation.



# pvdisplay
  --- Physical volume ---
  PV Name               /dev/hdh
  VG Name               TEST
  PV Size               111,79 GB / not usable 0
  Allocatable           yes
  PE Size (KByte)       8
  Total PE              14652392
  Free PE               1545192
  Allocated PE          13107200
  PV UUID               wd6WMz-d6ag-6UUB-J5yY-HrmF-Dw87-XYIN1u

# vgdisplay
  --- Volume group ---
  VG Name               TEST
  System ID
  Format                lvm2
  Metadata Areas        1
  Metadata Sequence No  2
  VG Access             read/write
  VG Status             resizable
  MAX LV                0
  Cur LV                1
  Open LV               0
  Max PV                0
  Cur PV                1
  Act PV                1
  VG Size               111,79 GB
  PE Size               8,00 KB
  Total PE              14652392
  Alloc PE / Size       13107200 / 100,00 GB
  Free  PE / Size       1545192 / 11,79 GB
  VG UUID               kR7EWz-MdTy-EZxn-2JFq-Ppqq-ygK2-tg3S6V

# lvdisplay
  --- Logical volume ---
  LV Name                /dev/TEST/lvol0
  VG Name                TEST
  LV UUID                vKWK3r-RKUt-6BQc-pniK-tOhd-23X8-L2lLjl
  LV Write Access        read/write
  LV Status              available
  # open                 0
  LV Size                100,00 GB
  Current LE             13107200
  Segments               1
  Allocation             inherit
  Read ahead sectors     0
  Block device           253:1

Comment 1 Alasdair Kergon 2004-12-21 15:22:18 UTC

*** This bug has been marked as a duplicate of 129701 ***


Note You need to log in before you can comment on or make changes to this bug.