I'm a relatively basic user, using the Ubuntu terminal for Windows. I have a failing deployment caused by a lack of disk space on the VM I'm connected to in the terminal:
df -h
Filesystem Size Used Avail Use% Mounted on
...
/dev/sda1 30G 30G 0 100% /
/dev/
exists as a regular directory. I then see sda1
as a block device file:
ls -l
brw-rw---- 1 root disk 8, 1 Aug 12 01:31 sda1
(See https://superuser.com/questions/1240857/is-dev-sda1-a-directory/1594704#1594704 for an explanation of a block file).
How do I investigate what's filling up the block, and remove unneccessary data?
If I cd sda1
I get Not a directory