Free Up Disk Space on Arbitrator#
This topic describes how to free up disk space on the Arbitrator when running out of space.
Note
Perform these steps if you notice errors related to low disk space, such as when the device inventory is no longer visible or accessible, which would impact the system’s ability to monitor devices.
You will also need to free up disk space if you notice a high percentage utilization.
It is recommended that you perform regular health checks on your devices to prevent issues relating to low disk space.
Identify tables with the biggest size:
/root/bin/ dbTableSizes.v2.sh
Print the psql commands and the table names. No deletes are performed yet. Verify that this is an appropriate delete list, else, adjust the search and date for your requirements:
~/bin/dropTables.sh CISCO_CUCM_RIS_PHONESTATUS_TREND p2022_0 <Table date - YYYY_MM>
Note
The command in this example searches for RIS data (
CISCO_CUCM_RIS_PHONESTATUS_TREND p2022_0
) for a particular year and month.Delete relevant data. For example, to delete RIS data 2202_03:
~/bin/dropTables.sh CISCO_CUCM_RIS_PHONESTATUS_TREND 2022_03 | grep DROP | grep partitions | psql sca CISCO_CUCM_RIS_PHONESTATUS_TREND_p2021_11 CISCO_CUCM_RIS_PHONESTATUS_TREND_p2022_03 isdnbeareroperstatustable_p2022_02