GetPageSpeed keeps NGINX and Varnish servers fast and secure: performance modules and builds, plus security fixes within days, all through routine
Free to install; commercial production use requires a subscription. Without one, a small license notice appears on HTML pages after 30 days.
dnf, yum or apt upgrades. It maintains the largest RPM repository of NGINX module packages and Varnish VMODs, with APT packages for Debian and Ubuntu.
Free to install; commercial production use requires a subscription. Without one, a small license notice appears on HTML pages after 30 days.
Operating System and Software
- Rocky Linux 8
- CentOS 7
Problem
- How to change the default mount option of root filesystem in CentOS 7?
- Why the options set in
/etc/fstabmake no effect?
How to Fix
-
Add [rootflags] variable at the end of the line of
GRUB_CMDLINE_LINUXin/etc/default/grubas below:
[example]GRUB_CMDLINE_LINUX="rd.lvm.lv=rhel/swap crashkernel=auto rd.lvm.lv=rhel/root rhgb quiet biosdevname=0 rootflags=pquota" -
Generate a GRUB configuration file.
# grub2-mkconfig -o /boot/grub2/grub.cfg -
Reboot the host.
# reboot -
Check the option we set be effective.
# mount | grep root /dev/mapper/rhel-root on / type xfs (rw,relatime,attr2,inode64,prjquota) //prjquotaNote:
prjquotais the same withpquota. Please refer themanpage ofmount.# man mount