XFS quota not working RAID 1

On a cPanel server with RAID 1, the quota was disabled on the / file system even after it was enabled in /etc/fstab

It says noquota.

Returned empty result.

In /etc/fstab, the quota was enabled properly

/etc/default/grub has the following GRUB_CMDLINE_LINUX line

The problem was caused due to grub.cfg read from the wrong drive.

The server is using EFI and /dev/nvme1n1p1 is mounted as /boot/efi, Since we are using RAID 1, we have 2 EFI partitions

In /etc/fstab, we are using /dev/nvme1n1p1, when server is booting, it is using the other EFI partition.

The Solution

Update grub on the other EFI partition. Update /etc/fstab to use the partition as /boot/efi

Regenerate grub.cfg in the 2nd EFI partition that is mounted as /mnt/

Edit /etc/fstab


Replace with

Reboot the server

After reboot, the mount command shows quota enabled for / partition.

xfs filesystem quota on raid1

Back to quota

Need help with Linux Server or WordPress? We can help!

Leave a Reply

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