LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
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.

Notices


Reply
  Search this Thread
Old 05-22-2003, 08:21 PM   #1
PeteRossi
Member
 
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, 08:43 PM   #2
Tinkster
Moderator
 
Registered: Apr 2002
Location: earth
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
Blog Entries: 11

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

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

Cheers,
Tink
 
Old 05-22-2003, 09:06 PM   #3
PeteRossi
Member
 
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, 02:23 PM   #4
damien
Member
 
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.
 
  


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

All times are GMT -5. The time now is 03:00 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