This command, run from the Samba server console as root, will show all of the open files that have been opened by client workstations. You might use it to determine if it is safe to restart the Samba daemons.
Look for the section labelled 'Locked Files'.
Sometimes a file will be left in a locked condition and cannot be reopenned. We have seen this with Outlook .pst files. Restarting Samba will fix this without rebooting the server.
It is usually wise to check for open files and to ask users to close them before restarting the Samba daemons.
On Redhat based systems, this command will usually restart Samba:
service smb restart
|< Prev||Next >|