Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Mute
- Printer Friendly Page
How to termate CIFS sessions to a particular CIFS share..?
2012-08-03
03:33 AM
25,716 Views
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
Is it possible to terminate CIFS sessions established to a particular CIFS share created on a qtree..? If yes, please provide me the steps.
Regards,
Vijay R
10 REPLIES 10
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
First check which session you want to terminate by: cifs sessions.
And then terminate that session as : cifs terminate user/machine
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
I want to terminate all the sessions for a particular CIFS share.
Regards,
Vijay R
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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. )
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Stop Sharing from Windows MMC will delete the share from the Storage Server.
You can terminate CIFS on a particular volume.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
You can do at volume level, go to advanced mode and try adding -v volume_name to cifs terminate and restart commands.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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.
thank you,
AK G
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
should work at the volume level like baijulal listed... advanced mode though.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
How to terminate CIFS for a particular volume without affecting other volumes' CIFS accessibility
KB ID: 1011064 Version: 2.0 Published date: 12/03/2010
Categories: Troubleshooting, Administration, Data ONTAP 7G
https://kb.netapp.com/support/index?page=content&id=1011064&pmv=print&impressions=false
Maybe there is an update to this KB.
Jeff
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Vijay,
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.
Regards,
Dharmesh
(P.S. Please mark the answer as correct or helpful if relevant)
