This command closes open filehandles. To list open filehandles, run cluster list-open-protocol-handles.
Usage
cluster close-protocol-handle --file-path FILE_PATH --session-id SESSION_ID --session-handle-unique-id SESSION_HANDLE_UNIQUE_ID [--share SHARE] [--cluster-id ID] [--tenant-name TENANT_NAME]
Required Parameters
|
Specify |
|
Specifies the session ID. This is listed as session_id in the output of cluster list-open-protocol-handles. |
|
Specifies the unique ID of the session handle you want to close. This is listed as unique_id in the output of cluster list-open-protocol-handles. |
Options
Specifies the name of the share in which the file resides. See also --file-path in Required Parameters. |
|
|
You can verify the cluster ID by running Default: 1. |
This option is for future use. Leave as default. |
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
Comments
0 comments
Article is closed for comments.