Manage filesystem groups using the CLI
This page describes how to view and manage filesystem groups using the CLI.
Using the CLI, you can perform the following actions:
View filesystem groups
Command: weka fs group
Use this command to view information on the filesystem groups in the WEKA system.
Add a filesystem group
Command: weka fs group create
Use the following command to add a filesystem group:
weka fs group create <name> [--target-ssd-retention=<target-ssd-retention>] [--start-demote=<start-demote>]
Parameters
Name
Type
Value
Limitations
Mandatory
Default
name
String
Name of the filesystem group being created
Must be a valid name
Yes
target-ssd-retention
Number
The time for keeping data on the SSD after it is copied to the object store. After this period, the copy of the data is deleted from the SSD. Format: 3s, 2h, 4m, 1d, 1d5h, 1w.
Must be a valid number
No
86400 (24 hours)
start-demote
Number
The time to wait after the last update before the data is copied from the SSD and sent to the object store. Format: 3s, 2h, 4m, 1d, 1d5h, 1w.
Must be a valid number
No
10
Edit a filesystem group
Command: weka fs group update
Use the following command to edit a filesystem group:
weka fs group update <name> [--new-name=<new-name>] [--target-ssd-retention=<target-ssd-retention>] [--start-demote=<start-demote>]
Parameters
Name
Type
Value
Limitations
Mandatory
Default
name
String
Name of the filesystem group being edited
Must be a valid name
Yes
new-name
String
New name for the filesystem group
Must be a valid name
Yes
target-ssd-retention
Number
The time for keeping data on the SSD after it is copied to the object store. After this period, the copy of the data is deleted from the SSD. Format: 3s, 2h, 4m, 1d, 1d5h, 1w.
Must be a valid number
No
start-demote
Number
The time to wait after the last update before the data is copied from the SSD and sent to the object store. Format: 3s, 2h, 4m, 1d, 1d5h, 1w.
Must be a valid number
No
Delete a filesystem group
Command: weka fs group delete
Use the following command line to delete a filesystem group:
weka fs group delete <name>
Parameters
Name
Type
Value
Limitations
Mandatory
Default
name
String
Name of the filesystem group to delete
Must be a valid name
Yes
Related topics
To learn about the tiring policy, see:
Last updated