Issue
The cldiag cron checker sends this message to email:
Checking if /var/cagefs is located on partition with disk quota enabled:
FAILED: Details: /var/cagefs located on partition with quota disabled.
Please, activate quota for /var/cagefs for better security.
See details: https://docs.cloudlinux.com/cloudlinux_os_components/#installation-and-update-2
Command for disabling this cron checker: "cldiag --disable-cron-checkers check_cagefs_partition_disk_quota"
Environment
- CloudLinux
- XFS
- ext4
- cldiag
Solution
Enable disk quotas in order to get rid of this warning. To do so, you can follow any guide for the needed filesystem.
Enabling quota for XFS filesystem:
How to Enable Disk Quotas on an XFS File System
Enabling quota for ext4 filesystem:
Chapter 22. Limiting storage space usage on ext4 with quotas
If you don't want to enable quotas, you can also disable this particular notification by running this command (When cldiag runs the error message will still show but the email notification will not be sent):
cldiag --disable-cron-checkers check_cagefs_partition_disk_quota
Cause
Disk quotas are not enabled.
Comments
2 comments
This is not addressed, and also no details for ext4:
Most likely there are some system issues with the quota itself. The first option to check is the following files:
/etc/fstab - if quota is enabled (likely it is
/proc/mounts - if a partition is mounted with quotas
As well the following command to see if it works:
Please sign in to leave a comment.