Hi, I am having some issues with lock recovery. If a client gets powered off after acquiring an exclusive lock on a file, the Windows server grants the file lock to a second client within 2 minutes. However, the Samba server (version Samba 3.0.28-0.el5.8) that I am having does not look to be detecting the dead client and so, a second client is not getting the lock on the same file even if it waits for >30 minutes. Is it (no resource recovery) an expected behaviour? Is the resource recovery time is something that can be configured? Can the option "reset on zero vc" be useful in such a situation? Thank you in advance for your help Thanks and Regards Sudheer
Replying to my own post. I got it working by using SO_KEEPALIVE option in smb.conf and tuning keepalive proc variables. Please let me know if there is a cleaner way to get the same result.> -----Original Message----- > From: samba-bounces+skurichiyath=vmware.com@lists.samba.org > [mailto:samba-bounces+skurichiyath=vmware.com@lists.samba.org] > On Behalf Of Sudheer Kurichiyath > Sent: Tuesday, November 18, 2008 2:39 PM > To: 'samba@lists.samba.org' > Subject: [Samba] File lock recovery > > Hi, > > I am having some issues with lock recovery. > > If a client gets powered off after acquiring an exclusive > lock on a file, the Windows server grants the file lock to > a second client within 2 minutes. However, the Samba server > (version Samba 3.0.28-0.el5.8) that I am having does not look > to be detecting the dead client and so, a second client is > not getting the lock on the same file even if it waits for > >30 minutes. > > Is it (no resource recovery) an expected behaviour? Is the > resource recovery time is something that can be configured? > Can the option "reset on zero vc" be useful in such a situation? > > Thank you in advance for your help > > > Thanks and Regards > > Sudheer > > > -- > To unsubscribe from this list go to the following URL and read the > instructions: lists.samba.org/mailman/listinfo/samba >