zoukankan      html  css  js  c++  java
  • Ubuntu&Linux系统出现文件系统只读Read-only file system 的快速解决方法

    问题描述:

    周末运行盘平台服务程序,周一来操作系统卡顿,主进程已退出,重启进程时提示Read-only file system;新建目录和其他chmod -R等等操作都提示Read-only file system。

    问题原因:

    重启系统,提示根分区error,原因是磁盘出现文件系统错误。

    解决方法:

    使用fsck手动修复,具体操作如下:

    切换到root用户,运行fsck.ext4 -y /dev/vdb1

    说明:文件系统采用fsck.ext4,/dev/vdb1是系统/根分区。运行完毕后reboot重启系统就恢复正常。

    扩展知识:

    查看系统分区信息命令:df -T-h

  • 相关阅读:
    asy for
    asy html !
    lib
    git clone 指定 version tag
    git tag
    git clone <url>--depth 、 git clone <url> --recursive
    xelatex CLI
    rsync
    curl options
    [转自]C语言offset_of宏和container_of宏
  • 原文地址:https://www.cnblogs.com/ranxf/p/8649736.html
Copyright © 2011-2022 走看看