LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 03-08-2004, 07:12 AM   #1
matta
LQ Newbie
 
Registered: Mar 2004
Location: Finland
Distribution: Debian
Posts: 5

Rep: Reputation: 0
Umounting NFS shared directory


Hi,

I have a backup disk that I mount on /backup whenever I need to backup. I have an NFS share on /backup/current, which "works" whenever /backup is mounted. My problem is that when I have mounted /backup and used it over NFS, I can't unmount it, I get "/backup device busy". However, by stopping nfsd I can unmount it, so NFS apparently has something using it. I would really like to be able to umount it w/o having to restart NFS every time. Any ideas?

Thanks in advance.

Matta
 
Old 03-08-2004, 04:14 PM   #2
ac1980
Member
 
Registered: Aug 2003
Location: Trento, Italy
Distribution: Debian testing
Posts: 394

Rep: Reputation: 30
Unmounting a fs with open files would result in damage to both filesystem and kernel filehandle table. So you should unexport the directory before unmounting. However, there is no need to completely stop nfsd to do this: use /usr/sbin/exportfs -u exportname
See 'man exportfs' for more info
 
Old 03-09-2004, 05:31 AM   #3
matta
LQ Newbie
 
Registered: Mar 2004
Location: Finland
Distribution: Debian
Posts: 5

Original Poster
Rep: Reputation: 0
Quote:
Originally posted by ac1980
Unmounting a fs with open files would result in damage to both filesystem and kernel filehandle table. So you should unexport the directory before unmounting. However, there is no need to completely stop nfsd to do this: use /usr/sbin/exportfs -u exportname
See 'man exportfs' for more info
Thanks, that should do the trick!
 
  


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



Similar Threads
Thread Thread Starter Forum Replies Last Post
umounting NFS jonfa Linux - Networking 9 12-14-2007 03:01 PM
nfs mount - shared directories on a networked machine kh_ibrahim Linux - Software 2 08-16-2004 01:05 AM
nfs(nfs(directory)) = null ? bdp Linux - General 2 03-13-2004 03:31 PM
umounting NFS Syncrm Linux - General 4 10-11-2002 07:55 PM
Umounting NFS Device without rebooting after a remote system fail Larry James Linux - Networking 3 12-11-2000 11:41 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 02:32 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
Open Source Consulting | Domain Registration