When I run –
# mount | grep ' / '
the output suggests quotas are installed and enabled:
/dev/sda on / type ext4 (rw,noatime,quota,usrquota,grpquota,errors=remount-ro,data=ordered)
Notice that the file system is ext4 and not the default XPS.
These 3 commands will get quotas cranking:
# ln -s /dev/sda /dev/root # quotacheck -cugvmf -F vfsv0 / # quotaon /
I may or may not restart the iworx service since it doesn’t seem to matter.
At which point quotas go from pink/disabled to green/enabled on the System Health page in Nodeworx. To disable quotas again all that’s needed is a reboot which loses the symlink for /dev/root and quotas can’t enable.
So my first question is what would be best practice for making this symlink permanent?
The legacy method in CentOS 6.x is to place the symlink in this file:
With newer distros the answer seems to be creating a systemd unit file in directory –
I’ve been referring to articles like these that discuss it:
Interworx has a guide for quotas and CentOS 7 that involves GRUB that isn’t working for me:
From what I’ve read here in the forums the GRUB method hasn’t worked for some people. In my case GRUB entries also don’t look anything like the instructions, so I’m lost. The systemd method loses me also. Oddly enough, the legacy method for CentOS 6 seems to be loading the symlink every boot so far.