Bug 138478 - lvcreate fails when using striping
Summary: lvcreate fails when using striping
Status: CLOSED NOTABUG
Alias: None
Product: Fedora
Classification: Fedora
Component: lvm2
Version: 2
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Alasdair Kergon
QA Contact:
URL:
Whiteboard:
Keywords:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2004-11-09 15:23 UTC by Simon Andrews
Modified: 2007-11-30 22:10 UTC (History)
0 users

(edit)
Clone Of:
(edit)
Last Closed: 2004-11-16 16:58:00 UTC


Attachments (Terms of Use)
Example session showing the failure (1008 bytes, text/plain)
2004-11-09 15:25 UTC, Simon Andrews
no flags Details

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.


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