Cannot touch /var/lock/subsys/sshd No space left on device
May 13 2014
You may get an error when starting ssh on terminal,
When the sshd started through an init script a new file created in the /var/lock/subsys/ directory with the same name. Its would be /var/lock/subsys/sshd. When the service is stopped, the file will be removed from there.
Do’nt have permission for creating files there or need to check disk space and inode space immediately.
Check Disk Space:
Check Inode Space:
You can trace the inode usage with below command and reduce unwanted files,
Finally, you can start the sshd services.