[Samba] Antw: Re: STATUS_SHARE_VIOLATION when Read while Write on GPFS + CTDB

Volker Lendecke Volker.Lendecke at SerNet.DE
Fri Jun 5 03:26:04 MDT 2015


On Fri, Jun 05, 2015 at 11:09:17AM +0200, Alexander Gast wrote:
> I was able to get those level 10 logs - spitted by machine. 
> Unfortunately I don't know how attachments behave - Groupwise seems not to be happy with those - so I try the redundant way:
> 
> Here are the logfiles for this event (only one machine, one try):
> https://www.bitmammut.de/WDR/log.klnmszap32
> 
> In this file there are about 3 occurrences of the "NT_STATUS_SHARING_VIOLATION".
> The first is in line 2661.
> 
> Also I'll try to set the share-modes to "no" and look how it behaves. 
> 
> Thanks that you want to analyze this. I hope that we would find a solution.

Those sharing violations are real, that works as designed
for SMB. Applications can request to open files exclusively,
and that is what happens here. See for example

[2015/06/05 09:49:34.398654, 10, pid=64463, effective(1901, 1901), real(1901, 0)] ../source3/smbd/open.c:1082(share_conflict)
  share_conflict: check 1 conflict am = 0x120196, right = 0x6, sa = 0x1, share = 0x2
[2015/06/05 09:49:34.398734, 10, pid=64463, effective(1901, 1901), real(1901, 0), class=locking]
../source3/locking/locking.c:652(share_mode_stale_pid) PID 0:27594 (index 0 out of 1) still exists

Those messages are from SMB only, gpfs:sharemodes=no will
not help here. You should look into your applications to see
why they request exclusive access to files.

With best regards,

Volker Lendecke

-- 
SerNet GmbH, Bahnhofsallee 1b, 37081 Göttingen
phone: +49-551-370000-0, fax: +49-551-370000-9
AG Göttingen, HRB 2816, GF: Dr. Johannes Loxen
http://www.sernet.de, mailto:kontakt at sernet.de


More information about the samba mailing list