Note: This is a public test instance of Red Hat Bugzilla. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback at bugzilla.redhat.com.

Bug 569174

Summary: live installer deactivates logical volumes
Product: [Fedora] Fedora Reporter: Steve Tyler <stephent98>
Component: anacondaAssignee: Anaconda Maintenance Team <anaconda-maint-list>
Status: CLOSED NOTABUG QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: low    
Version: 13CC: anaconda-maint-list, hdegoede, jonathan, vanmeeuwen+fedora
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2010-03-01 09:55:42 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:

Description Steve Tyler 2010-02-28 15:23:48 UTC
Description of problem:
The live installer deactivates volume groups, making it impossible to mount logical volumes from the "Places:Removable Media" menu.

Version-Release number of selected component (if applicable):
http://serverbeach1.fedoraproject.org/pub/alt/stage/13-Alpha.RC4/F13-Alpha-x86_64-Live/F13-Alpha-x86_64-Live.iso

How reproducible:
Always.

Steps to Reproduce:
1. Boot from live installer (I used a USB stick) on a system having previously configured logical volumes.
2. From the "Places:Removable Media" menu mount a logical volume, say lv_foo.
3. Start the installer and immediately exit.
  
Actual results:
An lv_foo icon appears on the desktop when mounted,
but when the installer starts, the icon disappears.
Further, lv_foo cannot be remounted.
An error message is displayed:
  Unable to mount lv_foo
  Underlying device missing

Expected results:
Logical volume groups that were active when the live image was booted,
remain active after the installer exits.
Mounted volumes remain mounted.

Additional info:
Bug 568460 also concerns logical volumes.

Comment 1 Steve Tyler 2010-02-28 20:18:15 UTC
A work-around is to reactivate the volume group with:
"Applications:System Tools:Disk Utility".

Or from the command line:
# vgchange -a y vg_walnut

Verify with:
# lvs
or
# ls /dev/mapper


The net installer ISO also deactivates logical volumes. While this doesn't appear to affect end-users, it does make debugging and testing harder, because the LVs may be needed to save screenshots or log files. They may also contain the bugzilla password.

Further, the LVM commands (e.g. vgchange) are not available.

See: Bug 569071, Comment 2.

Comment 2 Hans de Goede 2010-03-01 09:55:42 UTC
Deactivating logical volumes before starting the installer is necessary, as people may want to re-partition their disk. So we must unmount and de-activate.

As for the desktop still allowing you to try to re-mount lv_foo, even though the
VG was de-activated that is a bug of the desktop, please file a bug against
nautilus for that.

Comment 3 Steve Tyler 2010-03-01 14:30:32 UTC
(In reply to comment #2)
...
> As for the desktop still allowing you to try to re-mount lv_foo, even though
> the
> VG was de-activated that is a bug of the desktop, please file a bug against
> nautilus for that.    

Thanks. I didn't think of it that way. :-)
Bug 569458