[CentOS] CentOS5 and samba

Sat Apr 17 17:00:38 UTC 2010
Les Mikesell <lesmikesell at gmail.com>

Daniel Bird wrote:
> On 04/16/2010 04:23 PM, John Doe wrote:
>> From: Daniel Bird<dbird at sgul.ac.uk>
>>> Setting locking = No in the globals of smb.conf
>>> fixed it.
>> Keep in mind that:
>> "Be careful about disabling locking either globally or in a specific
>>   service, as lack of locking may result in data corruption. You
>>   should never need to set this parameter."
> Indeed, however smb locking still properly reports "this file is in use 
> by...." etc. on the smb side.  If fact it seems to have had little 
> effect except for now properly reporting who is using the file instead 
> of always reporting the file is in use and locked by the owner.
> Like I said, we still need to investigate more fully however the we see 
> the issue on all NFS file systems when using the rpms from both the 
> 3.0.33 CentOS and samba-3x series from RedHat 5.5. Like the OP, local 
> file systems do not exhibit this issue.

Can't you samba-export at the source instead of the nfs mount?  Even if it works 
it seems like an inefficient way to do things.

   Les Mikesell
    lesmikesell at gmail.com