Defining disk quota for users

General support questions
Post Reply
mahmood
Posts: 122
Joined: 2017/06/04 12:21:09

Defining disk quota for users

Post by mahmood » 2019/10/08 17:55:18

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

Post Reply