quota 磁盘配置
小于 1 分钟
quota 磁盘配置
gpfs 磁盘配置
编辑磁盘配置
mmsetquota /dev/share --user user1 --block 2000G:2048G
查看磁盘配置
mmlsquota -u {username} --block-size auto {qutoa_device}
mmlsquota -u user1 --block-size auto /dev/share
mmlsquota -u user1 --block-size auto
xfs 磁盘配置
编辑磁盘配置
xfs_quota -x -c 'limit bsoft=30m bhard=50m isoft=3 ihard=5 user1' /share
edquota -u user1
查看磁盘配置
xfs_quota -x -c "report -uh" /dev/sda1 | grep user1
ext4 磁盘配置
编辑磁盘配置
setquota user1 10240 20480 0 0 /data
setquota -u user1 4095G 4095G 0 0 /data
setquota -u test5 2T 2T 0 0 /data
查看磁盘配置
quota -us user1