Visit Jeremy's Blog.
Go Back > Forums > Linux Forums > Linux - Software
User Name
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.


  Search this Thread
Old 05-22-2003, 09:21 PM   #1
Registered: Jun 2002
Location: Southeast PA
Distribution: Slackware
Posts: 40

Rep: Reputation: 15
Question Can't unmount NFS. Remote NFS system was down.

I have a Linux box (1) that had a NFS mount from another Linux box (2).

Box 2 was down for a few days. Now box 1 has several hung tasks waiting
for the NFS to return. Box 2 has returned but NFS refuses to want to
see the previously mounted partition.

Now I can't umount the NFS partition. umount -f says it is in use.
I can't kill the tasks that are hung waiting for the NFS.

Now.. to complicate things, I would rather not reboot the box 1.

Any ideas how to clear out all of hung tasks and restore the NFS connection
without rebooting box 1.
Old 05-22-2003, 09:43 PM   #2
Registered: Apr 2002
Location: earth
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
Blog Entries: 11

Rep: Reputation: 917Reputation: 917Reputation: 917Reputation: 917Reputation: 917Reputation: 917Reputation: 917Reputation: 917
The "in use" part is a bit of a worry...

Can you close the processes that usually
access the nfs shares?

Old 05-22-2003, 10:06 PM   #3
Registered: Jun 2002
Location: Southeast PA
Distribution: Slackware
Posts: 40

Original Poster
Rep: Reputation: 15
No, I can not kill about half dozen processes
that appear to be waiting for the NFS partition.

In the past I have had this happen before where
the remote NFS box went down.. then came back.. and
everything just continued right along.. no problem.

This time, the remote box was down for 5 days and when
it came back the client box will will not seem to
recognize that it came back. I can ping it .. etc
and mount other things from it but the existing partition
mount seems to be "stuck"

The hung tasks have a STATE of "D" and new tasks
that start that want to access the NFS partition will
hang. Such as.. if I do a 'df' it will hang when it
gets to the NFS partition.

I know a reboot would fix everything.. but I have some
other tasks running right now that I would rather not
have to kill and restart right now. So I was trying
to see if there was a way to restore the NFS mount
without a reboot.
Old 10-05-2003, 03:23 PM   #4
Registered: Sep 2003
Location: Calgary, Canada
Distribution: Slackware 10.0
Posts: 90

Rep: Reputation: 15
Ah. You have a problem with the D processes. That's uninterruptible sleep. You can't kill them, that's what uninterruptible means. The only way I know to fix those is to reboot. My NFS server doesn't like them either.


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
NFS server - client cannot mount remote file system mikemrh9 Linux - Networking 6 10-13-2006 12:05 AM
want to mount a remote unix-based file system to fc2, nfs the answer? how? parv Fedora 3 09-23-2004 01:28 PM
remote nfs??? msound Linux - Networking 7 06-17-2003 01:50 PM
nfs unmount error mathfeel Linux - General 7 12-13-2002 11:33 AM
Umounting NFS Device without rebooting after a remote system fail Larry James Linux - Networking 3 12-11-2000 12:41 PM > Forums > Linux Forums > Linux - Software

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

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