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 568460

Summary: Live installer doesn't recognize pre-existing logical volumes
Product: [Fedora] Fedora Reporter: James Laska <jlaska>
Component: anacondaAssignee: David Lehman <dlehman>
Status: CLOSED RAWHIDE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: low    
Version: 13CC: jonathan, jturner, martin.sourada, mohd.izhar.firdaus, ruben, stephent98, vanmeeuwen+fedora
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: 2011-03-07 18:02:32 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:
Attachments:
Description Flags
Screenshot.png
none
log files.tgz none

Description James Laska 2010-02-25 18:50:56 UTC
Created attachment 396357 [details]
Screenshot.png

Description of problem:

During a live install, my previous logical volumes are not available during the partition detail screen.

Version-Release number of selected component (if applicable):
 * anaconda-13.31

How reproducible:
 * I've confirmed this several times

Steps to Reproduce:
0. Install an OLD Fedora system using LVM (I originally formatted this system some time ago)
1. Boot live image
2. Proceed through install, select 'Custom partition'
  
Actual results:

See attached screenshot

Expected results:

My previous logical volumes should be available for use with install or as data partitions

Comment 1 James Laska 2010-02-25 18:52:02 UTC
Created attachment 396358 [details]
log files.tgz

-rw------- root/root    161612 2010-02-25 08:23 var/log/messages
-rw-r--r-- root/root     42178 2010-02-25 13:01 var/log/dmesg
-rw-rw-r-- root/root      2605 2010-02-25 08:23 tmp/anaconda.log
-rw-rw-r-- root/root      8844 2010-02-25 08:23 tmp/program.log
-rw-rw-r-- root/root     98681 2010-02-25 08:23 tmp/storage.log
-rw-r--r-- root/root     20480 2010-02-25 13:05 tmp/storage.state

Comment 2 Steve Tyler 2010-02-26 00:03:08 UTC
Confirming that this happened while booted off a live ISO image installed on a USB stick. The version of anaconda on the net install ISO *did* display the logical volumes (RC3).

In both cases, I chose a custom disk layout.

And a request: Could the serverbeach ISOs please have *exact* version numbers in their file names? "ls -l" and sha256sum aren't really ideal for distinguishing versions.

Version details:

[stephent@walnut fedora]$ ls -l F13-Alpha-i686-Live.iso
-rw-rw-r-- 1 stephent stephent 875560960 2010-02-25 09:28 F13-Alpha-i686-Live.iso
[stephent@walnut fedora]$ sha256sum F13-Alpha-i686-Live.iso
7623e48b2224e79c62ffade96a825942dba43a46b2c16c9a0c2acfa5b7cbccda  F13-Alpha-i686-Live.iso

[stephent@walnut fedora]$ ls -l Fedora-13-Alpha-i386-netinst.iso
-rw-rw-r-- 1 stephent stephent 246415360 2010-02-24 15:19 Fedora-13-Alpha-i386-netinst.iso
[stephent@walnut fedora]$ sha256sum Fedora-13-Alpha-i386-netinst.iso
a2799da3b8d4c8958b09a5a8394216397b9a3d14547803686b36d8fec07b8f1b  Fedora-13-Alpha-i386-netinst.iso

Comment 3 James Laska 2010-02-26 14:54:43 UTC
Thanks Steve, I've also confirmed that when booting using a netinst.iso (or boot.iso), the installer recognizes pre-existing logical volumes.

This appears to be specific the the installer running in the LIVE environment.  Changing subject of bug to match updated test results.

Comment 4 Chris Lumens 2010-02-26 15:45:02 UTC
*** Bug 568556 has been marked as a duplicate of this bug. ***

Comment 5 Steve Tyler 2010-02-28 14:31:49 UTC
This could be related:

Volume groups are not activated on the live ISO.
They can be activated with "Applications:System Tools:Disk Utility".

Activating them allows logical volumes to be mounted with "Places:Removable Media".

Also, "ls /dev/mapper" will show them.

However, when the installer is started they are deactivated.

[root@localhost liveuser]# vgchange -a y vg_pluto
  3 logical volume(s) in volume group "vg_pluto" now active
[root@localhost liveuser]# ls /dev/mapper
control         live-rw                 vg_pluto-lv_cedar_root
live-osimg-min  vg_pluto-lv_cedar_home  vg_pluto-lv_fir_root

# installer started here

[root@localhost liveuser]# ls /dev/mapper
control  live-osimg-min  live-rw
[root@localhost liveuser]#

Comment 6 Steve Tyler 2010-02-28 15:25:09 UTC
(In reply to comment #5)

> Volume groups are not activated on the live ISO.

Correction: they are activated during booting -- boot messages say so.
And "ls /dev/mapper" confirms.
However, this exposes Bug 569174.

Comment 7 Hans de Goede 2010-03-01 10:13:46 UTC
Dave Lehman has recently committed a patch fixing this, setting this in modified and assigning to Dave.

Comment 8 Chris Lumens 2010-03-10 14:32:01 UTC
*** Bug 572101 has been marked as a duplicate of this bug. ***

Comment 9 Chris Lumens 2010-03-15 14:55:34 UTC
*** Bug 573223 has been marked as a duplicate of this bug. ***