Bug 140562 - lvcreate: failing silently on VG creation if PV hasn't enough extents available
Summary: lvcreate: failing silently on VG creation if PV hasn't enough extents available
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Red Hat Enterprise Linux 4
Classification: Red Hat
Component: system-config-lvm
Version: 4.0
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
: ---
Assignee: Jim Parsons
QA Contact: Jim Parsons
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2004-11-23 17:15 UTC by Derek Anderson
Modified: 2009-04-16 23:11 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2004-11-23 21:23:07 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description Derek Anderson 2004-11-23 17:15:41 UTC
Description of problem:
Create a VG with two PVs where one of the PVs is bigger than the
other.  Then create an LV on that VG (2 stripes, 64K) with a size that
is more than twice the size of the smallest PV.

Results:  Fails silently
Expect:   Error message that there were not enough free extents on the
smaller PV to complete this operation.

Version-Release number of selected component (if applicable):
system-config-lvm-0.9.16-1.0

How reproducible:


Steps to Reproduce:
1.
2.
3.
  
Actual results:


Expected results:


Additional info:

Comment 1 Jim Parsons 2004-11-23 19:00:18 UTC
Fixed @ 0.9.17-1.0

Comment 2 Derek Anderson 2004-11-23 21:23:07 UTC
I am now getting an error similar to the following, which is what is
expected:

lvcreate command failed. Command attempted: "/usr/sbin/lvcreate -n LV1
-l 10000 -i 2 -I 64 VG1" - System Error Message:   Insufficient
allocatable extents suitable for parallel use for logical volume LV1:
10000 required

Verified in system-config-lvm-0.9.17-1.0.


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