openfilesquery close-open-file-handle

Prev Next

This command closes a particular open file handle.

NOTE: This command is available starting with VAST Cluster 5.4.1.

Before using this command:

  1. Run openfilesquery list-open-files to obtain the file ID of the file for which you want to list open handles.

  2. Run openfilesquery query-open-file-handles to retrieve a list of open handles for the file ID.

  3. Run openfilesquery list-open-file-handles to obtain the ID of the file handle that you want to close.

Usage

openfilesquery close-open-file-handle --file-handle-id ID

Required Parameters

--id ID

The ID of the open file handle you want to close.

The file handle ID can be obtained from the ID field of openfilesquery list-open-file-handles command output.

Example

To close file handle with ID 7:

vcli: admin> openfilesquery close-open-file-handle --file-handle-id 7