Managing Disk Space
Running out of disk space can have a severe impact on the SUSE Manager database and file structure which, in some cases, is not recoverable.
SUSE Manager monitors some directories for free disk space.
You can modify which directories are monitored, and the warnings that are created.
All settings are configured in the
/etc/rhn/rhn.conf configuration file.
By default, SUSE Manager monitors these directories:
You can change which directories are monitored with the
You can specify multiple directories by separating them with a space.
spacecheck_dirs = /var/lib/pgsql /var/spacewalk /var/cache /srv
By default, SUSE Manager creates a warning mail when a monitored directory has less than 10% of total space available. A critical alert is created when a monitored directory falls below 5% space available.
You can change these alert thresholds with the
spacecheck_free_alert = 10 spacecheck_free_critical = 5
By default, SUSE Manager shuts down the spacewalk services when the critical alert threshold is reached.
You can change this behavior with the
A value of
true enables the shut down feature.
Any other value disables it.
spacecheck_shutdown = true
The space checking tool is enabled by default. You can disable it entirely with these commands:
systemctl stop spacewalk-diskcheck.timer systemctl disable spacewalk-diskcheck.timer