Bluehost.com Web Hosting $6.95

[Samba] corrupt files... oplocks?

This is a discussion on [Samba] corrupt files... oplocks? within the Samba forums, part of the Networking and Network Related category; Suddenly in the past week we have been having users who share excel files via our Samba complain that the ...


Go Back   Usenet Forums > Networking and Network Related > Samba

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 04-14-2008
JJB
 
Posts: n/a
Default [Samba] corrupt files... oplocks?

Suddenly in the past week we have been having users who share excel
files via our Samba complain that the file has become corrupt, and also
some database files (Orcad .tdb database files). Fortunately there has
in each instance been a good copy in the .recycler... so far.

I came across some docs and threads in the net about oplocks. I did find
an error in the samba log:

[2008/04/14 10:19:05, 0] smbd/oplock.c:oplock_timeout_handler(351)

and there are some other errors that have been in the logs for a long
time that we've been ignoring (because we were ignorant & nobody
complained of any problems)

Apr 13 07:14:04 aa-samba smbd[10083]: [2008/04/13 07:14:04, 0]
lib/util_sock.c:get_peer_addr(1229)
Apr 13 07:14:04 aa-samba smbd[10083]: getpeername failed. Error was
Transport endpoint is not connected
Apr 13 07:14:04 aa-samba smbd[10083]: [2008/04/13 07:14:04, 0]
lib/util_sock.c:write_data(562)
Apr 13 07:14:04 aa-samba smbd[10083]: write_data: write failure in
writing to client 192.168.1.46. Error Connection reset by peer
Apr 13 07:14:04 aa-samba smbd[10083]: [2008/04/13 07:14:04, 0]
lib/util_sock.c:send_smb(769)
Apr 13 07:14:04 aa-samba smbd[10083]: Error writing 4 bytes to client.
-1. (Connection reset by peer)

Should we add a line disabling oplocks in smb.conf, and if so, what
would be the recommended approach?

- Joel
--
To unsubscribe from this list go to the following URL and read the
instructions: https://lists.samba.org/mailman/listinfo/samba
Reply With Quote
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT +1. The time now is 09:42 AM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0