Skip to contentSkip to conversation

lockd grace period

DISCUSSION mehta kiran 2 participants 2 messages Jan 31, 2005

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

Hi ,
lockd is used by both nfs and autofs
if there are 2 machines runnnig 2.6 kernel (Red Hat) .autofs and nfs both are running on system1.When nfs is failed over to system2 , all daemons start on system2 , but
lockd on system1 is still alive as it is required by autofs "client"(this machine has automounted filesystem from some other machine).After say 5 minutes , if nfs
is failed over to system1 , lockd recovery gives some problem.statd notifies client , but when client tries to reclaim lock ,
LOCK routine returns "unknown error"(30000). Is is because , lockd was runnnig since long time on system1 and hence its grace period was over.

But I dont face same problem of sles9 sp1. What is the expected behaviour.?
Is it that whenever nfsd starts , lockd should enter grace period ?
or
Is is that lockd should enter grace period only when it restarts without caring for nfs.?

--thanks,
kiran

__________________________________
Do you Yahoo!?
Yahoo! Mail - You care about security. So do we.
http://promotions.yahoo.com/new_mail

-------------------------------------------------------
This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting Tool for open source databases. Create drag-&-drop reports. Save time by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc. Download a FREE copy at http://www.intelliview.com/go/osdn_nl
_______________________________________________
NFS maillist - [email protected]
https://lists.sourceforge.net/lists/listinfo/nfs

#1 lore raw
Quoted 8 lines · mehta kiran

What is the expected behaviour.?
Is it that whenever nfsd starts , lockd should enter grace period ?
or
Is is that lockd should enter grace period only when it restarts without caring for nfs.?

Yes and Yes... When a NFS server is restarted, there is a grace period in which the server (i.e. lockd) will accept reclaimed locks. And it appears that reclaimed locks will also be accepted after the grace period expires so its not clear who and how that error is being generated....

steved.

-------------------------------------------------------
This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting Tool for open source databases. Create drag-&-drop reports. Save time by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc. Download a FREE copy at http://www.intelliview.com/go/osdn_nl
_______________________________________________
NFS maillist - [email protected]
https://lists.sourceforge.net/lists/listinfo/nfs