> On Tue, Jun 28, 2016 at 11:59:32AM -0400, Thomas Schulz wrote:
>> This with Samba 4.4.3 on Solaris 10.
>>
>> I have been looking at the logs and see messages such as:
>>
>> [2016/06/13 14:20:37.074011, 0]
../source3/smbd/oplock.c:242(remove_oplock)
>> remove_oplock: failed to lock share entry for file
packages/winnt/adv084/8.4.1/8.4.1.6.iso
>> [2016/06/13 14:20:37.075061, 0]
../source3/smbd/close.c:266(close_remove_share_mode)
>> close_remove_share_mode: Could not get share mode lock for file
packages/winnt/adv084/8.4.1/8.4.1.6.iso
>> [2016/06/13 14:23:01.072610, 0]
../source3/smbd/oplock.c:242(remove_oplock)
>> remove_oplock: failed to lock share entry for file
packages/winnt/adv084/8.4.1/8.4.1.6.iso
>> [2016/06/13 14:23:01.073817, 0]
../source3/smbd/close.c:266(close_remove_share_mode)
>> close_remove_share_mode: Could not get share mode lock for file
packages/winnt/adv084/8.4.1/8.4.1.6.iso
>> [2016/06/13 15:04:18.057655, 0]
../source3/smbd/oplock.c:242(remove_oplock)
>> remove_oplock: failed to lock share entry for file
packages/winnt/adv084/8.4.1/8.4.1.6.iso
>> [2016/06/13 15:04:18.058317, 0]
../source3/smbd/close.c:266(close_remove_share_mode)
>> close_remove_share_mode: Could not get share mode lock for file
packages/winnt/adv084/8.4.1/8.4.1.6.iso
>> [2016/06/13 15:06:54.056727, 0]
../source3/smbd/oplock.c:242(remove_oplock)
>> remove_oplock: failed to lock share entry for file
packages/winnt/adv084/8.4.1/8.4.1.6.iso
>> [2016/06/13 15:06:54.057446, 0]
../source3/smbd/close.c:266(close_remove_share_mode)
>> close_remove_share_mode: Could not get share mode lock for file
packages/winnt/adv084/8.4.1/8.4.1.6.iso
>> [2016/06/15 09:57:17.972291, 0]
../source3/smbd/oplock.c:249(remove_oplock)
>> remove_oplock: failed to remove share oplock for file
packages/winnt/adv084/8.4.1/8.4.1.06/8.4.1.6.iso, fnum 3017253363,
5fc2427:427f00:0
>> [2016/06/15 09:57:17.988051, 0]
../source3/smbd/close.c:485(close_remove_share_mode)
>> close_remove_share_mode: Could not delete share entry for file
packages/winnt/adv084/8.4.1/8.4.1.06/8.4.1.6.iso
>> [2016/06/15 09:57:36.589452, 0]
../source3/smbd/oplock.c:242(remove_oplock)
>> remove_oplock: failed to lock share entry for file
packages/winnt/adv084/8.4.1/8.4.1.06/8.4.1.6.iso
>> [2016/06/15 09:57:36.590066, 0]
../source3/smbd/close.c:266(close_remove_share_mode)
>> close_remove_share_mode: Could not get share mode lock for file
packages/winnt/adv084/8.4.1/8.4.1.06/8.4.1.6.iso
>> [2016/06/15 10:00:18.588402, 0]
../source3/smbd/oplock.c:242(remove_oplock)
>> remove_oplock: failed to lock share entry for file
packages/winnt/adv084/8.4.1/8.4.1.06/8.4.1.6.iso
>> [2016/06/15 10:00:18.589054, 0]
../source3/smbd/close.c:266(close_remove_share_mode)
>> close_remove_share_mode: Could not get share mode lock for file
packages/winnt/adv084/8.4.1/8.4.1.06/8.4.1.6.iso
>>
>> These are on an nfs mounted file system. What could cause this and is
>> this something to worry about?
>
> Don't know yet. It is unusual - the first message means it can't
> find the open file mode entry that should exist for every open file.
>
> Any chance of more context ?
Here is what I could find. The iso file is created on a Solaris system on
a file system that is NFS mounted from our main file server. Then it is
burned to a CD on a Windows 7 PC through a Samba server running on a
different Solaris machine (Solaris 10) that is also NFS mounting the
file system.
As a test I have tried accessing a newly created iso file created on the
machine that created the subject file and then accessed through the same
Samba server. I can not duplicate the messages. I did not burn the file
to a CD but instad copied it to another location.
Tom Schulz
Applied Dynamics Intl.
schulz at adi.com