1

I'd like to set xfs quota on my CentOS 6 server, so I installed xfsprogs package. However it says command limit not found as shown below.

[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.

Although I execute the command as root, administratior commands are not available.

Am I missing something?

kjtanaka
  • 125
  • 3

1 Answers1

0

Maybe just the help is lacking the documentation for limit? Did you try something like xfs_quota -x -c "limit -u bsoft=100m bhard=120m someuser" already?

Janne Pikkarainen
  • 31,852
  • 4
  • 58
  • 81