Bug 57911 - An "invisible hand" stops umount system calls
Summary: An "invisible hand" stops umount system calls
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Red Hat Linux
Classification: Retired
Component: kernel
Version: 7.2
Hardware: i386
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Arjan van de Ven
QA Contact: Brian Brock
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2002-01-01 03:09 UTC by Michal Jaegermann
Modified: 2008-08-01 16:22 UTC (History)
0 users

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2004-09-30 15:39:19 UTC
Embargoed:


Attachments (Terms of Use)

Description Michal Jaegermann 2002-01-01 03:09:32 UTC
Description of Problem:

Under /mnt/other there were mounted various partitions from /dev/hdg
for a while and various copy operations from them to another disk
were performed.  Nothing was written _to_ that disk (this includes
delete operations).  Currently all of these partitions mounted below
/mnt/other got unmounted and we see the following (/etc/mtab has
the same info on mounts):

# cat /proc/mounts | grep hdg
/dev/hdg1 /mnt/other ext2 rw 0 0
# umount /mnt/other
umount: /mnt/other: device is busy
# lsof /mnt/other/
# umount -f /mnt/other
umount2: Device or resource busy
umount: /dev/hdg1: not mounted
umount: /mnt/other: Illegal seek
# umount -f /dev/hdg1
umount2: Device or resource busy
umount: /dev/hdg1: not mounted
umount: /mnt/other: Illegal seek
# umount -v -f /dev/hdg1
umount2: Device or resource busy
could not umount /mnt/other - trying /dev/hdg1 instead
umount: /dev/hdg1: not mounted
umount: /mnt/other: Illegal seek
#

The above even after _all_ logins were closed and root logged once
again. 'strace' does not give much more and shows only EBUSY error
return from 'umount' or 'oldumount' calls.

Yes, I was trying to be a bit more "inventive" with lsof than in
the above demo.  Nothing was showing up.

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

kernel-2.4.9-13, glibc-2.2.4-19.3 and util-linux-2.11f-17

How Reproducible:

Hard to tell.  It does seem to depend on preceding activities.

Comment 1 Bugzilla owner 2004-09-30 15:39:19 UTC
Thanks for the bug report. However, Red Hat no longer maintains this version of
the product. Please upgrade to the latest version and open a new bug if the problem
persists.

The Fedora Legacy project (http://fedoralegacy.org/) maintains some older releases, 
and if you believe this bug is interesting to them, please report the problem in
the bug tracker at: http://bugzilla.fedora.us/



Note You need to log in before you can comment on or make changes to this bug.