Opportunity Locks

It seems Samba on the MyBook (fw 01.02.04) has trouble with big files. I haven’t hit this problem first-hand but have had the MyBook deciding to just not save files and throw-up “overload” warnings on the webgui even though nothing is going on on the box. The CIFS log reads:

“read_data: read failure for 4 bytes to client Error = Connection reset by peer”

Apparently one possible cause is opportunistic locking. so I’ve turned it off by applying the registry key suggested here. One other option is to get the NAS to power cycle every day to clear any issues bubbling under with the SAMBA daemon.

Hopefully there will be a fix for this one soon.

Turning off oplocks on the client just caused the error more often though. Maybe I need to turn it off on the server instead or as well as…

For details on how to turn oplocks on or off on Windows 7, click here.

For details on how to do the same at the SAMBA/MyBook end, click here.

For an example of what Oplocks are and how they can barf, click here.

Leave a Reply