This command closes open file handles. To list open file handles, run cluster list-open-protocol-handles.
Usage
cluster close-protocol-handle --file-path PATH
--session-id ID
--session-handle-unique-id ID
[--share SHARE]
[--cluster-id ID]
[--tenant-name TENANT]Required Parameters
| Specify the file path. For SMB views, specify the path within the share specified in |
| Specify the session ID. To learn the session ID, run the cluster list-open-protocol-handles command. |
| Specify the unique ID of the session handle you want to close. To learn the session ID, run the cluster list-open-protocol-handles command and check the |
Options
| For SMB views, specify the share name. |
| Specify the cluster ID. You can verify the cluster ID by running Default: 1. |
| Specify the name of the tenant where the file resides. If this option is not specified, the default tenant is used. |
Example
vcli: admin> cluster close-protocol-handle --file-path test.txt --share test2 --session-id 0x1c00200000002 --session-handle-unique-id 0x1c0020000000b
Filehandle was closed successfully