Jump to content
SmartBlug

Cura not working - No space left on device

Recommended Posts

Posted · Cura not working - No space left on device

I cannot use my printer anymore (Extended 3)

 

On the log :

ultimakersystem-ccbdd300033b flipflop_wsgi.py[1314]: OSError: [Errno 28] No space left on device: '/var/lib/griffin/cluster/preferences.json.new'

 

If I connect in dev mode : 

/dev/mmcblk1p2    963584 828416         0 100% /
devtmpfs          481308      0    481308   0% /dev
tmpfs             515100      0    515100   0% /dev/shm
tmpfs             515100   7840    507260   2% /run
tmpfs               5120      0      5120   0% /run/lock
tmpfs             515100      0    515100   0% /sys/fs/cgroup
tmpfs             515100      0    515100   0% /var/lib/apt
tmpfs             515100      0    515100   0% /tmp
tmpfs             515100      0    515100   0% /var/cache/apt
/dev/mmcblk1p3   2775040  26632   2527224   2% /var/spool/cluster
 

Is there a way to clean the file system ?

 

Thanks,

Share this post


Link to post
Share on other sites
Posted · Cura not working - No space left on device

Have you tried a reboot of the printer? Maybe there are some cleanups during the boot process, but I don't know.

Share this post


Link to post
Share on other sites
Posted · Cura not working - No space left on device

The only idea I have left is that you check /var/log for large logfiles. I would do that at least on a normal Linux system.

But I've never heard of the printer running out of disk space. Maybe someone else knows more, sorry!

Share this post


Link to post
Share on other sites
Posted · Cura not working - No space left on device

I deleted some of the logs and get back 100k...

 

/var/log/journal is big, how to safely delete this journal ?

 

size of main folders :

526231    /
215146    /usr
168876    /var
99980    /usr/lib
91755    /var/lib
87435    /usr/share
83935    /var/lib/connman
83910    /var/lib/connman/ethernet_ccbdd300033b_cable
75247    /var/log
74847    /var/log/journal
74844    /var/log/journal/5e702514274833c0ebe690cc5ccc224d
62364    /opt
53676    /lib
50743    /opt/qt
46852    /usr/share/fonts
42043    /opt/qt/lib
39929    /usr/lib/python3
39926    /usr/lib/python3/dist-packages
37227    /usr/share/fonts/opentype
37224    /usr/share/fonts/opentype/noto
27626    /usr/lib/arm-linux-gnueabihf
26975    /lib/modules
26971    /lib/modules/4.14.32-ultimaker-00309-geaace6d4aede
25823    /lib/modules/4.14.32-ultimaker-00309-geaace6d4aede/kernel
23787    /usr/bin
21829    /usr/lib/python3.4
14635    /lib/modules/4.14.32-ultimaker-00309-geaace6d4aede/kernel/drivers
13239    /usr/lib/python3/dist-packages/numpy
12523    /usr/share/i18n
11618    /opt/pyqt
11568    /lib/udev
11428    /opt/pyqt/PyQt5
9486    /usr/share/i18n/locales
8704    /lib/arm-linux-gnueabihf
8289    /usr/share/okuda
8036    /usr/lib/python3/dist-packages/cluster
7911    /usr/lib/python3/dist-packages/cluster/app
7840    /run
7412    /usr/share/griffin
7267    /usr/lib/python3/dist-packages/sqlalchemy
7237    /usr/share/okuda/resources
6606    /usr/lib/python3/dist-packages/cluster/app/static
6440    /run/log/journal/5e702514274833c0ebe690cc5ccc224d
6440    /run/log/journal
6440    /run/log

 

Share this post


Link to post
Share on other sites
Posted · Cura not working - No space left on device

You mean the directory /var/log/journal ?

It should be safe to delete log files inside the directory, but keep the directory itself. 

 

Are there many log files inside? Because normally there is log rotation, maybe not working or configured on the printer.

If there is only one big logfile, you can also truncate the file with just

> logfilename

instead of delete them. The > is important which means you redirect the input, which is nothing to the file, resulting in a 0 byte file. But just a delete should also be no problem.

 

But I am not sure if this is enough, the directory has 74MB. Maybe there is something else which consumes so much disk space.  

Share this post


Link to post
Share on other sites
Posted · Cura not working - No space left on device

I removed the folder in /var/log/journal and get back 58Mb 😉

It seems it was logs not properly deleted in the past by the software (probably due to bug in old releases)

 

now, only

-rw-r-----  1 root systemd-journal 8388608 Dec 15 07:40 system.journal
-rw-r-----+ 1 root systemd-journal 8388608 Dec 15 07:38 user-1000.journal
 

I'll monitor to see if this folder size continue to increase or not...

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×
×
  • Create New...

Important Information

Welcome to the Ultimaker Community of 3D printing experts. Visit the following links to read more about our Terms of Use or our Privacy Policy. Thank you!