Read the statement by Michael Teeuw here.
No free space on SD-card
-
try to run this on console:
find -type f -exec du -Sh {} + | sort -rh | head -n 5
This should bring up the 5 biggest files
-
@yawns said in No free space on SD-card:
find -type f -exec du -Sh {} + | sort -rh | head -n 5
thanks, but it didn’t find any abnormal larg file
43M ./MagicMirror/node_modules/electron/dist/electron 37M ./.electron/electron-v1.4.15-linux-arm.zip 15M ./MagicMirror/node_modules/electron/dist/libnode.so 14M ./MagicMirror/node_modules/clarinet/test/twitter.js 14M ./MagicMirror/node_modules/clarinet/samples/twitter.json
so, could be there a milions of small (let say 1MB) files/logs? I’ve no problem to buy bigger SD, but if there asi any problem with growing files, even 1TB SD card will be one day full…
-
Are you really sure your sd card is full?
Please rundf -h
to check for disk space (maybe you need to runsudo df -h
, not sure) -
Filesystem Size Used Avail Use% Mounted on /dev/root 6.1G 5.7G 48M 100% / devtmpfs 458M 0 458M 0% /dev tmpfs 462M 0 462M 0% /dev/shm tmpfs 462M 6.3M 456M 2% /run tmpfs 5.0M 4.0K 5.0M 1% /run/lock tmpfs 462M 0 462M 0% /sys/fs/cgroup /dev/mmcblk0p6 66M 22M 44M 34% /boot tmpfs 93M 0 93M 0% /run/user/1000 /dev/mmcblk0p5 30M 1.6M 27M 6% /media/pi/SETTINGS
I guess the last 2GB is recovery or smthg like that
-
@zdenek Did you delete all the stuff not used for a mirror? From the complete setup tutorial:
sudo apt-get remove --purge idle3 java-common libreoffice* minecraft-pi scratch nuscratch penguinspuzzle python-minecraftpi python3-minecraftpi smartsim sonic-pi wolfram-engine
-
@bhepler great, thanks. This I missed somehow… this helped a lot, now I’ve over 1GB. Thank you very much