Linux: how to discover open files from smbd ?
Gerhard Zuber
zuber at berlin.snafu.de
Sun Mar 1 14:39:37 GMT 1998
I have a CD-Changer and I want to change the cd under the share.
this is done by a script, consisting of
unmounting the cdrom
changing the slot
mounting the cdrom again
to successfully do this, there must be no open files or directories
on the mountpoint.
If I browse with windows-nt-filemanager on that share it seems there
are files/dirs held open by smbd. in elder versions of smbd this
time was very short, so one second was acceptable to wait.
now in newer versions of smbd (maybe the new locking code) this time
is unacceptable long, so I need to kill that smbd is sitting on that
share.
So my question:
how to shorten that time
or
how to find the smbd is helding files/dirs open and killing it. There can
be more than one smbd running, i should kill the right one.
many thanx
Sincerely Yours / Mit freundlichen Grüßen: Gerhard Zuber
----------------------------------------------------------
Dipl.-Ing. Gerhard Zuber Telefon: (030) 861 32 01
Pfalzburger Str. 25
10719 Berlin Internet: zuber at berlin.snafu.de
Germany phone: +49.30.8613201
----------------------------------------------------------
Meine Meinung ist immer die meinige. My opinions are always my own.
More information about the samba
mailing list