Description of problem: Trying to install today's (20060307) rawhide on Mac Mini via NFS/Kickstart. Traceback (most recent call last): File "/usr/bin/anaconda", line 1218, in ? intf.run(id, dispatch) File "/usr/lib/anaconda/text.py", line 535, in run dispatch.gotoNext() File "/usr/lib/anaconda/dispatch.py", line 146, in gotoNext self.moveStep() File "/usr/lib/anaconda/dispatch.py", line 217, in moveStep rc = apply(func, self.bindArgs(args)) File "/usr/lib/anaconda/packages.py", line 151, in turnOnFilesystems partitions.doMetaDeletes(diskset) File "/usr/lib/anaconda/partitions.py", line 1283, in doMetaDeletes lvm.lvremove(name, vg) File "/usr/lib/anaconda/lvm.py", line 145, in lvremove raise SystemError, "lvremove failed" SystemError: lvremove failed Local variables in innermost frame: lvname: var vgname: rootvg args: ['lvm', 'lvremove', '-f', '/dev/rootvg/var'] dev: /dev/rootvg/var rc: 1280 Kickstart: install text nfs --server=saga --dir=/export/data1/fedora/core/5/ppc/os lang en_US.UTF-8 keyboard us mouse network --bootproto=dhcp rootpw --iscrypted CwU/lYtazWt7E firewall --disabled selinux --enforcing authconfig --enableshadow --enablenis --nisdomain=yp.colorado-research.com timezone America/Denver xconfig --startxonboot --defaultdesktop=KDE --resolution=1600x1200 --depth=24 clearpart --linux part appleboot --fstype "Apple Bootstrap" --size=1 --maxsize=1 part /boot --fstype ext3 --size=50 part pv.1 --size=1 --grow volgroup rootvg pv.1 logvol / --vgname=rootvg --size=512 --name=root logvol swap --fstype=swap --vgname=rootvg --recommended --name=swap logvol /usr --vgname=rootvg --size=4000 --name=usr logvol /var --vgname=rootvg --size=512 --name=var logvol /export/data1 --vgname=rootvg --size=1 --name=data1 --grow bootloader --location=mbr reboot
Created attachment 125773 [details] Full anaconda dump log
Running "lvm lvremove -f /dev/rootvg/var" in the F2 console gives: File descriptor 20 left open File descriptor 22 left open File descriptor 26 left open File descriptor 29 left open File descriptor 30 left open File descriptor 34 left open Inconsistent metadata copies found - updating to use version 17 Volume group rootvg metadata is inconsistent Volume group for uuid not found: BnuA566JAd0Te2EW41HZqd9W6Dk0aow01UlFmg9tBMWqaJrzJvPDpQmQF2Iloi Unable to deactivate logical volume "var" I can no longer boot my old FC4 system due to Volume group "rootvg" inconsistent messages. Since my kickstart file indicates to clear all linux partitions, I'm not sure why it's bothering to remove the logical volumes. Why not just deactivate them and delete the partition?
Great, we get to fight over whether this is an anaconda bug or an lvm bug. Probably both... Ok, wiped the partition and did a fresh fc4 install. Then did an upgrade to the latest rawhide. Now trying to do a reinstall of latest rawhide over top with the above kickstart and get the same error (though on /dev/rootvg/data1 this time). Why are we removing logical volumes and not clearing partitions? Why is lvm corrupting what was a perfectly good volume group? Oh well, not much worse than the FC4 bug where you had to boot the installer twice to clear partions, though this time you have to do it manually (but may only be on ppc).
Install with today's rawhide worked. Looks like anaconda may not be doing a lvm remove any more. In any case, it's fixed.