Follow

fs.treeq.create

ROLE: Admin 

Description

Create new filesystem TreeQ.

Set the following parameters:

  • fs: file system name
  • name: treeq name
  • Path - the internal path within the filesystem, starts with a slash sign (/) and is not allowed to have any additional slash signs
  • Mode: Similar to UNIX permission bits, if not provided - inherited from the system parameter for default "mode"
  • iNode quota (optional) - the number of file iNodes (numeric value / 5k / 1m for annotating thousands / millions)
  • Capacity quota (optional) - total logical capacity allocated to this quota. value is a number+ measurement unit. (100m / 200gib / 1tb)
  • Soft iNodes quota (optional)- At what iNode usage will the storage admin receive an event that the quota is nearly full.
  • Soft Capacity quota (optional)- At what capacity usage will the storage admin receive an event that the quota is nearly full.
Syntaxfs.treeq.create fs={FS|SNAP} name=TREEQNAME [path=TREEQPATH] [mode=TREEQMODE] [inode_quota=TREEQINODEQUOTA] [soft_inode_quota=TREEQINODEQUOTA] [capacity_quota=TREEQCAPACITYQUOTA] [soft_capacity_quota=TREEQCAPACITYQUOTA]
Argumentssoft_capacity_quotaA positive number (up to 2 digits beyond the decimal point), optionally followed by a unit; e.g. 1TB, 1000000000000
capacity_quota A positive number (up to 2 digits beyond the decimal point), optionally followed by a unit; e.g. 1TB, 1000000000000
soft_inode_quotaA positive number (up to 2 digits beyond the decimal point), optionally followed by a unit; e.g. 1M, 1000000
inode_quotaA positive number (up to 2 digits beyond the decimal point), optionally followed by a unit; e.g. 1M, 1000000
modeTreeQ mode
pathTreeQ path
nameTreeQ name
fsName of an existing filesystem or snapshot
Examplefs.treeq.create fs=fs1 name=tq1 capacity_quota=1t
TreeQ 'tq1' created in filesystem 'fs1' with path '/tq1'



fs.treeq.delete 

ROLE: Admin 

Description

Delete filesystem TreeQ.

In order to be deleted, the TreeQ has to be empty. When running the command, and identifying the treeq, note that the treeq name cannot be auto-completed.

Syntaxfs.treeq.delete fs={FS|SNAP} treeq=TREEQNAME 
ArgumentstreeqTreeQ name
fsName of an existing filesystem or snapshot
Examplefs.treeq.delete fs=fs1 treeq=tq2 
Treeq "tq2" deleted 



fs.treeq.modify 

ROLE: Admin 

Description

Modify filesystem TreeQ.

The following attributes can be modified:

  • Path - this attribute cannot be modified alone.

The command has to include a modification to at least one of the following attributes:

  • iNode quota
  • Soft iNode quota
  • Capacity quota
  • Soft capacity quota

When running the command, and identifying the treeq, note that the treeq name cannot be auto-completed.

Syntaxfs.treeq.modify fs={FS|SNAP} [treeq=TREEQNAME] [path=TREEQPATH] [inode_quota=TREEQINODEQUOTA] [soft_inode_quota=TREEQINODEQUOTA] [capacity_quota=TREEQCAPACITYQUOTA] [soft_capacity_quota=TREEQCAPACITYQUOTA]
Argumentssoft_capacity_quotaA positive number (up to 2 digits beyond the decimal point), optionally followed by a unit; e.g. 1TB, 1000000000000
capacity_quota A positive number (up to 2 digits beyond the decimal point), optionally followed by a unit; e.g. 1TB, 1000000000000
soft_inode_quotaA positive number (up to 2 digits beyond the decimal point), optionally followed by a unit; e.g. 1M, 1000000
inode_quotaA positive number (up to 2 digits beyond the decimal point), optionally followed by a unit; e.g. 1M, 1000000
pathTreeQ path
nameTreeQ name
fsName of an existing filesystem or snapshot
Examplefs.treeq.modify fs=fs1 treeq=tq1 inode_quota=1000
Treeq "tq1" modified in filesystem 'fs1' 

  


fs.treeq.query  

ROLE: All Roles

Description

List existing treeqs.

When running the command, and identifying the treeq, note that the treeq name cannot be auto-completed. 

Syntaxfs.treeq.query fs={FS|SNAP} [treeq=TREEQNAME] [path=TREEQPATH] [inodes_state=(NONE|BELOW_SOFT|SOFT_EXCEEDED)] [capacity_state=(NONE|BELOW_SOFT|SOFT_EXCEEDED)]
Argumentscapacity_stateTreeQ state 
inode_stateTreeQ state 
pathTreeQ path
treeqTreeQ name
fsName of an existing filesystem or snapshot
Examplefs.treeq.query fs=fs1 
FILESYSTEM  TREEQ  CAPACITY      USED     CAPACITY  CAPACITY  INODES  USED   INODES  INODES 
                   STATE         CAPACITY SOFT      HARD      STATE   INODES SOFT    HARD   
                                          QUOTA     QUOTA                    QUOTA   QUOTA
PATH 

fs1         treeq1 NONE          900 GB   -         1 TB       NONE    120   -       1.25 k 
/treeq1
fs2         treeq2 BELOW QUOTA   700 GB  800 GB     1 TB       NONE    1     -       1.25 k 
/treeq2
fs3         treeq3 SOFT_EXCEEDED 900 GB  800 GB     1 TB       NONE    1     -       1.25 k 
/treeq3



fs.treeq.rename 

ROLE: Admin 

Description

Rename filesystem TreeQ.

When running the command, and identifying the treeq, note that the treeq name cannot be auto-completed.

Syntaxfs.treeq.rename fs={FS|SNAP} treeq=TREEQNAME new_name=TREEQNAME
Argumentsnew_nameNew TreeQ name
treeqTreeQ name
fsName of an existing filesystem or snapshot
Examplefs.treeq.rename fs=fs1 treeq=tq1 new_name=treeq1 
TreeQ 'tq1' name updated to 'treeq1' 


Was this article helpful?
0 out of 0 found this helpful

0 out of 0 found this helpful

Last edited: 2022-08-06 08:35:14 UTC

Comments