Re: mounted NFS blocks "forever"



ENRIQUE <enrique.arizonbenito@xxxxxxxxx> writes:

Following next steps my mountd NFS partition blocks "forever":

1.- I start the server NFS process.
2.- I mount the NFS partition like:
mount -t nfs 192.168.2.1:/export/home /home
3.- I stop and start the NFS server, simulating a server/network
temporal shutdown.
4.- The mounted partition doesn't work anymore and simple comands
like:

# ls /home

blocks until I "kill-9" them and there is no way to unmount the device
since trying to unmount it returns "device bussy".

Using ps I see for example that ls is stuck in the kernel call to
nfs_wait_schedule:
[root@/]# ps x -o cmd,wchan | grep ls

ls --color=tty /home nfs_wait_schedule

It's there anyway to avoid such behaviour. I would like, in the worst
case when the NFS servers goes down, to be able to unmount and
remount again.

Try just mounting again, without trying to unmount.


Thanks in advance for any help,hint or link!


P.S.: I'm using kernel 2.6.20-1.2944.fc6
.



Relevant Pages

  • Re: Cant unmount file system (nfs)
    ... >>I am trying to move my NFS mounted home directories from one NFS server to ... However when I go to unmount from the old server I keep getting ... Any patch for this yet (in Solaris 8)? ...
    (comp.unix.solaris)
  • Re: Copy within the NFS partition
    ... If I make a cp command from the client on the nfs partition where both ... The NFS server has no way to know that the client does not need the ... network and look at the responses to know what to write to the copy. ...
    (comp.os.linux.networking)