[Samba] Re: Samba corrupting files

Rashkae rashkae at wealthmap.ca
Wed Feb 26 23:15:04 GMT 2003


If your going to be using samba to host foxpro files, I think you should
deffinately update to a newer version.. I forget at what recent point in
time, but Jerry announced a very important fix (spin locks?) that were
checked in recently to prevent fox pro database corruption.  I don't think
it has anything to do with the log files appearing in data files problem,
but I haven't heard about that one in a long time.

And as for your Unix Administrator giving you a hard time about Sun not
providing the packages,,, well, I don't know what to say about that one.
You may want to politely suggest that Sun does not, in fact, develop
Samba, so their official ok doesn't really count for much when Samba devel
team acknowledges serious data corruption bugs that have been fixed.  If
he/she doesn't get the hint, you may have to escalate the issue with
management.  This probably comes down to some kind of support contract in
regards to what software is allowed to be installed on the Server.  But if
your company's support contract locks you into software with known data
corruption issues, I have to question the value of that contract.  If
there are no such contractual limitations, I question the competance of
admin who will not update the software if required to do so.

____________________________________________
Feb 26  6:06pm


They hang the man and flog the woman
That steal the goose from off the common,
But let the greater villain loose
That steals the common from the goose.
  --English folk poem, circa 1764








On Wed, 26 Feb 2003, Chris de Vidal wrote:

I'd heard of people having the same issues with Access
but our problem was wit FoxPro db files.  You should
probably disable oplocks in Windows or in Samba for
Access (or any large multi-user read-write) files due
to weirdness in the SMB protocol.

/dev/idal

--- Brent Torrenga <brent.torrenga at torrenga.com>
wrote:
> Chris,
>
> I am about to implement a MS Access2000 database
> here on the samba server.
> Was it MS Access that you had the trouble with
> specifically?
>
> "Chris de Vidal" <cdevidal at yahoo.com> wrote in
> message
>
news:20030226173715.27431.qmail at web40513.mail.yahoo.com...
> > --- "Parker, Robin" <robin.parker at nectech.co.uk>
> > wrote:
> > > We're now getting corrupt files appearing in
> > > ClearCase.  The files are in
> > > tact except for a number of lines added to the
> > > beggining of the file.
> >
> > I can't explain that type of corruption, but I can
> > suggest you disable all oplocks.  In your smb.conf
> > global section, 'kernel oplocks = No', and on each
> > share specify 'oplocks = No' and 'level2 oplocks =
> > No'.
> >
> > I'm not a member of the Samba team but a Linux
> > administrator whose primary responsibility is
> several
> > Samba servers.  We had corruption on several large
> > flat database files.  When we disabled all
> oplocks,
> > our databases no longer corrupted.
> >
> > I've not been able to test which oplock setting of
> the
> > three was causing this problem (or if it was all
> > three) so I suggest you try disabling them all at
> once
> > and then gradually re-enabling them one at a time.
>  If
> > that doesn't fix it, be sure to set them back, as
> > oplocks are a performance boost.
> >
> > Good luck,
> > /dev/idal
> >
> > __________________________________________________
> > Do you Yahoo!?
> > Yahoo! Tax Center - forms, calculators, tips, more
> > http://taxes.yahoo.com/
> > --
> > To unsubscribe from this list go to the following
> URL and read the
> > instructions:
> http://lists.samba.org/mailman/listinfo/samba
> >
>
>
>
> --
> To unsubscribe from this list go to the following
> URL and read the
> instructions:
http://lists.samba.org/mailman/listinfo/samba


__________________________________________________
Do you Yahoo!?
Yahoo! Tax Center - forms, calculators, tips, more
http://taxes.yahoo.com/
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba



More information about the samba mailing list