Updating Quota Files......
quotacheck: Cannot find filesystem to check or filesystem not mounted with quota option.
Then I did this.
Check /etc/fstab makes sure that the quota is enabled on the partition
UUID=xxx-xxx / xfs defaults,uquota 0 0Check the quota option for XFS filesystem.
# mount| grep ' / 'You will see something like this.
/dev/sda1 on / type xfs (rw,relatime,attr2,inode64,noquota)If you see the "noquota" option, then you need to go to next step.
Edit /etc/default/grub add rootflags=uquota
GRUB_CMDLINE_LINUX="crashkernel=auto biosdevname=0 net.ifnames=0 rhgb quiet rootflags=uquota"Reconfig grub
# grub2-mkconfig -o /boot/grub2/grub.cfgAfter the server started.
# reboot
# mount| grep ' / 'Then the XFS will change like this.
/dev/sda1 on / type xfs (rw,relatime,attr2,inode64,usrquota)Fix WHM quota
# /scripts/fixquotas
# reboot
0 comments:
Post a Comment