Bug 586553

Summary: extending a logical volume creates a duplicate entry in /etc/fstab
Product: Red Hat Enterprise Linux 5 Reporter: Marek Grac <mgrac>
Component: system-config-lvmAssignee: Marek Grac <mgrac>
Status: CLOSED ERRATA QA Contact: Cluster QE <mspqa-list>
Severity: medium Docs Contact:
Priority: low    
Version: 5.6CC: agk, bbrock, bmarzins, bmr, cluster-maint, dwysocha, heinzm, itamar, jonathan, lvm-team, mbroz, mclasen, mgrac, msnitzer, prajnoha, prockai, skotchman
Target Milestone: rc   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: system-config-lvm-1.1.5-5.el5 Doc Type: Bug Fix
Doc Text:
Previously, extending a logical volume may have caused the relevant line in the /etc/fstab file to be duplicated. This no longer occurs, and /etc/fstab is now processed as expected.
Story Points: ---
Clone Of: 571302 Environment:
Last Closed: 2011-01-14 00:01:40 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: 571302, 586554    
Bug Blocks:    

Description Marek Grac 2010-04-27 20:41:13 UTC
+++ This bug was initially created as a clone of Bug #571302 +++

Created an attachment (id=398413)
recreated /etc/fstab file as it appeared after extending the LV

Description of problem:I had extended one of my logical volumes in my 1st volume group using the GUI /usr/bin/system-config-lvm. Upon first reboot I saw the following;

Mounting local filesystems: mount: /dev/mapper/ncc1701_01-var already mounted or /var busy
                               [FAILED]
Both fsck and resize2fs came back ok. At the suggestion of dd_wizard, I checked my fstab file and found a duplicate entry had been made for that devices


Version-Release number of selected component (if applicable):
system-config-lvm.noarch.1.1.12-2.fc12

How reproducible:Haven't tried to do it again


Steps to Reproduce:
1.Launch system-config-lvm from menu
2.Select "Edit" of a LV and increase size of the LV
3.Apply changes and close system-config-lvm
4.Reboot and if you don't use graphic boot you will see the above error
  
Actual results:Error message indicating a failed attempt at mounting a filesystem on a LV

Expected results:Boot up witout any FAILED messages


Additional info:

Comment 2 Brian Brock 2010-04-30 18:44:27 UTC
Seems testable, I'll ask for more information if I can't reproduce the problem.

Comment 5 Scott Castaline 2010-09-27 18:28:37 UTC
Marek, I had originally reported the same thing about 2 months back. Turned out that system-config-lvm created a duplicate entry for that filesystem in fstab. I haven't had a need to try it since the last update that was supposed to fix it, so I couldn't tell you if it actually fixed yet.

Comment 6 Jaromir Hradilek 2010-12-01 14:27:02 UTC
    Technical note added. If any revisions are required, please edit the "Technical Notes" field
    accordingly. All revisions will be proofread by the Engineering Content Services team.
    
    New Contents:
Previously, extending a logical volume may have caused the relevant line in the /etc/fstab file to be duplicated. This no longer occurs, and /etc/fstab is now processed as expected.

Comment 9 errata-xmlrpc 2011-01-14 00:01:40 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-0103.html