A start job is running for Create Volatile Files and Directories
Yesterday, when I login to my VM I found that the disk is full. Even a tab command completion cannot be done. I immediately delete some unused files and the system works. However, when I reboot the system, it stucked at A start job is running for Create Volatile Files and Directories...:
| |
I searched and found a similar discussion: # Boot stuck at “A start job is running for Create Volatile Files and Directories”
I used an Azure VM with an extra disk. However, it always failed to boot into recovery mode. Then I removed the extra disk from the portal and the system mount the disk failed and went to the single user mode so that I can execute commands:
Then occasionally I found that there are HUGE amount of something like this .com.google.Chrome.nFbq9T:
Since I have a web crawler in the system, it seems that there are something wrong but it doesn’t matter. I also cannot execute rm -f .com.google.Chrome.* due to Argument list too long. First list them:
| |
The command cannot quickly return, but I got above error messages. Seems that the OS is cleaning the /tmp folder but I cannot verify this. Through df -lh I found that the available disk space is increasing. To speed up the process, execute:
| |
After nearly an hour it finished:
It looks like there were 16G .com.google.Chrome. files… And because of this, the system is stuck at boot. Unfortunately, the root cause of this problem is not found yet.
By the way, directly move /tmp to /tmp.bak and recreate /tmp might be more efficient as suggested in the above post…