This command closes SMB file handles. To list open SMB file handles, use view list_open_smb_handles.
Usage
view close_smb_handle --file-path --session-id --session-handle-unique-id [--share] [--cluster-id] [--tenant-name]
Required Parameters
|
Specify the full file path without providing |
|
Specifies the session ID. This is listed as session_id in the output of view list_open_smb_handles. |
|
Specifies the unique ID of the session handle you want to close. This is listed as unique_id in the output of view list_open_smb_handles. |
Options
Use this option to specify the share name. See --file-path in Required Parameters. |
|
|
This value defaults to 1. If your cluster ID is not 1, use this option to specify the cluster ID. If you are not sure, you can check the cluster ID by running |
This option is for future use. Leave as default. |
Example
vcli: admin> view close_smb_handle --file-path test.txt --share test2 --session-id 0x1c00200000002 --session-handle-unique-id 0x1c0020000000b Filehandle was closed successfully
Comments
0 comments
Article is closed for comments.