I cannot figure out what is filling up disk space on /dev/sda1

Keywords: Apache Solr - Google Cloud Platform - Technical issue - Other
bnsupport ID:
8d798d35-1830-85c6-ff55-d9775c41b460
Description:
I’m using Google Cloud Platform VM instance and have a 30GB persistent disk attached to it. I am running out of persistent disk space.

On running the df -h command, I got the following output which shows that /dev/sda1 is almost full:
Filesystem      Size  Used Avail Use% Mounted on
udev            6.4G     0  6.4G   0% /dev
tmpfs           1.3G   25M  1.3G   2% /run
/dev/sda1        30G   29G  9.5M 100% /
tmpfs           6.4G     0  6.4G   0% /dev/shm
tmpfs           5.0M     0  5.0M   0% /run/lock
tmpfs           6.4G     0  6.4G   0% /sys/fs/cgroup
/dev/sda15      124M  7.9M  116M   7% /boot/efi
tmpfs           1.3G     0  1.3G   0% /run/user/1004

I cannot figure out what is filling up disk space on /dev/sda1. Could you please help me solve the issue?

Thanks!

Hello @jackmia66,

I have been checking your support tool output:

-----------------------------------
Find biggest directories in installdir
-----------------------------------
Running: du -h . -d 1 | sort -h
In: /opt/bitnami

Output:

8.0K    ./img
40K ./bndiagnostic
68K ./config
104K    ./var
120K    ./scripts
3.0M    ./stats
3.6M    ./sqlite
3.6M    ./varnish
4.2M    ./bnhelper
26M ./bncert
31M ./letsencrypt
63M ./bnsupport
85M ./php
154M    ./common
174M    ./apache2
463M    ./licenses
2.5G    ./mysql
23G ./apps
27G .

As you can see, /opt/bitnami/apps size is 23G. It seems the application there is storing a lot of data. You can change directories to the apps folder and run the command again so you find where most of the data is stored. You can continue with the process till you find the information you are looking for:

cd directory with more data
sudo du -h -d 1

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.