Introduction
If you have attempted to enable quotas after following these guides with no success, then it likely means you have a system that utilizes UEFI firmware.
Procedure
- Run the following command to verify that the server is a UEFI System.
[ -d '/sys/firmware/efi/' ] && echo "UEFI System" || echo "Standard BIOS System"
- Create a backup of your EFI grub configuration.
cp -avx /boot/efi/EFI/centos/grub.cfg /boot/efi/EFI/centos/grub.cfg.$(date +%s)
- Rebuild the Grub configuration
grub2-mkconfig -o /boot/efi/EFI/centos/grub.cfg
- Confirm that quotas show as enabled in the new configuration using the following command.
grep quota /boot/efi/EFI/centos/grub.cfg
If quotas are configured, the output of the above command should be similar to the following.
linux /vmlinuz root=UUID=bc7453b1 ro rd.auto crashkernel=auto vga=normal nomodeset rdloaddriver=raid1 rootflags=uquota
linux /vmlinu root=UUID=bc7453b1 ro rd.auto crashkernel=auto vga=normal nomodeset rdloaddriver=raid1 rootflags=uquota - Reboot the server.
Comments
0 comments
Article is closed for comments.