Bug 621841 - kickstart fails with lv is too large to fit in free space
Summary: kickstart fails with lv is too large to fit in free space
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: Fedora
Classification: Fedora
Component: anaconda
Version: 13
Hardware: All
OS: Linux
low
medium
Target Milestone: ---
Assignee: Anaconda Maintenance Team
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2010-08-06 09:12 UTC by Ian Donaldson
Modified: 2011-05-05 10:02 UTC (History)
5 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2010-08-06 14:07:42 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Bugzilla 702292 1 None None None 2021-01-20 06:05:38 UTC

Internal Links: 702292

Description Ian Donaldson 2010-08-06 09:12:44 UTC
Description of problem:

Anaconda gives an exception with error contained therein

  lv is too large to fit in free space

when doing kickstart with RAID/LVM setup


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

fc13

How reproducible:

100%


Steps to Reproduce:
1.  ks.cfg has this in it:

part raid.01 --size=256 --ondisk=sda
part raid.02 --size=256 --ondisk=sdb
part raid.03 --size=1 --grow --ondisk=sda
part raid.04 --size=1 --grow --ondisk=sdb
raid /boot --fstype ext3 --level=RAID1 --device=md0 raid.01 raid.02
raid pv.01 --fstype ext3 --level=RAID1 --device=md1 raid.03 raid.04
volgroup VolGroup00 pv.01
logvol swap       --fstype swap --name=LogVol00 --vgname=VolGroup00 --size=4096
logvol /lvmbackup --fstype ext3 --name=backup   --vgname=VolGroup00 --size=4096
logvol /          --fstype ext4 --name=LogVol01 --vgname=VolGroup00 --size=1 --grow

and the server (Sun Fire X2100 M2) has 2 x 250G SATA disks

2.
3.
  
Actual results:


Expected results:

successful kick

Additional info:

Looks to be identical to bug reported against FC11.
 
   https://bugzilla.redhat.com/show_bug.cgi?id=495247

Workaround is to change --size=1 to --size=50000 in the part... grow config.

ie: 

part raid.03 --size=50000 --grow --ondisk=sda
part raid.04 --size=50000 --grow --ondisk=sdb

Comment 1 Chris Lumens 2010-08-06 14:07:42 UTC
Right, as you mentioned, you should use --size= parameters that are reasonable by default and then --grow from there.  Using --size=1 --grow is no longer recommended.


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