Bug 672475

Summary: logical volume appears as not mounted
Product: Red Hat Enterprise Linux 5 Reporter: Pierre Amadio <pamadio>
Component: system-config-lvmAssignee: Marek Grac <mgrac>
Status: CLOSED ERRATA QA Contact: Brian Brock <bbrock>
Severity: medium Docs Contact:
Priority: urgent    
Version: 5.8CC: agk, akaiser, amote, bbrock, cdennett, cluster-maint, dwysocha, ggr.seaton, javier.miguel, jwaterwo, jwest, mbroz, oryandunn, prockai, rdassen, rkhadgar, zzhou
Target Milestone: rcKeywords: Patch, ZStream
Target Release: ---   
Hardware: All   
OS: All   
Whiteboard:
Fixed In Version: system-config-lvm-1.1.5-9.el5 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2011-07-21 09:01:55 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: 679049    

Description Pierre Amadio 2011-01-25 09:19:07 UTC
Description of problem:

with system-config-lvm-1.1.5-8.el5, logical volumes appears as not mounted whereas they are actually mounted.

This problem does not occurs with the previous version 1.1.5-4.el5

It looks like the patch that cause this problem is scl-modify_existing_volume-2.patch 

after a chat with Marek, it seems changing  /bin/readlink to /usr/bin/readlink in utilities.py  would solve the problem.

Comment 1 Marek Grac 2011-02-04 17:00:20 UTC
Patch is specific to RHEL5 as readlink was moved to /bin in later releases of coreutils.

Comment 2 Javier de Miguel Rodríguez 2011-02-10 19:19:41 UTC
Same case here. I have opened a support case in Red Hat Support (00417092) to address this issue.

Comment 3 Jack Waterworth 2011-02-15 20:38:18 UTC
I have a customer hitting this same problem in RHEL 5.6. Logical volumes are mounted but are displayed as 'Not Mounted'. I have recreated the issue on my own machine.

Comment 4 Anderson Kaiser 2011-02-16 14:57:12 UTC
The same problem in two cases (#00409487 and 00416408).

The 'Properties for Logical Volume show the following:
 Mount Point: Unmounted
 Mount Point when Rebooted: None

When I try to resize the volume it show the following message:
 Logical volume is not mounted but is in use. Please close all applications
using this device (eg iscsi)

Comment 5 Pierre Amadio 2011-02-18 13:21:02 UTC
*** Bug 678495 has been marked as a duplicate of this bug. ***

Comment 6 Jaylin Zhou 2011-02-21 03:49:19 UTC
I have a customer's case (#00420511) which hits this problem in RHEL5u6 (system-config-lvm-1.1.5-8.el5.noarch).
After making a soft link /bin/readlink to /usr/bin/readlink have solved the problem.

Comment 10 Ryan 2011-03-25 20:29:50 UTC
Just tried Jaylin's suggestion and worked.  I was able to extend an online LV where before it was showing as unmounted.

Comment 14 Marek Grac 2011-05-26 13:47:24 UTC
*** Bug 703008 has been marked as a duplicate of this bug. ***

Comment 15 errata-xmlrpc 2011-07-21 09:01:55 UTC
An advisory has been issued which should help the problem
described in this bug report. This report is therefore being
closed with a resolution of ERRATA. For more information
on therefore solution and/or where to find the updated files,
please follow the link below. You may reopen this bug report
if the solution does not work for you.

http://rhn.redhat.com/errata/RHBA-2011-1036.html