[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 10:39:19 EDT 2009


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 machine was installed with F9 (using this same ks), and now I want
to test re-installing it.

On F9 anaconda repartitions the hard drive, and installs the system anew.

With F11, anaconda dies with (transcribed, partial backtrace as I
cannot grab the logs):

  file /usr/lib/anaconda/kickstart.py - line 934 in parse
    peSize=vgd/pesize/1024.0)
  file /usr/lib/anaconda/storage/__init__.py line 616 in newVG
    raise ValueError("name already in use")

Any ideas?

cheers,



m
-- 
 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


More information about the Server-devel mailing list