3.4 Monitoring Disk Space Usage

The datasync-diskcheck.sh script runs automatically along with the Synchronizer services and monitors disk space usage in the /var partition. If disk space usage exceeds 90%, the script shuts down the Synchronizer services normally, to prevent the potential data loss associated with an abnormal shutdown because of insufficient disk space.

The datasync-diskcheck.sh script runs every hour. When it detects a low disk space condition, it writes an entry to the /var/log/datasync/datasync_status log file. No other notification of the condition is provided before the script shuts down the Synchronizer services.

After a low disk space condition occurs, you can do one or more of the following things to prevent future problems: