SUSE Support

Here When You Need Us

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 11
SUSE Linux Enterprise Server 12

Situation

Errors are observed when setting project quotas on an XFS filesystem

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

Specify a specific directory to which quotas will be applied to avoid seeing the error.
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

The xfs_quota command will return the "xfs_quota: cannot set limits: Function not implemented" error for each XFS filesystem mounted that has the "noquota" attribute.

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

< Back to Support Search

For questions or concerns with the SUSE Knowledgebase please contact: tidfeedback[at]suse.com

tick icon

SUSE Support Forums

Get your questions answered by experienced Sys Ops or interact with other SUSE community experts.

tick icon

Support Resources

Learn how to get the most from the technical support you receive with your SUSE Subscription, Premium Support, Academic Program, or Partner Program.

tick icon

Open an Incident

Open an incident with SUSE Technical Support, manage your subscriptions, download patches, or manage user access.