您的位置:首页 > 其它

Read-only file system

2016-06-26 14:52 375 查看
Once the server is booted into rescue, you can SSH into it and use the command line and limited tools. Once you have SSH’ed into the server, make sure that your hard drive is not mounted. It should not be mounted by default when in rescue. To double check you can use,

df -h

And make sure you only see the ram and a / mounted on the server. Next this is the command to run for a FSCK:

fsck -y -C /dev/xvda2

It is not usually necessary for the /boot partition which is on /dev/xvda1, but you may want to run it as well. Once the FSCK is complete, please reboot your server, and it should (typically) become available again in the normal operating system environment. You can use,

shutdown -r now
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签:  server ssh Read-only