Problem
Info |
---|
The appliance is down, The reason is the disk is full on the appliance. |
Reproduction/Solution
From the appliance, Run the df -h to initially check spacing.
df -h
command to to initially check space on appliance disk looking for usage at or close to 100%
Code Block |
---|
# This check the file system usage (-h just means use 1024 as the divisor for space i.e. 1K = 2024 bytes, 1Mb = 1024K etc.).
df -h |
Usage of 100% is blocking appliance stack starting
Code Block |
---|
# Check if the stack can start
sudo /opt/docker/start-appliance-stack.sh |
...
The appliance stack cannot start.
To establish the largest directories to identify the are where all disk is consumed, run the following:
...
Code Block |
---|
# Check disk usage command (du) at the root level du -a / | sort -n -r | head -n 5 |
...
Info |
---|
remember o to check other locations as well |
...
Code Block |
---|
# Force removal of all teh syslog files and any subfolders. Note: use rm command with care. sudo rm -rf /var/log/syslog* # reboot appliance sudo shutdown -r now |
...