I work in Ubuntu 22 on VirtualBox. /dev/sda3 is almost full:
df -h --total
Filesystem Size Used Avail Use% Mounted on
tmpfs 720M 1,6M 718M 1% /run
/dev/sda3 24G 23G 411M 99% /
tmpfs 3,6G 0 3,6G 0% /dev/shm
tmpfs 5,0M 4,0K 5,0M 1% /run/lock
/dev/sda2 512M 6,1M 506M 2% /boot/efi
tmpfs 720M 124K 720M 1% /run/user/1000
total 30G 23G 5,9G 80% -
I have cleared unused linux kernels following How do I free up more space in /boot? which freed only 1%. What else can I do?
I added additional GBs to my virtual hard disk and with GParted added ample GBs to /dev/sda2.
df -h --total
now reads
Filesystem Size Used Avail Use% Mounted on
tmpfs 720M 1,6M 718M 1% /run
/dev/sda3 25G 23G 115M 100% /
tmpfs 3,6G 0 3,6G 0% /dev/shm
tmpfs 5,0M 4,0K 5,0M 1% /run/lock
/dev/sda2 11G 6,1M 11G 1% /boot/efi
tmpfs 720M 116K 720M 1% /run/user/1000
total 40G 23G 16G 60% -
Nevertheless I still get an error message "Low Disk Space on "Filesystem root".
What is wrong?
/dev/sda2
looks fine with only 1% in use. But/dev/sda3
is almost full. – mpboden May 30 '23 at 15:47/dev/sda2
? – Viesturs May 30 '23 at 15:50sda2
. Why do you think you need to resize it? – mpboden May 30 '23 at 16:19/boot
onsda2
and the root directory/
onsda3
? 1Gb is more than sufficient for the/boot
directory onsda2
. You initially had 500mb and that was fine as well. Your root directory onsda3
is full. So you need to look there and find out what is taking up so much space or allocate more tosda3
. – mpboden May 30 '23 at 16:45/dev/sda2
to/dev/sda3
. Now the error message no longer appears. – Viesturs May 31 '23 at 10:21