标签:xfs_quota
xfs分区设置空间配额
xfs_quota是redhat自带的,不需要额外安装
# vi /etc/fstab
/dev/sda3 /home xfs defaults,usrquota,grpquota 0 0
:wq
重启服务器生效
(若不执行上两步会报:xfs_quota:cannotset limits function not implemented错误)
为aa账号设置配额:
# xfs_quota–x –c “limit bsoft=30G bhard=40G aa” /home
查看所有配额情况:
# xfs_quota–x –c report /home
本文出自 “linux” 博客,请务必保留此出处http://yangzhiming.blog.51cto.com/4849999/1717745
标签:xfs_quota
原文地址:http://yangzhiming.blog.51cto.com/4849999/1717745