Jump to content

Welcome, Guest!


cronjob error

Recommended Posts

Hello all,

I am running rasperry pi as NAS, loving the little computer!!!

I attempted to edit the cronjob but getting error message... Can someone assist?

root@raspberrypi:~# crontab -e
crontab: installing new crontab
crontab: crontabs/tmp.KTh8Fx: No space left on device
crontab: edits left in /tmp/crontab.zzh6Yo/crontab

pi@raspberrypi ~ $ df -h
Filesystem Size Used Avail Use% Mounted on
rootfs 3.6G 3.6G 0 100% /
/dev/root 3.6G 3.6G 0 100% /
devtmpfs 211M 0 211M 0% /dev
tmpfs 44M 368K 44M 1% /run
tmpfs 5.0M 0 5.0M 0% /run/lock
tmpfs 88M 0 88M 0% /run/shm
/dev/mmcblk0p1 56M 19M 38M 34% /boot
/dev/sda1 917G 165G 706G 19% /media/master_nas
/dev/sdb1 917G 165G 706G 19% /media/backup_nas
tmpfs 88M 0 88M 0% /tmp

Share this post

Link to post
Share on other sites

Issue seems to be with 'rootfs' & '/dev/root'.. Both are at 100% usage, if someone can suggest how to handle this. Will any changes affect setup of the NAS?

Share this post

Link to post
Share on other sites

Have you expanded the root partition to fill the card? You can do this with the raspi-config command:

sudo raspi-config

Select the first option and exit from raspi-config.  

Share this post

Link to post
Share on other sites

On first setup I did expand the partition. There is a 4GB card with raspian installed.


Pi is used purely as NAS device. Have made multiple cronjob changes in the past, each time creating a new file but now unable to save any further edits.


Is there a way to view/clear the files?.. Ideally do not want to affect the setup in place.

Share this post

Link to post
Share on other sites

It sounds like you need to free up some space on the SD card.  Are there any files that you could delete from your home directory? 


Uninstalling Wolfram will free up a lot of space:

sudo apt-get purge wolfram-engine 

Also, try unmounting the two drives, and check that  /media/master_nas and /media/backup_nas are empty.  I've seen situations where I thought a drive was mounted, so I copied a bunch of files to the mount directory, and accidentally filled the root partition.

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.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  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.


About Us

Bringing you the latest Raspberry Pi news, tutorials and user forum.

The Fruity Computer

  • Create New...