[Samba] locking db corruption with 2.2.5?

adam at morrison-ind.com adam at morrison-ind.com
Fri Aug 23 09:55:01 GMT 2002


>Things I tried that each had no effect (in order)
>- Disableing oplocks on shares (oplocks = no)
>- Upgrade to 2.2.6pre1
>- Upgraded to most recent RedHat Kernel RPMs, confirmed most recent gcc,
>glibc, etc...
>- Rebuild 2.2.6pre1
>- Rebooted server into uniprocessor mode
>- Droped back to the RedHat "OEM" samba-2.2.3a-6 RPMs.
>- "Set kernel oplock = no"
>Then I set "use mmap = no" and restarted 2.2.3a-6.  I can see in lsof that
>smbd is no longer openning *.tdb as memory mapped.  It has been several hours 
>and I can still 'smbclient -L" without blowing up my terminal window,  all the
>file names seem intact and legitimate.  I can now complete an index of a
>Goldmine DBF database stored on the server. :)
>But I am still having phantom locking problems where users cannot save
>Office documents,  or cannot open them because they are reported as already in 
>use. smbstatus -L shows them locked,  but by the person trying to open them.

Crap!

30611  DENY_WRITE RDONLY     EXCLUSIVE+BATCH  ªt   Fri Aug 23 14:42:59 2002
29494  DENY_WRITE RDWR       EXCLUSIVE+BATCH 
/usr/pcnet/deptdata/actng/nhopkins/CREDIT#S.123   Fri Aug 23 12:57:50 2002
29866  DENY_NONE  RDONLY     EXCLUSIVE+BATCH 
/usr/pcnet/goldmine/Yss/Sra/Proposal Status SummaryV5.rpt   Fri Aug 23 13:23:19 2002
30611  DENY_WRITE RDONLY     EXCLUSIVE+BATCH  ªt   Fri Aug 23 14:42:58 2002
30611  DENY_NONE  RDWR       EXCLUSIVE+BATCH  /usr/pcnet/goldmine/Program
Files/GoldMine/Common/Contact2.MDX   Fri Aug 23 14:43:01 2002
30611  DENY_NONE  RDWR       EXCLUSIVE+BATCH  ªt   Fri Aug 23 14:43:00 2002
30611  DENY_NONE  RDWR       EXCLUSIVE+BATCH  ªt   Fri Aug 23 14:43:00 2002
23780  DENY_NONE  RDWR       NONE             /home/creamer/database/PHONE2.

First thing after I send that message....



More information about the samba mailing list