Bug 140562

Summary: lvcreate: failing silently on VG creation if PV hasn't enough extents available
Product: Red Hat Enterprise Linux 4 Reporter: Derek Anderson <danderso>
Component: system-config-lvmAssignee: Jim Parsons <jparsons>
Status: CLOSED RAWHIDE QA Contact: Jim Parsons <jparsons>
Severity: medium Docs Contact:
Priority: medium    
Version: 4.0CC: cluster-maint, danderso
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2004-11-23 21:23:07 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

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.