Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

I have an Ubuntu 11.10 VM set up in VMSphere. I'm storing some data on a nfs mount. The VM has been going down frequently. I haven't been able to pin the reason why down, but I think it has to do with this error:

Jan 19 09:53:07 ws-test-moodlearchive-01 kernel: [  384.523617] nfs4_reclaim_open_state: Lock reclaim failed!

It shows up in /var/log/syslog thousands of time. Most often after cron starts running.

I originally was saving the output of one cron job to a text file stored on the NFS mount. Switching that to the local disk seems to have reduced the number of errors, but it's still showing up.

Google has been been very unhelpful, nothing I found seemed to apply. Didn't find anything even close on this site, or StackOverflow.

So, what does that error mean? And how can I keep it from occurring?

share|improve this question

1 Answer 1

up vote 0 down vote accepted

The NFS server I was connecting to was running version 3. I was connecting with version 4. Switching to version 3 seems to have fixed the problem. I no longer see the nfs4_reclaim_open_state error in my syslog.

To make NFS use version 3 when connecting, I added nfsvers=3 to my fstab file. So an entry like this:

nfsserverip:/export/homes   /home       nfs  rw      0 0

Changed to:

nfsserverip:/export/homes   /home       nfs  nfsvers=3,rw      0 0

I still have not found out exactly what the error message was telling me. But at least I fixed it.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.