Anaconda 13.21.195 mistakenly creating two physical volume groups

Harry Hoffman hhoffman at ip-solutions.net
Sun Aug 11 15:06:45 UTC 2013


Hi All,

I'm attempting to do a install of CentOS 6.4 and anaconda is doing some
weird things with my partitions. It's creating my volume group and a
test_vg volume group too.

I'm running the install through cobbler 2.4.0-1 (latest version) and the
system being installed is a kvm guest with a 8GB disk. Both are x86_64 arch.

Here's the partitioning I'm requesting via the kickstart:

# Partition clearing information
zerombr
clearpart --all --initlabel
partition /boot --fstype ext4 --size=512 --asprimary
partition pv.2 --grow --size=1 --asprimary
volgroup OS_VOL --pesize=4096 pv.2
logvol / --fstype ext4 --name=lv_root --vgname=OS_VOL --size=1024
logvol swap --name=lvSwap --vgname=OS_VOL --size=512
logvol /var --fstype ext4 --name=lv_var --vgname=OS_VOL --size=1024
logvol /var/log --fstype ext4 --name=lv_var_log --vgname=OS_VOL --size=1024
logvol /var/log/audit --fstype ext4 --name=lv_audit --vgname=OS_VOL
--size=512
logvol /home --fstype ext4 --name=lv_home --vgname=OS_VOL --size=1024
logvol /tmp --fstype ext4 --name=lv_tmp --vgname=OS_VOL --size=768


Anaconda is reporting errors about there not being enough space for the
requested partitions. When I switch to vc 2 and run pvdisplay I see
*two* physical volume groups!

LV Creation host, time test.ip-solutions.net, 2013-08-11 14:47:39 -0400
[anaconda root at test /]# pvdisplay
  --- Physical volume ---
  PV Name /dev/sda4
  VG Name OS_VOL
  PV Size 3.50 GiB / not usable 0
  Allocatable yes(but full)
  PE Size  4.00 MiB
  Total PE  897
  Free PE 0
  Allocated PE  897
  PV UUID RAltM1-9ApR-HEi2-lwUF-dY8j-iA34-1pG5gx

  --- Physical volume ---
  PV Name /dev/sda4
  VG Name vg_test
  PV Size 3.50 GiB / not usable 0
  Allocatable yes(but full)
  PE Size  4.00 MiB
  Total PE  897
  Free PE 0
  Allocated PE  897
  PV UUID D2XcwM-wYb3-8QW1-egKt-rrZN-WSXB-1Gc8BI

Has anyone seen this before?

Cheers,
Harry





More information about the Kickstart-list mailing list