cluster close-open-files

Prev Next

This command closes one or more open files.

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

Usage

cluster close-open-files --tenant-id ID
                         --paths FILEPATHS

Required Parameters

--tenant-id ID

The ID of the tenant where open files reside.

If not specified, the default tenant is used.

--paths FILEPATHS

A comma-separated list of file paths, including the directory hierarchy and the file name, relative to the tenant.

Up to five paths can be specified.

Example

To close files /SMB-01/SMB-Test.File-01 and /SMB-01/SMB-Test.File-02 under tenant 4:

vcli: admin> cluster close-open-files --paths /SMB-01/SMB-Test.File-01,/SMB-01/SMB-Test.File-02 --tenant-id 4
Are you sure you want to close ['/SMB-01/SMB-Test.File-01', '/SMB-01/SMB-Test.File-02'] on tenant 4? 
[y/N] yStarted tasks: [12, 13]
vcli: admin>