Jump to content

Recommended Posts

Posted

Usage of /:    100% of 15G

Last login: Sat Mar 30 13:41:33 2019 from 192.168.1.238

root@Ender3:~# df
Filesystem     1K-blocks     Used Available Use% Mounted on
udev              184064        0    184064   0% /dev
tmpfs              50508     2812     47696   6% /run
/dev/mmcblk0p1  14696736 14483996     37088 100% /
tmpfs             252532        0    252532   0% /dev/shm
tmpfs               5120        4      5116   1% /run/lock
tmpfs             252532        0    252532   0% /sys/fs/cgroup
tmpfs             252532        4    252528   1% /tmp
/dev/zram0         49584    31828     14172  70% /var/log
tmpfs              50504        0     50504   0% /run/user/0

 

Every time I use Octoprint it seems to fill the disk by a lot more than the size of the file I upload.

 

How do I reduce the size of mmcblk0p1  or do a clean up?

Board: Orangepi Zero
Posted

You need to figure out where so many files been written, it will give clues.

I suggest to run something like the following to see where is the biggest directory that get filled and look at all the reported sizes :

find / -type d -exec du -s {} \;

 

Posted

Hi

 

I ran that but just kept listing hundreds of directories too many for Putty. Is there anyway of sorting by size

 

EDIT: Solved I looked up the DU command and was able to navigate to motion directory to discover 1000's of jpegs. I didn't realise i was recording.

 du -sk .[!.]* *| sort -n

du -h -d 1 / | grep '[0-9]\+G'

 

 

 

Thanks for your help

Guest
This topic is now closed to further replies.
×
×
  • Create New...

Important Information

Terms of Use - Privacy Policy - Guidelines