[Samba] File locks db (manually removing locks)

Nathan Vidican nvidican at wmptl.com
Tue Apr 12 14:15:27 GMT 2005


Because we have been having problems with file locking issues, and need the
output of smbstatus to debug and figure out who's got what locked and why
they can't save. Aside from being un-tidy, these entries are becoming
stale-dated and invalid anyhow; they stay there and make the output of
smbstatus full of 'untidy' data which gets in the way of us solving the real
problem - why a user can't save or is seeing an un-opened file as locked
when it's not.


--
Nathan Vidican
nvidican at wmptl.com
Windsor Match Plate & Tool Ltd.
http://www.wmptl.com/

-----Original Message-----
From: David McCann [mailto:dmccann at nibsc.ac.uk] On Behalf Of Mac
Sent: Tuesday, April 12, 2005 9:53 AM
To: Nathan Vidican
Cc: samba at samba.org
Subject: Re: [Samba] File locks db (manually removing locks)



>Is there any utility to manually manipulate the db file these locks are
>stored in; or will simply deleting the db file after stopping all samba
>processes, allow the new instance to create a fresh (empty) database? -
>How do we remove the locks marked as present which really aren't?

Why would you want to?  What problems do they cause (other than making
'smbstatus' output look untidy?




                               Mac
          Assistant Systems Adminstrator @nibsc.ac.uk
                           mac at nibsc.ac.uk
   Work: +44 1707 641565          Everything else: +44 7956 237670 (anytime)




More information about the samba mailing list