I followed a document [1] to setup disk quota for homes which are mounted under /export partition. So, I did
UUID=ead2c6ad-3f32-4d00-8b65-0679428839c7 /export ext4 defaults,usrquota,grpquota 1 2
in /etc/fstab.
After running mount -o remount /export, the quotacheck -cugv /export shows me the following message:
quotacheck: Your kernel probably supports journaled quota but you are not using it. Consider switching to journaled quota to avoid running quotacheck after an unclean shutdown.
quotacheck: Cannot remount filesystem mounted on /export read-only so counted values might not be right.
Please stop all programs writing to filesystem or use -m flag to force checking.
Then I found [2] which says, I have to write usrjquota=aquota.user,grpjquota=aquota.group in /etc/fstab and then run some other commands. That sound confusing. Which option should I use exactly in /etc/fstab?
[1] https://www.linuxtechi.com/enable-user- ... -7-rhel-7/
[2] https://www.howtoforge.com/how-to-set-u ... bian-lenny
Defining disk quota for users
General support questions
Return to “CentOS 7 - General Support”
Jump to
- CentOS General Purpose
- ↳ CentOS - FAQ & Readme First
- ↳ Announcements
- ↳ CentOS Social
- ↳ User Comments
- ↳ Website Problems
- CentOS 8 / 8-Stream / 9-Stream
- ↳ 8 /8-Stream / 9-Stream - General Support
- ↳ 8 /8-Stream / 9-Stream - Hardware Support
- ↳ 8 /8-Stream / 9-Stream - Networking Support
- ↳ 8 /8-Stream / 9-Stream - Security Support
- CentOS 7
- ↳ CentOS 7 - General Support
- ↳ CentOS 7 - Software Support
- ↳ CentOS 7 - Hardware Support
- ↳ CentOS 7 - Networking Support
- ↳ CentOS 7 - Security Support
- CentOS Legacy Versions
- ↳ CentOS 5
- ↳ CentOS 5 - General Support
- ↳ CentOS 5 - Software Support
- ↳ CentOS 5 - Hardware Support
- ↳ CentOS 5 - Networking Support
- ↳ CentOS 5 - Server Support
- ↳ CentOS 5 - Security Support
- ↳ CentOS 5 - Oracle Installation and Support
- ↳ CentOS 5 - Miscellaneous Questions
- ↳ CentOS 6
- ↳ CentOS 6 - General Support
- ↳ CentOS 6 - Software Support
- ↳ CentOS 6 - Hardware Support
- ↳ CentOS 6 - Networking Support
- ↳ CentOS 6 - Security Support