I am running a debian-9-torch-xla-v20200208
image on a Google Cloud Platform VM instance and have a 40GB persistent disk attached to it. I am running out of persistent disk space while downloading files using wget
.
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 7.9G 0 7.9G 0% /dev
tmpfs 1.6G 11M 1.6G 1% /run
/dev/sda1 43G 39G 1.8G 96% /
tmpfs 7.9G 0 7.9G 0% /dev/shm
tmpfs 5.3M 0 5.3M 0% /run/lock
tmpfs 7.9G 0 7.9G 0% /sys/fs/cgroup
tmpfs 1.6G 0 1.6G 0% /run/user/1000
I cannot figure out what is filling up disk space on /dev/sda1
. Could you please help me solve the issue?
Thanks!
mount
command to find out all the mount points that usesda1
and then use find to list large files. – kaylum Mar 03 '20 at 05:27mount|find . -type f -printf "%s\t%p\n" | sort -n | tail -1
and found a zip file that is about 4GB in the home directory. But how does that make up about 39GB at /dev/sda1? – Nizam Mar 03 '20 at 05:39