Warning " You must reboot..to enable quotas." stays.

JonathanW-GOT

Member
PartnerNOC
Jul 2, 2015
5
0
1
Norfolk, Virginia
cPanel Access Level
Root Administrator
At the moment there are two servers that use Softlayers VPSs that have this message displayed even after rebooting the server. I have also performed a /scripts/upcp --force and this message still displays. I do not believe Softlayer VPSs are virtuozo and should be no need to enable
quotas. Any possible troubleshooting steps that can be performed to remove this message?

Also the operating system is Centos 7, newly supported by cPanel.

Thanks!
 

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,904
2,218
463
Hello :)

It's possible this is related to internal case number 195189. Does your system use XFS or EXT4 for the filesystem?

Thank you.
 

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,904
2,218
463
Hello :)

Internal case CPANEL-563 is open to address an issue where if a partition other than /boot has noquota option set, it will cause the reboot warning to be displayed in WHM after the reboot due to the touch file being created. The temporary workaround at this time is to remove the /var/cpanel/reboot_required_for_quota touch file.

Thank you.
 

Franky Yu

Member
Aug 26, 2015
14
1
3
Indonesia
cPanel Access Level
Root Administrator
Although XFS is performing better but I highly recommend using EXT4 for important data and XFS for backups or so.

XFS corruption is much more difficult to resolve without losing data.
I have same issue when use centos 7 and XFS, quota not working ?
So the solutions is just reinstall into EXT4 ? no other ?
 

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,904
2,218
463
I have same issue when use centos 7 and XFS, quota not working ?
Hello :)

Could you elaborate on the specific issue you are facing? This thread is about the reboot warning displayed in WHM.

Thank you.
 

AmedeoSca

Member
Aug 23, 2015
23
0
1
Italy
cPanel Access Level
Root Administrator
Hello,
I have the same problem, reboot warnign displayed in WHM, I have /boot/efi partition for boot, I think that the script for quota can not patch the grub.cfg because is in the /boot/efi, how I can resolve this?
The quota are not enabled I think.
Thanks.
 

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,904
2,218
463
Have you tried removing the /var/cpanel/reboot_required_for_quota file if you have determined that quotas are working as expected?

Thank you.
 

AmedeoSca

Member
Aug 23, 2015
23
0
1
Italy
cPanel Access Level
Root Administrator
No, the quota not working, the strange is that in the /etc/fstab there is uquota......
I must enable by hand with this procedure:
  • edit /etc/fstab and change tha parameter of partition / from uquota to usrquota
  • edit the file /etc/default/grub and add rootflags=usrquota at the end of line GRUB_CMDLINE_LINUX
  • recreate the grub.cfg with the command
    Code:
    grub2-mkconfig -o /boot/efi/EFI/centos/grub.cfg
  • reboot
  • verifiy if quota is enable with the command
    Code:
    xfs_quota -x -c 'report -h' /
now quota is working
 

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,904
2,218
463
I am happy to see quota is now working well. Thank you for updating us with the outcome.
 

clopezi

Active Member
Mar 17, 2013
34
9
58
cPanel Access Level
Root Administrator
No, the quota not working, the strange is that in the /etc/fstab there is uquota......
I must enable by hand with this procedure:
  • edit /etc/fstab and change tha parameter of partition / from uquota to usrquota
  • edit the file /etc/default/grub and add rootflags=usrquota at the end of line GRUB_CMDLINE_LINUX
  • recreate the grub.cfg with the command
    Code:
    grub2-mkconfig -o /boot/efi/EFI/centos/grub.cfg
  • reboot
  • verifiy if quota is enable with the command
    Code:
    xfs_quota -x -c 'report -h' /
now quota is working
This is still valid, with boot on ext4 and xfs on /, it's still needed to modify uquota with usrquota and do the procedure, so big thanks to you!
 
  • Like
Reactions: cPRex