Enable quotas on UEFI systems like a pro with this handy guide from Bobcares.
At Bobcares, we offer solutions for every query, big and small, as a part of our Server Management Service.
Let’s take a look at how our Support Team recently helped a customer enable quotas on systems with UEFI firmware.
How to enable quotas on UEFI systems
Enabling quotas is an easy task as long as you follow the right procedure. Our Support Engineers are here with this handy guide to help you out.
- First, we will test the system with the following command:
[ -d '/sys/firmware/efi/' ] && echo "UEFI System" || echo "Standard BIOS System"
- Then once the system has been determined as a UEFI system, we can proceed with the remaining steps in the procedure.
- Then, we have to create a backup of the EFI grub configuration with this command:
cp -avx /boot/efi/EFI/centos/grub.cfg /boot/efi/EFI/centos/grub.cfg.$(date +%s)
- After that, we have to rebuild the Grub configuration with the following command:
grub2-mkconfig -o /boot/efi/EFI/centos/grub.cfg
- Next, we will verify whether the quotas are enabled in the new configuration with this command:
grep quota /boot/efi/EFI/centos/grub.cfg
- This will result in the following output:
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
- Finally, we have to reboot the server.
[Need assistance with another query? We are just a click away.]
Conclusion
In brief, the skilled Support Engineers at Bobcares demonstrated how to enable quotas without any additional trouble.
PREVENT YOUR SERVER FROM CRASHING!
Never again lose customers to poor server speed! Let us help you.
Our server experts will monitor & maintain your server 24/7 so that it remains lightning fast and secure.
0 Comments