Description of problem: During installation of FC7 on fresh HDD, anaconda tries to format deactivated logical volumes, and bails out. Version-Release number of selected component (if applicable): FC7t4 6.93 How reproducible: Not tested (see below) Steps to Reproduce: 1. Start FC7 install 2. Use Disk Druid to define LVM partition and logical volumes 3. Continue installation and watch anaconda crash when trying to format the defined logical volumes. Actual results: Anaconda crash, failed install, bad user experience ; user defects to the Dark Side. Expected results: Anaconda should correctly format the LV's and proceed with the install. Additional info: 1. Error messages : * GUI : "An error occured trying to format VolGroup00/LogVol00_root. This problem is serious, and the install cannot continue. Press <Enter> to reboot your system. * console log : "mke2fs 1.39 ... Could not stat /dev/VolGroup00/LogVol00_root --- No such file or directory The device appearantly does not exist; did you specify it correctly ?" 2. Observations : Anaconda has created the LVM partition, the VG, and the LV's. 3. Temporary fix (not for the end user, of course) : a. switch to console b. # lvm.static vgchange -a y c. # mke2fs -i 4096 -j /dev/Volgrp... (manually format LV's) d. reboot and restart installation with formatted LV's. Maybe it is not to be expected that a first-time Fedora user would use LVM ; nevertheless, I consider this error critical due to its extremely high impact this early in the installation process.
After step 3d. as defined above, Anaconda again bails out just before actually beginning package installation : "Error mounting device VolGroup00/LogVol00_root as /: No such file or directory This most likely means this partition has not been formatted. Press OK to reboot your system." Switching again to console, "# lvm.static lvscan" reveals all LV's to be inactive. Argh ! Anaconda/LVM looks like an FC7 showstopper to me. (rhetorical question : How long exactly has LVM been part of anaconda / Disk Druid ?)
Can you attach /tmp/anaconda.log and /tmp/syslog from when it fails?
Jeremy, while attempting to install FC7t4, I was unable to scp /tmp/anaconda.log and /tmp/syslog (no network). However, I manually quoted the relevant (only tailed, unfortunately) info from those files in my original bug report. Meanwhile, FC7t4 has been installed, by switching to console and executing "# lvm.static vgchange -a y" after package dependencies are resolved and just before actual package installation (which obviously succeeds LV formatting and/or mounting). If needed, I could start a reinstall in a fresh (unformatted and unmounted, to expose the flaw) root LV partition.
When starting a second FC7t4 install in a newly assigned (unformatted) root LV on the same disk (that is : with existing / , /home and /var LV's), a new issue does occur : the new root LV seems to get formatted (which did not happen with a fresh disk), but "mini-wm" crashes, and the install exists abnormally. No logs, as all filesystems got unmounted as part of the shutdown process immediately after the crash.
Comment #2 : Retested on a brand new Dell Latitude D820 (with 2 NTFS partitions present), the same issue reproducibly occurs : GUI : "An error occured trying to format VolGroup00/LogVol00_root. This problem is serious, and the install cannot continue. Press <Enter> to reboot your system." Console :"mke2fs 1.39 (29-May-2006) Could not stat /dev/VolGroup00/LogVol00_root --- No such file or directory The device apparantly does not exist; did you specify it correctly ?" In attachment both /tmp/syslog and /tmp/anaconda.log
Created attachment 154723 [details] syslog
Created attachment 154724 [details] anaconda.log
Second run with the Dell D820 : 1. The LVM partitions have been created in the first run (see above, comment #5) ; in Disk Druid, they are now simply assigned / , /var and /home (and ext3-formatted, to remove the "foreign" assignation left from the first run). 2. After package selection, FC7t4 starts formatting / (VolGrp00_LogVol00_root), but crashes when trying to mount the LVM volume : GUI : "Error mounting device VolGroup00/LogVol00_root as /: No such file or directory This most likely means this partition has not been formatted. Press OK to reboot your system." (identical to comment #1) In attachment, /tmp/syslog , /tmp/anaconda.log and /tmp/lvmout .
Created attachment 154728 [details] syslog (second run)
Created attachment 154729 [details] anaconda.log (second run)
Created attachment 154730 [details] lvmout (second run)
Appears fixed in Fedora 7 GA.