Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 30 Jan 2002 10:28:51 +0000
From:      Pete French <pfrench@firstcallgroup.co.uk>
To:        freebsd-stable@freebsd.org
Subject:   Changes to SMB locking in stable ?
Message-ID:  <E16Vrz1-000CGN-00@mailhost.firstcallgroup.co.uk>

next in thread | raw e-mail | index | archive | help
Was some change made to the way SMB locking is done in stable recently ?
We have a situation where several FreeBSD machines have a share mounted from
an NT box. This was originally done using the smbfs port. I recently
upgraded the machines to use the SMBFS stuff now included by default.
The shares all mount fine, but now we find if one machine has a file
open for reading then no other machines can open the file.

This only occurs between the FreeBSD machines - th same file may be
read many tmes on the samemachine, and if a BSD machine has a file
open it may be read by other NT machines miunting the same share. Only
other BSD machines are locked out.

The reading process fails the open with the error "Permission denied"
rather tjhan blocking until the file can be read. The manual
page refers me to nsmb(8), but that page does not exist, nether does a
manual page for nsmb.conf, so I cannot find out if there is some
locking option I have missed.

As these files are being served by a web server the chances of them
being accessed in parallel is quite high and thus this is becomming
a serious problem for us.

ANy suggestions ?

-pcf.

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-stable" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?E16Vrz1-000CGN-00>