nfsv4 gives "No locks available"
Hello, I keep getting the error message "No locks available" on my Linux clients, when running Firefox or calibre (E-Book-Reader), just to name two programs.
I think, the firefox problem is just related to sqlite not being able to lock its files, because, when I start sqlite3 wtth a db from firefox (no firefox running) it does not even gives me an output on the .tables command. I recently changed from NFSv3 to NFSv4 and this is, when it started. With nfsv3 locking worked for all those programs. The nfs-server is running opensuse 13.1 and nfs-kernel-server-1.2.8-4.17.1.x86_64, one client is running opensuse 42.1 and nfs-client-1.3.0-23.1.x86_64, a second client is running opensuse 13.1 too, but in cannot currently get the nfs client version, because I cannot switch it on currently. Client logs show just this error message (No locks available), nothing else related to nfs after mounts. Server does not show any error logs except lockd: cannot monitor <client>, but this is just a nfsv3 error message, afaik. Is there anything I can do to get the locks working? They should be working, since NFSv4 has locking incorporated into its protocol. BTW. I use NFSv4 at work with opensuse 42.1 without problems, but the server is an older Sun Storage Box, which to which I don't have any access to check things out. Regards, didiw |
Some applications when using an NFS mount want an rpc driven "lock" on the write media. This requires the NFS hosts and clients support lockd and statd nfs features
try running an nfsstat and confirm there are errors in the stack Quote:
Quote:
|
It was my own fault. I did not mount the filesystem as nfsv4, though the remote filesystem was the nfsv4 path, that is why I thought, it was mounted as nfsv4.
The problem, why locking in nfsv3 did not work, was, that the lock daemon in openSuSE 13.1 is missing and cannot be installed, even when reinstalling the kernel nfs server and nfs tools. So the issue is solved. |
All times are GMT -5. The time now is 05:39 AM. |