Bug 141490

Summary: umount of lvm volumes does not actualize /etc/mtab
Product: Red Hat Enterprise Linux 3 Reporter: Francisco Jorge <franjorge>
Component: mountAssignee: Karel Zak <kzak>
Status: CLOSED NOTABUG QA Contact: Brian Brock <bbrock>
Severity: medium Docs Contact:
Priority: medium    
Version: 3.0   
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: 2005-10-24 12:54:33 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
Detailed description none

Description Francisco Jorge 2004-12-01 16:05:37 UTC
From Bugzilla Helper:
User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; .NET 
CLR 1.1.4322)

Description of problem:
I try to umount a volume created at installation time in order to 
resize it. When I umount the partition, it seems to work correctly, 
buy when I view the /etc/mtab, the entry for the partition is still 
there.

This makes other programs that rely on the contents of /etc/mtab fail.

The partition seems to be umounted, because if I try to umount it 
again I get a message saying that the partition is not mounted. The 
problem resides in the contents of /etc/mtab not been updated.

Version-Release number of selected component (if applicable):
mount-2.11y-31.1

How reproducible:
Always

Steps to Reproduce:
1. umount a lvm partition
2. cat /etc/mtab

Expected Results:  I think, the partition should have been deleted 
from /etc/mtab, or if it has been impossible to umount it, then 
umount should have returned an error.

Additional info:

Comment 1 Francisco Jorge 2004-12-01 16:08:01 UTC
Created attachment 107721 [details]
Detailed description

Here you have a more detailed description of my lvm configuration.

Comment 2 Francisco Jorge 2005-01-17 11:21:09 UTC
I think the problem begins if you try to umount the / partition.

when doing so, the system does not report any error, but all 
subsequent tries to umount a partition leaves /etc/mtab unchanged.



Comment 3 Karel Zak 2005-07-18 13:09:54 UTC
If you umount the root partition the file /etc/mtab is unavailable for arbitrary
command and the mount doesn't update /etc/mtab of course. Please, can you step
by step describe how reproduce your problem?

Comment 4 Karel Zak 2005-10-24 12:54:33 UTC
Since there are insufficient details provided in this report for
us to investigate the issue further, and we have not received the
feedback we requested, we will assume the problem was not
reproduceable or has been fixed in a later update for this product.

Users who have experienced this problem are encouraged to upgrade
to the latest update release, and if this issue is still
reproduceable, please contact the Red Hat Global Support Services
page on our website for technical support options:
https://www.redhat.com/support

If you have a telephone based support contract, you may contact
Red Hat at 1-888-GO-REDHAT for technical support for the problem
you are experiencing.