IN THIS ARTICLE
Outlines how to close an open SMB session via the Shared Folders MMC snap-in or qq command-line with Qumulo Core
- Cluster running Qumulo Core version 3.1.0 or above
- Administrator or Data Administrator Role
- Windows 7 // Server 2008R2 or newer client
- Command line (CLI) tools installed via API & Tools in the Web UI
If you need to force reauthentication after an SMB share update or review all of your open SMB sessions, we’ve got you covered. With the release of Qumulo Core 3.1.0, Windows admins can easily list and force close SMB sessions on a cluster with the Shared Folders MMC snap-in or via the qq command-line.
Keep in mind that this action will prevent the client from sending any new requests for this session, releasing all locks and forcing the client to reauthenticate. The client will not be given the opportunity to flush cached writes. Please consider the needs of your workflow before proceeding.
Close an Open SMB Session via Shared Folders MMC Snap-in
Important! Shared Folders MMC snap-in needs to be configured in order to successfully close an open session. Check out the Manage File Shares with Shared Folders MMC Snap-in article for more details.
- Click on the Sessions list item to display the sessions of users currently connected to the cluster.
- Right click on the session you’d like to forcibly close and select Close Session.
- Click Yes to confirm.
TIP! To manage a large number of open sessions, use the QQ CLI instead of the Shared Folders MMC snap-in. See additional details below.
Close an Open SMB Session via QQ CLI
- To gather details on the session you wish to forcibly close, use the following command to review all open sessions on your cluster:
- Specify the identity, location, or IP address with the command below to close an open SMB session:
qq smb_close_sessions [--identity IDENTITY][--location LOCATION][--ip IP-ADDRESS]
qq smb_close_sessions --identity "uid:500"
qq smb_close_sessions --location "2.1"
qq smb_close_sessions --ip "10.XXX.XXX.XX"
NOTE: The identity attribute can include (1) a name or a SID optionally qualified with a domain prefix (e.g "local:name", "world:Everyone", "ldap_user:name", "ad:name") or (2) An ID type (e.g. "uid:1001", "auth_id:513", "SID:S-1-1-0").
You should now successfully be able to use the Shared Folders MMC snap-in or qq command-line to close open SMB sessions with Qumulo Core
Like what you see? Share this article with your network!