5

i have a samba4 server that holds my clients outlook pst files, if the outlook client or the machine crashes i must go to the server to kill the PID manually.

i saw there was "reset on zero vc =yes" parameter that can solve the problem but that is no longer supported in samba4 although it is in the man pages!!!?

any idea guys?

3
  • 3
    You shouldn't be storing PST files on a network share... especially using a non-Windows server.
    – ewwhite
    Dec 8, 2012 at 15:00
  • 1
    @ewwhite my question is not about what i should or should not do, this is an existing situation. Dec 9, 2012 at 0:03
  • 1
    great question! let me know when you get an answer. Dec 13, 2012 at 23:22

1 Answer 1

0

That setting does not do what you think it might, so not a problem it is gone.

It seems that Samba itself, because it is running the CIFS protocol, does not have a mechanism to differentiate between "client went away and is coming back" and "client just plain went away." Which is why Samba will continue with the locks you are encountering after client machines crash, etc.

It appears some folks have had luck tweaking the socket-level timeouts for Samba, specifically SO_KEEPALIVE, to solve this problem: http://samba.2283325.n4.nabble.com/Auto-Removal-of-Straggling-File-locks-due-to-Ungraceful-Client-Disconnects-td3171543.html.

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .