Bug 471288

Summary: Upgrade from F9 encrypted LV rootfs (not VG) fails
Product: [Fedora] Fedora Reporter: Warren Togami <wtogami>
Component: anacondaAssignee: Anaconda Maintenance Team <anaconda-maint-list>
Status: CLOSED RAWHIDE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: medium    
Version: rawhideCC: anaconda-maint-list, dlehman, overholt
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2008-11-13 20:23:10 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 469046    
Attachments:
Description Flags
anaconda.log none

Description Warren Togami 2008-11-12 20:37:25 UTC
1. Install F9 with unencrypted VG, but encrypted LV as root partition.

/etc/fstab:
/dev/mapper/luks-vg0-system /                       ext3    defaults        1 1

2. preupgrade-0.9.9 into anaconda-11.4.1.57-1.
3. Reboot into anaconda.
4. Enter passphrase for root filesystem.

Error mounting device mapper/luks-vg0-system as /: mount: special device /dev/mapper/luks-vg0-system does not exist

Press OK to exit the installer.

ALT-F3 shows that it mounted /dev/mapper/luks-UUID on /mnt/sysimage, then it tried to mount the /etc/fstab listed /dev/mapper/luks-vg0-system on /, which fails because /dev/mapper/luks-vg0-system does not exist.  F10 only luks-UUID exists in /dev/mapper.

5. Edit /etc/fstab so it has UUID= of the encrypted lv, reboot into anaconda again.

Error mounting device vg0/system as /: mount: /dev/mapper/vg0-system already mounted or /mnt/sysimage busy

Press OK to exit the installer.

Comment 1 Warren Togami 2008-11-12 20:58:44 UTC
Created attachment 323388 [details]
anaconda.log

anaconda.log at the failure described in step 4.

Comment 2 David Lehman 2008-11-13 01:33:07 UTC
Fixed in anaconda-11.4.1.58-1.

Comment 3 David Lehman 2008-11-14 16:42:40 UTC
*** Bug 471599 has been marked as a duplicate of this bug. ***