1 1
slopson

Card full using Octoprint

Recommended Posts

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

Share this post


Link to post
Share on other sites

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 {} \;

 

Share this post


Link to post
Share on other sites

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

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
1 1