[Samba] locking db corruption with 2.2.5?

adam at morrison-ind.com adam at morrison-ind.com
Thu Aug 22 04:50:01 GMT 2002


>We are currently experiencing this problem.  I have taken a copy of the
>/var/cache/samba/ dir (containing locking.tdb) and a copy of the log of
>one of the affected terminal servers (all seem to be affected) and a
>copy of smbstatus.
>I can test a couple of things or email them to someone if anyone can
>point me in the right direction...
>the locks list of the smbstatus is showing many lines that are "ok", but
>also include these:
>29174  DENY_NONE  0x120089    RDONLY     NONE             j^X   Thu Aug
>22 14:25:40 2002
>24676  DENY_NONE  0x120089    RDONLY     NONE             j^X   Thu Aug
>22 14:15:11 2002
>8212   DENY_NONE  0x120089    RDONLY     NONE             j^X   Thu Aug
>22 14:02:48 2002
>9015   DENY_NONE  0x20089     RDONLY     NONE             j^X   Thu Aug
>22 12:01:53 2002
>I don't think myself or Adam have pointed it out, but I suspect that
>when samba checks a file against the locking db and finds one of these,
>it seems to think that the file it is looking for is locked ie users
>sometimes have problems opening/saving files now that definitely aren't
>locked.  They can sometimes save it on another share, but that doesn't
>always work.
>We do have some long path names for some files, users sometimes create
>large trees, could this be an issue?

I've moved to Samba 2.2.6pre1, and while it seemed hopeful for awhile the
problem cropped up suddenly again.



16279  DENY_NONE  0x3         RDWR       EXCLUSIVE+BATCH  9   Thu Aug 22
09:30:16 2002
16279  DENY_NONE  0x3         RDWR       EXCLUSIVE+BATCH  9   Thu Aug 22
09:30:17 2002
16490  DENY_NONE  0x3         RDWR       EXCLUSIVE+BATCH 
/usr/pcnet/deptdata/mvp/MVP R/mvp rga log.xls   Thu Aug 22 09:43:07 2002
15972  DENY_NONE  0x3         RDWR       EXCLUSIVE+BATCH 
/usr/pcnet/deptdata/mvp/MVP R/return to vendor form.doc   Thu Aug 22 09:27:21 2002
16279  DENY_WRITE 0x1         RDONLY     EXCLUSIVE+BATCH  9   Thu Aug 22
09:30:14 2002
16268  DENY_NONE  0x3         RDWR       NONE            
/usr/pcnet/deptdata/personel/Morrison - HR/Mail Merge.xls   Thu Aug 22 09:41:29 20
02
13150  DENY_WRITE 0x3         RDWR       NONE            
/usr/pcnet/deptdata/actng/kkalis/Industrial Leasing/Schedual0203.123   Thu Aug 22 
08:01:25 2002
13150  DENY_NONE  0x1         RDONLY     NONE            
/usr/pcnet/deptdata/actng/kkalis/Industrial Leasing/Schedual0203.123   Thu Aug 22 
08:00:53 2002
16279  DENY_NONE  0x3         RDWR       EXCLUSIVE+BATCH  9   Thu Aug 22
09:30:17 2002
16279  DENY_NONE  0x3         RDWR       EXCLUSIVE+BATCH 
/usr/pcnet/goldmine/Program Files/GoldMine/GMBase/Report32.DBT   Thu Aug 22 09:30:
19 2002
16279  DENY_NONE  0x3         RDWR       EXCLUSIVE+BATCH  9   Thu Aug 22
09:30:17 2002
16279  DENY_NONE  0x3         RDWR       EXCLUSIVE+BATCH 
/usr/pcnet/goldmine/Program Files/GoldMine/Reports/SysReps.DBF   Thu Aug 22 09:30:
19 2002
16279  DENY_NONE  0x3         RDWR       EXCLUSIVE+BATCH  9   Thu Aug 22
09:30:17 2002
16010  DENY_NONE  0x2019f     RDWR       EXCLUSIVE+BATCH 
/usr/pcnet/deptdata/warranty/Receptionist/Hallie/h notes.doc   Thu Aug 22 09:22:40
 2002
16279  DENY_NONE  0x3         RDWR       EXCLUSIVE+BATCH 
/usr/pcnet/goldmine/Program Files/GoldMine/GMBase/Filters.MDX   Thu Aug 22 09:30:2
3 2002
16279  DENY_NONE  0x3         RDWR       EXCLUSIVE+BATCH  9   Thu Aug 22
09:30:17 2002
16279  DENY_NONE  0x3         RDWR       EXCLUSIVE+BATCH  9   Thu Aug 22
09:30:17 2002




More information about the samba mailing list