I’m trying to set a quota for our students. Their directory is /home/students. However, in /etc/fstab we have: /dev/mapper/fedora-home /home xfs defaults,uquota,pquota,gquota 0 0
I tried the below syntax:
xfs_quota -x -c \'limit bsoft=10g bhard=200g $USERID\' /home/
xfs_quota: cannot setup path for mount bsoft=10g: No such file or directory
xfs_quota: cannot setup path for mount bhard=200g: No such file or directory
xfs_quota: cannot setup path for mount ': No such file or directory
Here are some other options I’ve tried for individual staff members in /home/staff:
xfs_quota -x -c 'limit bsoft=120g bhard=130g ouruser' /home
xfs_quota: invalid user name: ouruser
xfs_quota -x -c 'limit bsoft=120g bhard=130g ouruser' /home/staff
xfs_quota: cannot setup path for mount /home/staff: No such device or address
Every other option I’ve tried sets the quota for all users combined. Anyone know the correct syntax?
Am I understanding this correctly then, that it only works with rtbhard=N -d ? But in Red Hat’s documentation there is this note:
While real-time blocks (rtbhard/rtbsoft) are described in man xfs_quota as valid units when setting quotas, the real-time sub-volume is not enabled in this release. As such, the rtbhard and rtbsoft options are not applicable.