Monitoring sufficient disk space for restoring backups

OpsCenter monitoring provides multiple features to proactively prevent disk space issues. Sufficient disk space is necessary for restoring backups successfully.

Before downloading a snapshot from a destination to use for a restore, OpsCenter verifies whether each node has sufficient disk space required for the download. The disk space check looks up the partition for the agent tmp_dir and verifies there is sufficient space on that partition. If necessary, change the agent download directory using tmp_dir in address.yaml. The location of the address.yaml file depends on the type of installation:

  • Package installations: /var/lib/datastax-agent/conf/address.yaml

  • Tarball installations: install_location/conf/address.yaml

Attempting a restore to a location with insufficient disk space fails. The Restore Report indicates which nodes do not have sufficient space and how much space is necessary on each for a successful restore.

Restore Failed report shows nodes disk space and space needed to restore

When creating a backup, the Create Backup dialog dynamically displays the size of the selected data to back up in the Current Data Size field.

Storage Capacity Widget

Monitor free disk space for backups and restores by observing the Storage Capacity widget in the Dashboard. The Storage Capacity widget is enabled by default in the Dashboard. When storage capacity becomes limited, add capacity or clear space as necessary.

Monitoring disk space for restoring backups assumes the tmp_dir resides on the same partition as the backup data.

Plentiful free disk space Low free disk space

Plentiful free space Storage Capacity dashboard widget

Low free space Storage Capacity widget

Keep abreast of capacity requirements using the Capacity Service. See Forecasting.

Free and Used Disk Space Alerts

Add the Free Disk Space alert to notify you when free disk space goes below an acceptable threshold for an environment. Click Alerts > Advanced > System > System Free Disk Space from the Notify me when menu. You could also set up a Used Disk Space (GB) alert.

Alerting about disk space for restoring backups assumes the tmp_dir resides on the same partition as the backup data.

Free Disk Space Alert dialog

Was this helpful?

Give Feedback

How can we improve the documentation?

© 2024 DataStax | Privacy policy | Terms of use

Apache, Apache Cassandra, Cassandra, Apache Tomcat, Tomcat, Apache Lucene, Apache Solr, Apache Hadoop, Hadoop, Apache Pulsar, Pulsar, Apache Spark, Spark, Apache TinkerPop, TinkerPop, Apache Kafka and Kafka are either registered trademarks or trademarks of the Apache Software Foundation or its subsidiaries in Canada, the United States and/or other countries. Kubernetes is the registered trademark of the Linux Foundation.

General Inquiries: +1 (650) 389-6000,