NFS guru's, I need your help!!!!!

BCYL

Diamond Member
Jun 7, 2000
7,803
0
71
Is there any way to unmount a NFS filesystem while it's busy?

ie. someone has a file opened in the filesystem, but I wanna forcefully unmount it...

When I try to do it now, it reports the filesystem is busy and cannot be unmounted...

Any help would be great! :)
 

BCYL

Diamond Member
Jun 7, 2000
7,803
0
71
NFS = Network File System

Basically you use NFS to access a drive on another machine through the network... You just mount it using NFS, and it will be like a local drive...
 

aphex

Moderator<br>All Things Apple
Moderator
Jul 19, 2001
38,572
2
91
Nothing like a "Need for Speed' filesystem :D
 

kranky

Elite Member
Oct 9, 1999
21,019
156
106
I'm almost positive there's a switch to force the unmount. Check your help file, meanwhile I'll look around to see if I can find it.
 

BCYL

Diamond Member
Jun 7, 2000
7,803
0
71
I have tried that already...

umount -f can unmount a filesystem if the other side went away (eg. A mount to B, if B crashed, A can umount using -f option)...

But -f does not do the trick if a file system is busy...

In fact, in the man pages of umount, it said a file system cannot be unmounted if it's busy... I was just wondering if there are tricks you can do...
 

BCYL

Diamond Member
Jun 7, 2000
7,803
0
71
Come on guys! I thought there were a lot of IT professionals on here!

bump before I go to sleep... :)
 

rahvin

Elite Member
Oct 10, 1999
8,475
1
0
Down the network interface for 30 sec, force kill the process and bring the interface back up. There is always more than one way to skin a cat. You could also temporarily block access to the port NFS uses, etc..