[Samba] Odd file locking issue with one of our SMB servers....

Gary Greene ggreene at minervanetworks.com
Fri Apr 4 16:55:35 MDT 2014


The storage host is a VM on a large storage pool stored over NFS...

I’ll take a look to see if the storage box is causing locking contention with VMware and causing that to filter up to the guest OS. (Shouldn’t, but never know for sure....)


--
Gary L. Greene, Jr.
Sr. Systems Administrator
IT Operations
Minerva Networks, Inc.
Cell: +1 (650) 704-6633

On Apr 4, 2014, at 3:44 PM, Greg Byshenk <samba at byshenk.net> wrote:

> On Fri, Apr 04, 2014 at 10:02:36PM +0000, Gary Greene wrote:
>> Samba version: 3.6.15 on openSUSE 12.2.
>> 
>> We?ve got a series of file shares exported from one of our storage
>> systems. Periodically, we?ve a user from our accounting department
>> that is getting errors from Excel that the file she?s trying to open
>> is opened by someone else (it isn?t) and prompts her to either open
>> it as read-only, or to cancel the open operation. When this occurs,
>> she hits cancel, then she tries again immediately following this,
>> and then it works without issue.
>> 
>> This seems to occur once or twice a day for her, from what she?s
>> reporting.
> 
> I'm not sure if the same is true in your case, but here is a pointer
> to a solution to a problem that I had:
> 
> 	<http://www.jamescoyle.net/how-to/340-samba-the-process-cannot-access-the-file-because-another-process-has-locked-a-portion-of-the-file>
> 
> You don't say whether or not you are also using NFS (we are, and I
> know that it's not ideal, but this is temporary while we rearrange
> some file serving), but setting "strict locking = no" solved my 
> problem.
> 
> 
> -- 
> greg byshenk  -  samba at byshenk.net  -  Portland, OR USA

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 842 bytes
Desc: Message signed with OpenPGP using GPGMail
URL: <http://lists.samba.org/pipermail/samba/attachments/20140404/c0482870/attachment.pgp>


More information about the samba mailing list