Add to Favourites Add to Favourites    Print this Article Print this Article

xfs_quota: cannot set limits: Function not implemented

When creating a User, if you see this error, it would mean that DA is trying to set the User quotas for an XFS file system.

First, check to see if you're using an XFS or EXT4 file system on the partition.
To determine which you're using, type:

mount | grep ' /home '

to show the mounted settings for that partition.
If you get no output, try using / for the partition name.

You might get an output that is similar to one of these:

/dev/sda3 on /home type ext4 (rw,usrquota,grpquota)
/dev/mapper/centos-root on /home type xfs (rw,relatime,attr2,inode64,noquota)

whcih will let you know (in bold) which file system you're running.

  1. If you're using ext4

    then you'll need to tell DA not to use xfs. Add this:

    use_xfs_quota=0

    to the file

    /usr/local/directadmin/conf/directadmin.conf

    and restart DirectAdmin.

  2. If you're using XFS

    then it means the XFS quotas are not setup correctly yet, so follow this guide:
    http://help.directadmin.com/item.php?id=557


Was this answer helpful?

Also Read