• rm: cannot remove `/home/cn0000/log/formlog.20140417': Read-only file system


    [root@localhost home]# su - cn0000
    rm: cannot remove `/home/cn0000/log/monitor_xmllog.20140417': Read-only file system
    rm: cannot remove `/home/cn0000/log/sysctrl_seclog.20140417': Read-only file system
    rm: cannot remove `/home/cn0000/log/sysmenu_xmllog.20140417': Read-only file system
    rm: cannot remove `/home/cn0000/log/sysmenu_seclog.20140417': Read-only file system
    rm: cannot remove `/home/cn0000/log/monitor_errlog.20140417': Read-only file system
    rm: cannot remove `/home/cn0000/log/monitor_xmllog.20140418': Read-only file system
    rm: cannot remove `/home/cn0000/log/sysctrl_xmllog.20140417': Read-only file system
    rm: cannot remove `/home/cn0000/log/monitor_seclog.20140417': Read-only file system
    rm: cannot remove `/home/cn0000/log/sysmenu_xmllog.20140418': Read-only file system
    rm: cannot remove `/home/cn0000/log/formlog.20140418': Read-only file system
    rm: cannot remove `/home/cn0000/log/monitor_seclog.20140418': Read-only file system
    rm: cannot remove `/home/cn0000/log/sysmenu_errlog.20140417': Read-only file system
    rm: cannot remove `/home/cn0000/log/sysmenu_seclog.20140418': Read-only file system
    rm: cannot remove `/home/cn0000/log/sysctrl_errlog.20140417': Read-only file system
    rm: cannot remove `/home/cn0000/log/formlog.20140417': Read-only file system
    [cn0000@localhost ~]$ cd log/


    文件系统只读了,无法写入


    [root@localhost ~]# fsck -t ext3 /dev/rootvg/homelv  
    fsck 1.35 (28-Feb-2004)
    e2fsck 1.35 (28-Feb-2004)
    /dev/rootvg/homelv is mounted.  


    WARNING!!!  Running e2fsck on a mounted filesystem may cause
    SEVERE filesystem damage.


    Do you really want to continue (y/n)? yes


    /dev/rootvg/homelv: recovering journal


    Error reading block 16646144 (Attempt to read block from filesystem resulted in short read) while reading inode and block bitmaps.  Ignore error<y>? yes


    Force rewrite<y>? yes




    Clearing orphaned inode 1376759 (uid=504, gid=999, mode=010600, size=0)
    Clearing orphaned inode 1376756 (uid=504, gid=999, mode=010600, size=0)
    Clearing orphaned inode 1376750 (uid=504, gid=999, mode=010600, size=0)
    /dev/rootvg/homelv: clean, 23986/12812288 files, 5472359/25600000 blocks


    umount /home


    [root@localhost ~]# mount -o remount /dev/rootvg/homelv


    此书恢复正常
  • 相关阅读:
    数据库的查询优化技术(转载)
    数据库查询优化方案(处理上百万级记录如何提高处理查询速度)(转载)
    oracle 游标使用详解
    MySQL-linux系统下面的配置文件
    git分支相关的命令
    让双网卡同时工作在内网和外网
    比较ping,tracert和pathping等命令之间的关系
    选择图片,获取图片
    导出功能代码
    什么是以太网??
  • 原文地址:https://www.cnblogs.com/hzcya1995/p/13352328.html
Copyright © 2020-2023  润新知