170318 11:44:26 [ERROR] Can't start server: can't create PID file: No space left on device
數(shù)據(jù)庫(kù)掛了。打開(kāi)遠(yuǎn)程,進(jìn)了系統(tǒng),service mysqld stop 失敗。service mysqld start等了好大一會(huì),提示Timeout error occurred trying to start MySQL Daemon
出現(xiàn)Can't start server: can't create PID file: No space left on device這個(gè)錯(cuò)誤。
提示磁盤(pán)空間不足
后用df -h 命令查看
竟然發(fā)現(xiàn)磁盤(pán)容量全部用完了,于是要查看是誰(shuí)占用了
用命令:
find . -type f -size +100M
查找下磁盤(pán)中大于100M的文件
竟然出現(xiàn):
mysqld stop成功。
估計(jì)是掛載了兩次光盤(pán)導(dǎo)致磁盤(pán)容量占滿(mǎn)了,刪除掉一個(gè)
卸載光驅(qū)
卸載光驅(qū)的命令一般用umount,語(yǔ)法格式如下
/sbin/umount.<suffix> {dir|device} [-nlfvr]
取消掛載之后RHEL_6.0 x86_64 Disc 1只是一個(gè)空的文件夾/目錄。
刪除掉一個(gè)200多MB的文件還是不行
轉(zhuǎn)載于:https://www.cnblogs.com/ZHONGZHENHUA/p/6573019.html
總結(jié)
以上是生活随笔為你收集整理的170318 11:44:26 [ERROR] Can't start server: can't create PID file: No space left on device的全部?jī)?nèi)容,希望文章能夠幫你解決所遇到的問(wèn)題。
- 上一篇: Python 标准库 —— zipfil
- 下一篇: EFCore+MSSS CodeFirs