quota option can not be enabled for non-root XFS filesystem

Solution Verified - Updated -

Issue

  • quota option can not be enabled by -o remount for non-root XFS filesystem
# mount -o quota,remount /tmp
# mount -v | grep /tmp
/dev/mapper/vg_sys-lv_tmp on /tmp type xfs (rw,relatime,attr2,inode64,noquota)
  • quota option can not be enabled by umount then mount for non-root XFS filesystem
# grep /tmp /proc/mounts
/dev/mapper/vg_sys-lv_tmp /tmp         xfs rw,relatime,attr2,inode64,noquota 0 0
# umount /tmp
# mount -o quota /dev/mapper/vg_sys-lv_tmp /tmp
# grep /tmp /proc/mounts
/dev/mapper/vg_sys-lv_tmp /tmp xfs rw,relatime,attr2,inode64,noquota 0 0

Environment

  • Red Hat Enterprise Linux 7
  • Red Hat Enterprise Linux 8
  • Red Hat Enterprise Linux 9

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content