Network and Storage Protocols

Can I schedule an open file session kill for a CIFS Share

PRASAD_GOVINDARAJ
4,787 Views

Hello All,

Is there a possibility where we can schedule an open file session kill for a specified CIFS shares.

There is a CIFS share where mulitple users log on and work and everyday at specific time one file needs to be updated but it would be lock with some user, being an admin we can kill a session and make that file write for the next user but I was just checking if we do any scheduling on this

Appreciate your revert.


Kind Regards,

Prasad

4 REPLIES 4

lhoffman1
4,787 Views

is that always the same user you could do per script

PRASAD_GOVINDARAJ
4,786 Views

Thanks for the update Hoffmann,

Not sure if that would be with same user but with same file, The scripting can be done but I was thinking if there is any option from DFM.

Even if I have a script how do I embed the same in the DFM

PRASAD_GOVINDARAJ
4,786 Views

I researched more on this and with the help of lock break command we can kill a session from the filer cmd prompt.

Now is it possible to schedule a command from DFM to kill a session

Command Ex :

lock break -f "/vol/Share/folder/file.xlsx" -p cifs

darraghos
4,786 Views

Thanks for this, I need to do the same for some out of hour maintenance and this will help

Public