Storage Quota Management via the Command Line Interface (CLI)

  • Updated

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: lucid 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: lucid config --set --global --FileSystem.MaxFsSize 10TB

Setting the Maximum Object Storage Size

  • Command: lucid 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: lucid config --set --global --FileSystem.MaxStorageSize 10TB

Setting the Maximum Number of Entries

  • Command:  lucid 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:  lucid 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:

limit_warning.png

When a specific limit is reached, all users connected to the Filespace will observe an error message in the LucidLink app:

limit_reached.pngFurthermore, all attempts to add new data to the Filespace will be interrupted by the Operating System, noting that there is not enough space:

Screenshot 2024-02-13 101523.png

 

Was this article helpful?

0 out of 0 found this helpful