xfs_quota returns "limits: Function not implemented"
This document (7016701) is provided subject to the disclaimer at the end of this document.
Environment
SUSE Linux Enterprise Server 12
Situation
server:~ # mount | grep xfs
/dev/system/var on /var type xfs (rw,relatime,attr2,inode64,noquota)
/dev/system/SUSEtest on /root/SUSEtest type xfs (rw,relatime,attr2,inode64,prjquota)
server:~ # mount -o pquota /dev/system/SUSEtest /root/SUSEtest/
server:~ # xfs_quota -x -c "report -h" /root/SUSEtest/
server:~ # cat /etc/projid test:10
server:~ # cat /etc/projects 10:/root/SUSEtest
server:~ # xfs_quota -x -c "limit -p bhard=120m test" xfs_quota: cannot set limits: Function not implemented
server:~ # xfs_quota -x -c "report -h" /root/SUSEtest/ Project quota on /root/SUSEtest (/dev/mapper/system-SUSEtest) Blocks Project ID Used Soft Hard Warn/Grace ---------- --------------------------------- test 0 0 120M 00 [------]
Resolution
server:~ # xfs_quota -xc 'limit -p bhard=100m test' /root/SUSEtest
server:~ # xfs_quota -x -c "report -h" /root/SUSEtest/ Project quota on /root/SUSEtest (/dev/mapper/system-SUSEtest) Blocks Project ID Used Soft Hard Warn/Grace ---------- --------------------------------- test 0 0 100M 00 [------]
Cause
Engineering is still looking into why errors are reported for the "noquota" XFS filesystems.
Disclaimer
This Support Knowledgebase provides a valuable tool for SUSE customers and parties interested in our products and solutions to acquire information, ideas and learn from one another. Materials are provided for informational, personal or non-commercial use within your organization and are presented "AS IS" WITHOUT WARRANTY OF ANY KIND.
- Document ID:7016701
- Creation Date: 22-Jul-2015
- Modified Date:03-Mar-2020
-
- SUSE Linux Enterprise Server
For questions or concerns with the SUSE Knowledgebase please contact: tidfeedback[at]suse.com