[ale] file shares, locking and errors

James P. Kinney III jkinney at localnetsolutions.com
Sat Jun 30 11:41:13 EDT 2007


On Sat, 2007-06-30 at 11:09 -0400, Giulio wrote:
> On Saturday 30 June 2007 09:05, James P. Kinney III wrote:
> > I am looking at an error likely brought on by the different
> > filesystems fighting.
> >
> > server A has /home shared out with NFS (rw,no_root_squash,sync) to
> > several servers in the LAN. User authentication is handled by NIS+.
> >
> > Server B is the NIS master. It also mounts /home from server A AND
> > shares out /home using NFS and Samba.
> >
> > The people using the home dirs over NFS have no issues at all. But
> > the poor folks stuck on a winders box hitting a group share from
> > samba are getting "locked" error messages.
> >
> > I tested the following: As a user with read/write perms to the
> > group folder I was able to create a new folder. In that folder I
> > created a new text file (notepad).  I opened the file and wrote to
> > it and then went to save it. I got an error message along the lines
> > of "This file is locked by another process" and I had to use "Save
> > As" and use the same name of the file. It worked (the file
> > reflected the changes I made) but the error message is going to
> > cause issues.
> >
> > On this Samba setup, kernel oplocks are off.
> >
> > Any ideas?
> 
> I saw the same behavior for windows clients on a samba share with 
> ClamAV running. Updated ClamAV and problem went away.
> Hope that helps (if you are running ClamAV).

Hmm. ClamAV is used but I don't think on that machine (mailserver uses
it). 

I did a bunch of doc grepping and decided that sync was a bad idea. I
changed the NFS share to async, no_wdelay . Testing in a moment when
someone gets on-site with a windows user password.
> _______________________________________________
> Ale mailing list
> Ale at ale.org
> http://www.ale.org/mailman/listinfo/ale
> 
-- 
James P. Kinney III          
CEO & Director of Engineering 
Local Net Solutions,LLC        
770-493-8244                    
http://www.localnetsolutions.com

GPG ID: 829C6CA7 James P. Kinney III (M.S. Physics)
<jkinney at localnetsolutions.com>
Fingerprint = 3C9E 6366 54FC A3FE BA4D 0659 6190 ADC3 829C 6CA7
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part




More information about the Ale mailing list