Is it possible to terminate CIFS sessions established to a particular CIFS share created on a qtree..? If yes, please provide me the steps.
I guess for that you can use option stop sharing from windows host which is used for managing filer/cifs shares, which will terminate all the active sessions.
go to computer management connect to your vfiler..
expand shared folders --> Shares --> on the right pane you will be seeing all the share names, you can right click on any share and stop.
( from command line.. its better you go to vfiler first and see how many active sessions are there and send out notification before you stop. )
you cannot terminate cifs for a particular share or at volume level but you can terminate the access to a particular workstation using the command "cifs terminate <workstation>", that terminates the access to the share from that workstation.
KB ID: 1011064 Version: 2.0 Published date: 12/03/2010
Categories: Troubleshooting, Administration, Data ONTAP 7G
Maybe there is an update to this KB.
Please go to the System Manager and select the particular Share that you wish to terminate the sessions of and then Click on the Stop Sharing option on the top. This will terminate the cifs sessions for that particular share.
(P.S. Please mark the answer as correct or helpful if relevant)