CentOS Bug Tracker
CentOS Website

Viewing Issue Simple Details Jump to Notes ] View Advanced ] Issue History ] Print ]
ID Category Severity Reproducibility Date Submitted Last Update
0003927 [CentOS-5] -OTHER major always 2009-10-22 21:19 2009-10-24 22:45
Reporter cvstealth View Status public  
Assigned To
Priority normal Resolution open  
Status new   Product Version 5.4
Summary 0003927: PXE initrd unable to activate LVM
Description I'm running into an issue with the PXE initrd not activating the LVM that is in the kickstart profile. If I change the kickstart profile to use raw partitions then the image has no problems installing. The error on the screen is "An error occured trying to format myvg/rootvol..." When I flip to the command line shell /dev/myvg/rootvol is not activated and I have to run lvm.static lvchange -a y /dev/myvg/rootvol by hand then I can run the mke2fs -b 4096 -j /dev/myvg/rootvol.




Additional Information ks.cfg broken:
partition pv.01 --size=1000 --grow
partition swap --size=1000 --maxsize=2000
partition /boot --fstype=ext3 --size=200
volgroup myvg pv.01
logvol / --vgname=myvg --name=rootvol --size=1000 --grow

ks.cfg working:
partition / --size=5000 --grow
partition swap --size=1000 --maxsize=2000
partition /boot --fstype=ext3 --size=200
Tags No tags attached.
Attached Files

- Relationships

-  Notes
(0010140)
_lunix_ (reporter)
2009-10-24 03:19

Works for me when installing x86_64 CentOS 5.4 via PXE & kickstart
It does seem to get stuck for ages on "installing" with no progress showing up on screen(5+minutes). I thought it had failed at first and started again but it did it a second time so I went made coffee and come back and it was then updating as each package was being installed.


ks=http://scrappy.lunix.lan/ks/centos-5.4_x86_64-kvm.ks [^] initrd=images/centos/x86_64/5.4/initrd.img ramdisk_size=100000 ksdevice=eth0 ip=dhcp url --url http://scrappy.lunix.lan/os/centos/5.4/x86_64 [^]
( i copied initrd & vmlinuz from the images/pxeboot directory on the dvd. )

--centos-5.4_x86_64-kvm.ks--

bootloader --location=mbr --driveorder=sda
clearpart --all
part /boot --fstype ext3 --size=150 --asprimary
part swap --size=4096
part pv.01 --size=939008

volgroup vg_root pv.01
logvol / --vgname=vg_root --fstype ext3 --size=8192 --name=lv_root
logvol /var --vgname=vg_root --fstype ext3 --size=20480 --name=lv_var
logvol /tmp --vgname=vg_root --fstype ext3 --size=2048 --name=lv_tmp
logvol /virt --vgname=vg_root --fstype ext3 --size=409600 --name=lv_virt
logvol /home --vgname=vg_root --fstype ext3 --size=1024 --grow --name=lv_home

--centos-5.4_x86_64-kvm.ks--
(0010157)
tru (administrator)
2009-10-24 22:01

so it's working as espected? closing the entry as not a bug?
(0010158)
_lunix_ (reporter)
2009-10-24 22:45

@tru It works for me.

- Issue History
Date Modified Username Field Change
2009-10-22 21:19 cvstealth New Issue
2009-10-22 21:21 herrold Issue Monitored: herrold
2009-10-24 03:19 _lunix_ Note Added: 0010140
2009-10-24 03:20 _lunix_ Issue Monitored: _lunix_
2009-10-24 22:01 tru Note Added: 0010157
2009-10-24 22:45 _lunix_ Note Added: 0010158


Copyright © 2000 - 2009 Mantis Group
Powered by Mantis Bugtracker