我想在我的CentOS 6服务器上设置xfs配额,所以我安装了xfsprogs包。但是,它说的是command limit not found,如下所示。
[root@myserver ~]# xfs_quota
xfs_quota> print
Filesystem Pathname
/vol1 /dev/sda1 (uquota, gquota)
/vol2 /dev/sdb1 (uquota, gquota)
xfs_quota> help limit
command limit not found
xfs_quota> ?
df [-bir] [-hn] [-f file] -- show free and used counts for blocks and inodes
help [command] -- help for one or all commands
print -- list known mount points and projects
quit -- exit the program
quota [-bir] [-gpu] [-hnNv] [-f file] [id|name]... -- show usage and limits
Use 'help commandname' for extended help.虽然我以root的形式执行该命令,但管理员命令不可用。
我是不是遗漏了什么?
发布于 2014-09-10 05:54:39
也许只是帮助缺乏限制的文档?你已经试过像xfs_quota -x -c "limit -u bsoft=100m bhard=120m someuser"这样的东西了吗?
https://serverfault.com/questions/627449
复制相似问题