Colombian1976
Posts: 6
Joined: Wed May 10, 2017 1:27 am

Issue with 100% /dev/root, someone help?

Wed May 10, 2017 1:46 am

Hi

I am having following issue. Please see below, /dev/root is 100%

pi@raspberrypi:~$ df -h --total
Filesystem Size Used Avail Use% Mounted on
/dev/root 6.0G 5.7G 0 100% /
devtmpfs 459M 0 459M 0% /dev
tmpfs 463M 0 463M 0% /dev/shm
tmpfs 463M 47M 416M 11% /run
tmpfs 5.0M 4.0K 5.0M 1% /run/lock
tmpfs 463M 0 463M 0% /sys/fs/cgroup
/dev/mmcblk0p6 66M 21M 46M 31% /boot
tmpfs 93M 0 93M 0% /run/user/1000
/dev/sdb1 15G 992K 15G 1% /media/pi/Glide
/dev/sda1 1.9G 992K 1.9G 1% /media/pi/C647-1AD1
/dev/mmcblk0p5 30M 398K 28M 2% /media/pi/SETTINGS
total 25G 5.7G 19G 24% -

and I am starting to see the following issue when I try to autocomplete a bash command (i.e. cd)

. cd F-bash: cannot create temp file for here-document: No space left on device

I know that issue raised is a consecuence of running out of free space in root, but how do I fix it? I have already try to expand filesystem, it does not allow me as it has been already done by NOOBS..

Any suggestions are appreciated

Cheers
Colombiano1976

MaxK1
Posts: 1043
Joined: Sun Aug 26, 2012 11:34 pm

Re: Issue with 100% /dev/root, someone help?

Wed May 10, 2017 8:45 am

You can free up some space (Probably not a lot) by deleting compressed log files in /var/log. That should give you some room to go exploring what else is eating up your file system. If you don't use minecraft or mathematica/wolfram you can probably remove them.
Long term solution is get a bigger sd card and clone the current card
You are in a maze of twisty little passages, all alike.
When General Failure and Major Disaster get together, Private Parts usually suffers.

Colombian1976
Posts: 6
Joined: Wed May 10, 2017 1:27 am

Re: Issue with 100% /dev/root, someone help?

Thu May 11, 2017 2:10 am

Thank you very much mate..I will give a go to clonning the SD card. I guess there are plenty of tutorials on how to do it...

Cheers
Colombian1976

User avatar
rpdom
Posts: 17171
Joined: Sun May 06, 2012 5:17 am
Location: Chelmsford, Essex, UK

Re: Issue with 100% /dev/root, someone help?

Thu May 11, 2017 4:06 am

Also run sudo apt-get clean. That will delete any old package install files left behind from any install/upgrade operations.

Return to “Troubleshooting”