Cannot enable uquota xfs in almalinux 9.3

Last night, I upgraded to AlmaLinux 9.3. However, when I enabled uquota on XFS, I encountered an error, whereas it was fine in version 9.2.

Here is the procedure I followed to enable XFS uquota:

  1. Add the following line to /etc/sysconfig/config:


  1. Add ‘defaults,uquota’ to /etc/fstab.

I have also attempted to change the kernel using ELrepo and downgraded to the el9 kernel. However, the issue persists, as seen in the output of ‘mount | grep -w /’, where only “noquota” is displayed.

urgh, looks like some old centos7 instructions or something you’re using there?

this works for me:

sudo grubby --args="rootflags=uquota" --update-kernel=ALL

although you can just update /etc/fstab without the kernel arguments these days, you only need that to make it the default for all xfs mounts (probably a bad idea).

Thanks your reply, your solution worked for me

1 Like