How Do You Troubleshoot “quotacheck: Your kernel probably supports journaled quota but you are not using it.”?

Problem scenario
You are running a quotacheck command on a Linux system. You get an error "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. "

Your /etc/fstab looks like this:

# <file system> <mount point>   <type>  <options>       <dump>  <pass>
/dev/foo  /bar ext4 errors=remount-ro 0 1

What should you do?

Possible solution
Backup the /etc/fstab file (e.g., make a copy in your home directory).
Modify the /etc/fstab file.

In the rightmost group of characters with letters (not the dump or pass columns with integers, usually 0s, 1s or 2s), append these characters without the quotes:

",usrjquota=aquota.user,grpjquota=aquota.group,jqfmt=vfsv0"

Here is a correct line:

# <file system> <mount point>   <type>  <options>       <dump>  <pass>
/dev/foo  /bar ext4 errors=remount-ro,usrjquota=aquota.user,grpjquota=aquota.group,jqfmt=vfsv1 0 1

Save the changes. Run this command (but replace "/bar" with the destination of the mount point in the /etc/fstab):

sudo mount -o remount /bar

The above solution was found in part with these two postings:
https://ubuntuforums.org/archive/index.php/t-1014051.html
https://www.howtoforge.com/how-to-set-up-journaled-quota-on-debian-lenny

vfsv0 applies to 32 bit OSes. vfsv1 applies to 64 bit OSes.

Leave a comment

Your email address will not be published. Required fields are marked *