Solved: xfs_quota: cannot set limits: Function not implemented.

Today we will look solution of an error message below.


Error while initiating XFS User Quota

[root@ngelinux ~]# xfs_quota -x -c 'limit isoft=100 ihard=200 saket' /
xfs_quota: cannot set limits: Function not implemented
[root@ngelinux ~]# xfs_quota -x -c 'limit isoft=100 ihard=200 saket'
xfs_quota: cannot set limits: Function not implemented
xfs_quota: cannot set limits: Function not implemented
xfs_quota: cannot set limits: Function not implemented

 

 


Solution
Usually we use remount option with quota command to enable quota which doesn’t work and generates the error message.
For this, we need to umount and mount the partition back.

A. Not working Solution

[root@ngelinux ~]# mount -o remount,uquota,gquota,pquota /Test/
[root@ngelinux ~]# mount | grep -i Test
/dev/sdb1 on /Test type xfs (rw,relatime,seclabel,attr2,inode64,noquota)
[root@ngelinux ~]# 

 

B. Working Solution

[root@ngelinux ~]# umount /Test/
[root@ngelinux ~]# mount -o quota /dev/sdb1 /Test/
[root@ngelinux ~]# mount | grep -i Test
/dev/sdb1 on /Test type xfs (rw,relatime,seclabel,attr2,inode64,usrquota)
[root@ngelinux ~]# 

 

0 0 votes
Article Rating
Subscribe
Notify of
guest

0 Comments
Newest
Oldest Most Voted
Inline Feedbacks
View all comments