Bug 138478

Summary: lvcreate fails when using striping
Product: [Fedora] Fedora Reporter: Simon Andrews <simon.andrews>
Component: lvm2Assignee: Alasdair Kergon <agk>
Status: CLOSED NOTABUG QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: 2   
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-16 16:58:00 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:
Attachments:
Description Flags
Example session showing the failure none

Description Simon Andrews 2004-11-09 15:23:42 UTC
Description of problem:

lvcreate fails when using striping but completes if this is omitted.


Version-Release number of selected component (if applicable):

lvm2-2.00.15-2


How reproducible:

Always

Steps to Reproduce:
1. Initialise multiple disks with pvcreate
2. Create new volume group with vgcreate
3. Run vgdisplay then try to create a striped volume covering the
entire extent of the group using the free size reported.  
  
Actual results:

Creation fails citing a requirement for less allocatable extents than
are listed as free by vgdisplay

Expected results:

Creation should succeed.


Additional info:

Comment 1 Simon Andrews 2004-11-09 15:25:40 UTC
Created attachment 106344 [details]
Example session showing the failure

Comment 2 Alasdair Kergon 2004-11-09 17:06:03 UTC
 Total PE              122506

which is not divisible by 4, so your disks can't be identical in size.

You can only have 4-way striping until you've filled your smallest disk.