Tuesday, February 16, 2010

Can't create transcript file No space left on device

Build was failing with this absurd error. By thorough inspection of log, I found out some command is trying to write inside a directory /var. I found out disk usage in /var is 100% full, so I thought problem is simple and I truncated some Unix system logs in /var/log and rerun the build. But again it failed with the same error.
At last, I found out that, another issue causing this problem is that inode usage in /var is 100%.

We can find the inode usage status using the command "df -i"

Finally after removing some files in /var/tmp, inode usage got reduced less than 100% and my build went fine afterward.

No comments: