Technical Documentation
Search for in-depth articles on Synergy SKY tools and technologies.

  • There are no suggestions because the search field is empty.
 

Support > Troubleshooting > Insufficient Disk Space

Insufficient Disk Space

Introduction

In certain circumstances the primary drive may become full, this can include some packages from older Management Suite versions, log bundle residual log files when the server ran out of memory/disk space at the time of log bundle creation, or old log bundles which were created prior 30.02.1930

 

Pre-requisites

SSH access to the Management Suite server.

For all of the commands, you will need to be with root access, this can be gained after logging into SSH as normal and running:

sudo su -

 

Old Packages Stored on Primary Drive

During the upgrade process from version before 30.02.1930 to newer can leave previous upgrade and old packages files on Primary drive causing it to use additional space.


First, need to verify that the new packages for upgrades are in fact operating off the secondary drive this can be checked using the following command from the Management Suite terminal/ssh:

ls -al -h /var/db/upgrade_packages/Packages | grep synergysky

This will provide a list of rpm packages which include the version in the name which are stored on secondary drive including size of files in human readable format.

mceclip0.png
If there are packages present here we can proceed to check if there are old package files on primary disk using the following command:

ls -al -h /opt/upgrade_packages/Packages | grep synergysky

This will check the original location where they were stored for version before 30.02.1930 of Management Suite providing a list of files including size of files in human readable format.

mceclip1.png

As long as files are present during the first search on secondary drive we can proceed in removing old files on primary disk using the following command:

rm -rf /opt/upgrade_packages/*

There can also be previous upgrade packages present under /opt/upgrade_packages.previous/ you can check if there is any files in this folder using the following command:

ls -al -h /opt/upgrade_packages.previous/Packages/ | grep synergysky

mceclip2.png

If there are packages present we can quickly remove them using the following command:

rm -rf /opt/upgrade_packages.previous/*

Clearing both of these folders will free approximately 500-600MB of storage on the main drive. 

 

Old Log Bundles

There can be old log bundles and temporary files present on the primary drive, these will be in two different places.

Existing log bundles that have been compiled can be checked using the following:

ls -al -h /usr/local/www/static/logbundle/

mceclip0.png

All bundles displayed can be deleted and fresh bundle will appear when compiled through the config tool which automatically cleans the last created log bundle. They can be removed with the following command:

rm -rf /usr/local/www/static/logbundle/*

 

With older versions of Management Suite, the temporary files that were being parsed for the logs can be listed using the following command:

ls -al -h /tmp/logbundle/

mceclip1.png

 

All of these files can be safely removed using the following command:

rm -rf /tmp/logbundle

This folder can be exponentially large in size. For example, a server that has been running on and off for a month has approximately 263MB of logs, this will be much larger on servers that are larger in size and been running longer as well. 

Still in need of help?

Create a ticket