LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 06-30-2004, 01:49 PM   #1
fractal_chaos
Member
 
Registered: Aug 2003
Location: long island, ny
Distribution: RH, SuSE, FC
Posts: 59

Rep: Reputation: 15
inactive mount point can't be unmounted


i am trying to unmount a partition in order to perform a e2fsck on it. however, all attempts give me a "device busy" message. lsof shows this not to be the case, yet still i can't unmount.

any thoughts?

thanks heaps for any hints.

[root@master root]# df /data2
Filesystem 1K-blocks Used Available Use% Mounted on
/dev/RVG/lvol1 1856789608 364820784 1397649416 21% /data2
[root@master root]# cat /etc/fstab |grep data2
/dev/RVG/lvol1 /data2 ext3 defaults 1 2
[root@master root]# lsof |grep data2
[root@master root]# ps -ef |grep data2
root 16912 9461 0 14:51 pts/15 00:00:00 grep data2
[root@master root]# umount /data2
umount: /data2: device is busy
[root@master root]# umount -f /data2
umount2: Device or resource busy
umount: /data2: device is busy
[root@master root]# umount -fv /data2
umount2: Device or resource busy
umount: /data2: device is busy
[root@master root]#
 
Old 06-30-2004, 01:56 PM   #2
Shade
Senior Member
 
Registered: Mar 2003
Location: Burke, VA
Distribution: RHEL, Slackware, Ubuntu, Fedora
Posts: 1,418
Blog Entries: 1

Rep: Reputation: 46
Weird.

You're not currently in that directory are you?

I would try a telinit 1 or telinit 3 and then try to unmount it again.

--Shade
 
Old 06-30-2004, 02:02 PM   #3
fractal_chaos
Member
 
Registered: Aug 2003
Location: long island, ny
Distribution: RH, SuSE, FC
Posts: 59

Original Poster
Rep: Reputation: 15
thanks for the quick reply

there are currently many users logged into this system, each performing research operations. i'd rather not interrupt their processes. manpage for telinit suggests issuing a telinit command will interrupt user's processes?
 
Old 06-30-2004, 02:02 PM   #4
fractal_chaos
Member
 
Registered: Aug 2003
Location: long island, ny
Distribution: RH, SuSE, FC
Posts: 59

Original Poster
Rep: Reputation: 15
oh, and no, i'm not in the directory.

thanks...
 
Old 07-01-2004, 12:48 PM   #5
fractal_chaos
Member
 
Registered: Aug 2003
Location: long island, ny
Distribution: RH, SuSE, FC
Posts: 59

Original Poster
Rep: Reputation: 15
SOLUTION

i figured out the problem.

this partition was exported to other machines (ie listed in /etc/exports), and though i unmounted the parition on the remote machines, nfs on the local still held onto the partition, and wouldn't let me unmout it until i shut down nfs services on the local machine.

i thought lsof would tell me is nfs was holding the partition, but apparently it didn't.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
How to give not-root user ability to mount devices to any mount point??? jdupre Linux - General 8 02-04-2012 10:03 AM
Mount problem - device already mounted or mount point busy zahoo Linux - General 7 08-28-2009 05:02 PM
samba mount when not owner of mount point cotton213 Linux - General 1 08-04-2005 06:21 AM
Multiple mount --bind's to 1 mount point ? Etraman Slackware 6 12-23-2004 07:18 PM
How can kernel mount its HD when the neccessary code resides on unmounted HD? Travers Linux - Software 7 08-31-2004 11:52 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 03:44 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration