LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 10-29-2009, 04:41 PM   #1
masuter
LQ Newbie
 
Registered: Jan 2009
Posts: 7

Rep: Reputation: 0
Hard mounts not going away after days of not using.....


I'm running CentOS 5.2 on various Dell machines. I've noticed when I
mount something from another machine to my machine, and after days of
either not using the mount or not "cd"ing into it, the mount is still
mounted on my machine.

I'm unable to paste my output here but it's pretty simple. Here's what
I'm doing:

# mount machineA:/vol/vol1 /mnt/test
# cd /mnt/test

At this point a df -k shows my machine has mounted /mnt/test as it
should. However, if I "cd" out of /mnt/test and come back the next
day, another df -k will show my machine still has /mnt/test mounted.
Sure, I could manually umount /mnt/test, but I was hoping there was
some type of config file I could modify to set a timeout for all mounts.
Any ideas???

Thanks,
-Mark
 
Old 10-29-2009, 05:15 PM   #2
David the H.
Bash Guru
 
Registered: Jun 2004
Location: Osaka, Japan
Distribution: Debian sid + kde 3.5 & 4.4
Posts: 6,823

Rep: Reputation: 1957Reputation: 1957Reputation: 1957Reputation: 1957Reputation: 1957Reputation: 1957Reputation: 1957Reputation: 1957Reputation: 1957Reputation: 1957Reputation: 1957
No, there is no automatic umounting option for the standard mount command. If you want it to time out you have to use something like autofs.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Hard drive mounts r/w but after a while is r only RayNowers Linux - Newbie 1 06-11-2008 06:05 AM
uSB External Hard Drive Mounts Very Slowly rahulthewall3000 Linux - Hardware 0 01-20-2008 06:37 AM
USB hard drive mounts as "Read Only Filesystem" augu2000 Linux - Hardware 11 07-12-2007 11:37 AM
Repartition Hard Drive Mounts atomicx Linux - General 4 06-02-2006 04:55 PM
cd mounts Murph00009 Linux - Hardware 1 01-07-2005 11:57 PM


All times are GMT -5. The time now is 09:49 PM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration