[Server-devel] F11: re-installing on an LVM from Kickstart dies with 'name already in use'

Martin Langhoff martin.langhoff at gmail.com
Wed Oct 28 12:54:33 EDT 2009

On Wed, Oct 28, 2009 at 3:39 PM, Martin Langhoff
<martin.langhoff at gmail.com> wrote:
> I am seeing anaconda die with a kickstart that defines LVMs and
> partitions like this:
> clearpart --drives=sda
> bootloader --location=mbr
> part /boot --fstype ext3 --size=100 --ondisk=sda
> part / --fstype ext3 --size=2048 --maxsize=8192 --grow --ondisk=sda
> part pv.6 --size=1025 --grow --ondisk=sda
> volgroup VolGroup00 --pesize=32768 pv.6
> logvol /library --fstype ext3 --name=LogVol00 --vgname=VolGroup00
> --size=1 --grow
> logvol swap --fstype swap --name=LogVol01 --vgname=VolGroup00
> --size=1024 --maxsize=2048 --grow

The same definition dies on a blank disk -- with the following backtrace

anaconda exception report
Traceback (most recent call first):
  File "/usr/lib/anaconda/storage/devices.py", line 2048, in _setSize
    raise ValueError("not enough free space in volume group")
  File "/usr/lib/anaconda/storage/partitioning.py", line 1163, in growLVM
    lv.size += grow_amounts[lv.name]
  File "/usr/lib/anaconda/storage/partitioning.py", line 197, in doAutoPartition
  File "/usr/lib/anaconda/dispatch.py", line 205, in moveStep
    rc = stepFunc(self.anaconda)
  File "/usr/lib/anaconda/dispatch.py", line 128, in gotoNext
  File "/usr/lib/anaconda/gui.py", line 1339, in nextClicked
ValueError: not enough free space in volume group

Is the LV definition invalid for some reason? Is LV expected to work?


 martin.langhoff at gmail.com
 martin at laptop.org -- School Server Architect
 - ask interesting questions
 - don't get distracted with shiny stuff  - working code first
 - http://wiki.laptop.org/go/User:Martinlanghoff
-------------- next part --------------
A non-text attachment was scrubbed...
Name: anaconda.log.gz
Type: application/x-gzip
Size: 3877 bytes
Desc: not available
Url : http://lists.laptop.org/pipermail/server-devel/attachments/20091028/2c49edc7/attachment-0002.bin 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: anacdump.txt.gz
Type: application/x-gzip
Size: 25936 bytes
Desc: not available
Url : http://lists.laptop.org/pipermail/server-devel/attachments/20091028/2c49edc7/attachment-0003.bin 

More information about the Server-devel mailing list