I’m having an issue with my XFS filesystem entries being overwritten in “/etc/fstab”.
I am running AlmaLinux 10
I use UUIDs to define my xfs filesystems as I need to lock down them to the correct partition. These are being overwritten by just the path name, such as “/dev/sda”.
The second problem is that non-xfs attributes are being written, and this seems to be disabling the quota support.
My original fstab entry
UUID=f733e851-d155-4b83-a705-6916595efb79 /home xfs defaults,uquota,gquota,pquota,noatime 0 0
is being changed to
/dev/sda /home xfs defaults,uquota,gquota,pquota,noatime,attr2,inode64,usrquota,grpquota,prjquota 0 0
I then see error messages in the console -
May 1 07:35:48 eric systemd-fstab-generator: Quota was requested for /dev/sda, but not supported, ignoring: xfs
May 1 07:36:43 eric systemd-fstab-generator: Quota was requested for /dev/mapper/almalinux-root, but not supported, ignoring: xfs
Is there a way to exclude fstab from being updated?