Red Hat Bugzilla – Bug 232741
failure to activate pre-existing logical volumes
Last modified: 2007-11-30 17:11:59 EST
Kickstart install on x86_64, /boot and one swap partition in regular partitions,
/, more swap and other stuff in logical volumes.
When the time comes to activate swap devices, IIRC before resolving deps, we get
a failure (must reboot) because the logical volumes are not active.
Version-Release number of selected component (if applicable):
It's not just about swap. If I disable the swap device entirely (removing even
the magic numbers, otherwise #!#!& :-) anaconda will still recognize it and try
to use it automatically) it then fails to format the root partition.
I tried to start a sleep 1 && lvm vgchange -ay loop in VT2, to no avail. It's
probably deactivating everything and then trying to use the devices as if they
were active too fast for such a loop to win the race :-(
Can you attach your kickstart file and the contents of the error message to this
Created attachment 154240 [details]
Example of kickstart file (among many) that triggers the problem
Sorry that it took so long. The error message is:
Error enabling swap device all/swap: No such file or directory
This most likely means this swap partition has not been initialized.
Press OK to reboot your system.
This message is displayed after it formats and brings up /dev/sda2 as one of
the swap devices.
in VT3, I see a list of the LVs, the message about formatting sda2, and then
the list of LVs again.
lvm vgdisplay shows none of the LVs are active. We're missing an lvm vgchange
-ay before this point.
This should be fixed in the latest build of anaconda. Peter committed some code
on Friday to take care of this problem.
Confirmed fixed in the 20070511 merged tree, thanks.