Hi All, 3.0.23c-1 I am currently having 2 strange re-occuring issues, that seems to happen sporadically. I am not sure if they are related. Users are advised when trying to save a file that "the Drive is full", even though there is alot of free space. I have read a technote on the microsoft site about this as it is a known issue with Word, but their suggested fixes do not help. Excel users are sometimes advised that 'The file is read only, as it is locked by $USER' the USER is themselves. They quite often have not even opened the file that day, when they get this. I have found in the past that restarting samba has corrected this particular issue which leads me to believe it is a problem with lock files. Has anyone else experienced these issues and been able to correct them? How does samba create, and release its lock files, and what could stop this from working as desired? Any help greatly appreciated. If i have not provided enough information please let me know what you need. Regards, Mark
Hi Dale, Thanks for the link. I had already tried disabling oplocks completely on the share as I thought this would be the issue, Unfortunatly it has not helped. can anyone advise how samba locking works? It seems in my case that locks are not being released, until I restart samba. Any help appreciated. Thanks, Mark On Wed, Mar 07, 2007 at 04:27:00PM -0600, Dale Schroeder wrote:> Maybe this will help: > > http://samba.org/samba/docs/man/Samba-HOWTO-Collection/locking.html#id348952 > > "veto oplock files =" was especially helpful for me. > > Dale > > Mark Adams wrote: > >Hi All, > > > >3.0.23c-1 > > > >I am currently having 2 strange re-occuring issues, that seems to happen > >sporadically. I am not sure if they are related. > > > >Users are advised when trying to save a file that "the Drive is full", > >even though there is alot of free space. I have read a technote on the > >microsoft site about this as it is a known issue with Word, but their > >suggested fixes do not help. > > > >Excel users are sometimes advised that 'The file is read only, as it is > >locked by $USER' the USER is themselves. They quite often have not even > >opened the file that day, when they get this. I have found in the past > >that restarting samba has corrected this particular issue which leads me > >to believe it is a problem with lock files. > > > >Has anyone else experienced these issues and been able to correct them? > > > >How does samba create, and release its lock files, and what could stop > >this from working as desired? > > > >Any help greatly appreciated. If i have not provided enough information > >please let me know what you need. > > > >Regards, > >Mark > >
>>> I have found in the past that restarting samba has corrected this particular issueI had similar problems in the past where a flaky network would lead to a users connection dropping out. I used "reset on zero vc", it greatly improved the situation (and we are slowly replacing the dodgy gear/cabling). Obviously there is something causing the problem in the first place and you should try to track down what the problem is and fix it, in the mean time reset on zero vc might help make it more manageable. -- Michael Heydon
On 3/7/07, Mark Adams <mark@campbell-lange.net> wrote:> Hi All, > > 3.0.23c-1 > > I am currently having 2 strange re-occuring issues, that seems to happen > sporadically. I am not sure if they are related. > > Users are advised when trying to save a file that "the Drive is full", > even though there is alot of free space. I have read a technote on the > microsoft site about this as it is a known issue with Word, but their > suggested fixes do not help. >I had the same issue recently. I ended up having to use force create mode like in the following example: http://acl.bestbits.at/pipermail/acl-devel/2001-November/000807.html John
> > > I had the same issue recently. I ended up having to use force create > mode like in the following example: > > http://acl.bestbits.at/pipermail/acl-devel/2001-November/000807.html > > JohnHi John, Thanks for your reply. I had already tried using this, although I use 2775 for my directory mode to ensure the group is retained. Unfortunatly it did not correct the issue. Thanks, Mark
> Hi John, > > Thanks for your reply. I had already tried using this, although I use > 2775 for my directory mode to ensure the group is retained. Unfortunatly > it did not correct the issue. > > Thanks, > Mark >Have you checked the permissions of the files? I had implemented that fix over a month ago and single user complained two weeks ago that she had the read only problem again. It turns out she had bad permissions on her folders and after a chmod 777 -R . on her root of her private files all was well again. John
> Have you checked the permissions of the files? I had implemented that > fix over a month ago and single user complained two weeks ago that she > had the read only problem again. It turns out she had bad permissions > on her folders and after a chmod 777 -R . on her root of her private > files all was well again. > > JohnYea I have been checking the permissions on the files each time and they appear fine, open in openoffice fine also. They also work ok after samba is restarted which is why I initially thought it was to do with lock files. Mark
Hi All, I have heard that there is a limit on the amount of saves you can have on a file, but can not find any evidence to back this up (except for my problems!). All files that I have been having these issues with, are files that have been saved many many times (100+). This happens from Word and Excel. Has anyone heard of this? or have any links to pages that talk about this? Help appreciated. Regards, Mark On Thu, Mar 29, 2007 at 04:20:18PM +0100, Mark Adams wrote:> > Have you checked the permissions of the files? I had implemented that > > fix over a month ago and single user complained two weeks ago that she > > had the read only problem again. It turns out she had bad permissions > > on her folders and after a chmod 777 -R . on her root of her private > > files all was well again. > > > > John > > Yea I have been checking the permissions on the files each time and they > appear fine, open in openoffice fine also. They also work ok after samba > is restarted which is why I initially thought it was to do with lock > files. > > Mark > -- > To unsubscribe from this list go to the following URL and read the > instructions: https://lists.samba.org/mailman/listinfo/samba
I should also mention, simply saving the document as another filename in the same folder makes this issue go away.> Hi All, > > I have heard that there is a limit on the amount of saves you can have > on a file, but can not find any evidence to back this up (except for my > problems!). All files that I have been having these issues with, are > files that have been saved many many times (100+). > > This happens from Word and Excel. > > Has anyone heard of this? or have any links to pages that talk about > this? > > Help appreciated. > > Regards, > Mark
On 4/2/07, Mark Adams <mark@campbell-lange.net> wrote:> I should also mention, simply saving the document as another filename in > the same folder makes this issue go away. >When this has happened to us saving it to a new filename has fixed the issue as well. I have one question though. Is your data on an external box mounted via NFS? I am using NFS for my public and private drives. Sorry if this was asked before in the thread. John
On Mon, Apr 02, 2007 at 03:41:25PM -0400, John Drescher wrote:> On 4/2/07, Mark Adams <mark@campbell-lange.net> wrote: > >I should also mention, simply saving the document as another filename in > >the same folder makes this issue go away. > > > When this has happened to us saving it to a new filename has fixed the > issue as well. I have one question though. Is your data on an external > box mounted via NFS? I am using NFS for my public and private drives. > Sorry if this was asked before in the thread. > > JohnHi John, No it is all internal storage, mirrored SATA drives to be precise. I believe this is a Microsoft issue, but can not find any evidence to prove this. I wonder, do people have the same issue with Windows servers? anybody seen this that is running a windows server fileshare? Mark