fam*_*kin 6 storage cron ubuntu io files
有时 crontab -e
我会在 Ubuntu 机器上失败。对于所有用户,包括 root 和 rootcrontab -eu <user>
下的用户都是一样的。经常这样,到处都是成功:
$ crontab -e
/tmp/crontab.SHw8Ge: Input/output error
Creation of temporary crontab file failed - aborting
$ crontab -e
/tmp/crontab.L8gEG4: Input/output error
Creation of temporary crontab file failed - aborting
$ crontab -e
crontab: installing new crontab
$ crontab -e
/tmp/crontab.Vvp59T: Input/output error
Creation of temporary crontab file failed - aborting
$ crontab -e
crontab: installing new crontab
Run Code Online (Sandbox Code Playgroud)
我似乎在重复手动或脚本创建文件时没有遇到问题:
$ vim /tmp/crontab.Vvp59T
$ ls -la /tmp/crontab.Vvp59T
-rw-r--r-- 1 <user> <user> 6 2014-07-01 04:17 /tmp/crontab.Vvp59T
Run Code Online (Sandbox Code Playgroud)
/tmp
权限:
$ ls -la /
...
drwxrwxrwt 92 root root 20480 2014-07-01 04:24 tmp
...
Run Code Online (Sandbox Code Playgroud)
对我来说看起来像是存储问题,不知道如何证明或排除这一点。任何想法可能导致这种情况以及如何测试?
$ lsb_release -dc
Description: Ubuntu 9.10
Codename: karmic
Run Code Online (Sandbox Code Playgroud)
关于评论的更新:
/tmp
磁盘空间使用率为 5%,inode 使用率为 1%。Crontab 文件大小为 13K,约 200 行。这一切似乎没问题。