Today when I tried to start my Raspberry Pi I found one warning saying not enough room in the file system. Then I used
df to see the storage, it showed:
Filesystem 1K-blocks used available use% Mounted on rootfs 6767168 6401028 0 100% / /dev/root 6767168 6401028 0 100% /
Then I used
sudo du -s -h -x /*to see the specific storage, it shows, (not complete, I only picked the large ones.)
... 1.3G /home ... 2.9G /usr 1.2G /var
I want to delete some files on my SD card so I used Ubuntu to read the SD card. It shows four folders: 'boot','SETTINGS','root','data' in Files. When I checked the properties of 'root', it has 6.9G in total, 2.6G used and 4.0 free. Then I checked the /root/home folder, it only takes 67 MB. The /root/var takes 106MB and /root/usr takes 1.5G.
It does not match the space I get using the command above, why is that? And the 'root' folder has 4.0G free space, why does it use 100% ?
The usage of the other three folders:
name used free
'boot' 14.9MB 47MB
'SEETINGS' 406.5kB 25.5MB
'data' 418kB 474MB