quota option can not be enabled for non-root XFS filesystem
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
thenmount
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.