The Storage Quota Management via the command line interface (CLI) feature allows administrators to easily set and manage storage quotas for file system size, number of entries, and object storage.
This new functionality offers administrators more control over costs, ensuring efficient and optimized use of resources.
Setting the Maximum File System Size
- Command:
lucid2 config --set --global --FileSystem.MaxFsSize
- Description: Use this command to set the maximum file system size of the given Filespace. To remove this limit, set the value to 0.
- Example:
lucid2 config --set --global --FileSystem.MaxFsSize 10TB
Setting the Maximum Object Storage Size
- Command:
lucid2 config --set --global --FileSystem.MaxStorageSize
- Description: Use this command to set the maximum object storage size that includes your Filespace snapshots. To remove this limit, set the value to 0.
- Example:
lucid2 config --set --global --FileSystem.MaxStorageSize 10TB
Setting the Maximum Number of Entries
- Command:
lucid2 config --set --global --FileSystem.MaxFsEntries
- Description: Use this command to define the maximum number of file system entries, including files, directories, and symlinks. To remove this limit, set the value to 0.
- Example:
lucid2 config --set --global --FileSystem.MaxFsEntries 1000000
What happens when some limit is hit?
When reaching 80% of a limit, all users connected to the Filespace will observe a warning message in the LucidLink app:
When a specific limit is reached, all users connected to the Filespace will observe an error message in the LucidLink app:
Furthermore, all attempts to add new data to the Filespace will be interrupted by the Operating System, noting that there is not enough space: