Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

cronjob : No space left on device

I have attached a new volume to an EC2 instance. Volume was attached successfully.Below the output of command.

df -h

Filesystem Size Used Avail Use% Mounted on
/dev/xvda1 32G 8.1G 22G 27% /
none 4.0K 0 4.0K 0% /sys/fs/cgroup
udev 2.0G 12K 2.0G 1% /dev
tmpfs 396M 340K 395M 1% /run
none 5.0M 0 5.0M 0% /run/lock
none 2.0G 0 2.0G 0% /run/shm
none 100M 0 100M 0% /run/user
overflow 1.0M 1.0M 0 100% /tmp

When i tried to add new cronjob it shows the error that there is no space left.

sudo crontab -e

/tmp/crontab.jVOoWT/crontab: No space left on device

like image 557
dev21 Avatar asked Jan 08 '23 00:01

dev21


1 Answers

Your /tmp directory is full, first remove the files from your temp directory by issuing the command below

rm -rf /tmp/*

Run your crontab again

sudo crontab -e
like image 131
shining Avatar answered Jan 16 '23 21:01

shining