今天,托管的服务器挂了情况如下:
好多命令 Input /Output error.
建立/删除 文件/文件夹: Read-Only filesystem
shutdown half init 各种重启无效.
因为,已经出现过此种错误,网络中心管理老师预估,磁盘老化损坏,上次fsck也发现磁盘错误,应验了网络中心老师"过一段时间还得坏"的语言.因需继续使用,也怕去机房重启麻烦,故google到强制重启的方法.
立即重启计算机 echo "b" > /proc/sysrq-trigger
立即关闭计算机 echo "o" > /proc/sysrq-trigger
附另一博文:
==========================================
Centos 的一些说明.
Using the echo command to write to this file, a remote root user can execute most System Request Key commands remotely as if at the local terminal.To ehco values to this file , the /proc/sys/kernel/sysrq must be set to a value other than 0. For more ref