xfsquota is a tool for managing XFS quotas
- support set quota
- support get quota
- clean quota
xfsquota is a tool for managing XFS quotas
Usage:
xfsquota [command]
Available Commands:
clean clean quota information
completion Generate the autocompletion script for the specified shell
get Get quota information
help Help about any command
set Set quota information
version get version
Flags:
-h, --help help for xfsquota
Use "xfsquota [command] --help" for more information about a command.
set quota size 1MiB ,inodes 20 for path /data/test/quota
> xfsquota set /data/test/quota -s 1MiB -i 20
set quota success, path: /data/test/quota, size:1MiB, inodes:20
get quota for path /data/test/quota
> xfsquota get /data/test/quota
quota Size(bytes): 1048576
quota Inodes: 20
diskUsage Size(bytes): 0
diskUsage Inodes: 1
xfsquota clean /data/test/quota
make build