Re: troubles with nfslock



glen herrmannsfeldt wrote:
I've had lost hope that somebody will help with this problem - so thanks for the post.
Yes, that is resolving the trouble, but just untill the next server reboot. I was looking for a permanent solution. Besides it doesn't feel very comfortable to know that something in your home directories is dodgy.
The problem is still there and any help will be really appreciated


Svilen

Svilen wrote:

I'm running a small home network (Fedora core 3/4) with a shared /home disk. NFS seems to work happily untill the moment I shut down one of the client machines. It complains about (RPC error 101) not being able to shut down the host process. In result an empty file named on the machine IP remains in /var/lib/nfs/sm

This is still not a big issue, the real trouble comes when I reboot the server. The file I mention above is moved to /var/lib/nfs/sm.bck directory during the shutdown (a message appears telling me that not all clients has been cleanly unmounted). During the following boot-up nfslock daemon crashes on the server - in result when I try to launch KDE for example from the client machine, it hangs-up and I can see on the console some messages like
"lockd:server 192.168.0.3 not responding..."


This sounds not too different from a problem I had about 10 years
ago.  File locking doesn't work all that well with unix, and
even less well with NFS.

NFS is supposed to be stateless, but file locking can't be
stateless, so a stateful protocol was added.  /var/lib/nfs/sm
is the memory of files locked through a reboot.

As far as I know, the solution is to remove sm and sm.bck,
and any other files related to file locking, restart the
server and the clients.

Then again, things might have changed in 10 years.

-- glen

.



Relevant Pages

  • Re: RRAS/NAT connected stations cant access websites
    ... Did you use the same model NIC on all the client machines? ... Download the Network Edition of MPS_Report tool from ... run it on the RRAS Server and client machine. ... |> the external DNS Server IP address provided by ISP to do the test. ...
    (microsoft.public.windows.server.networking)
  • Re: Bug with Inbox app and POP3 account
    ... I'd like to know if you get the same trouble on a MDA2/XDA2 device. ... when there are messages in the mailbox on the server. ... It seems that when the client sends a ... Messages download with no errors. ...
    (microsoft.public.pocketpc.phone_edition)
  • Re: Bug with Inbox app and POP3 account
    ... I'd like to know if you get the same trouble on a MDA2/XDA2 device. ... when there are messages in the mailbox on the server. ... It seems that when the client sends a ... Messages download with no errors. ...
    (microsoft.public.pocketpc)
  • rpc.lockd stalls
    ... All of the disk sits on the master Server, and all of the Client machines boot via Gig-E. ... when I find a file which appears to be one of the stalled locks, and I attempt to do anything with the file via a shell on the client machine, such as "cat" it, that shell will become unresponsive. ...
    (freebsd-questions)
  • Re: roaming profiles
    ... now my final problem is that my client machines are trying to syncronise ... I'm thinking of running dcpromo and demoting the old server so that it ... your roaming profile attempting to log on with your local profile. ...
    (microsoft.public.windows.server.setup)