RHEL5.8物理机遇到Read-only file system

[[email protected] tmp]# date
Thu Jun  4 04:36:31 CST 2015

[[email protected] tmp]# mkdir ss
mkdir: cannot create directory `ss': Read-only file system
[[email protected] tmp]# pwd
/tmp
[[email protected] tmp]# df -h
Filesystem            Size  Used Avail Use% Mounted on
/dev/mapper/VolGroup00-LogVol00
                      872G  391G  436G  48% /
/dev/sda1             190M   13M  168M   7% /boot
tmpfs                 2.0G     0  2.0G   0% /dev/shm
/mnt/iso/rhel-server-5.8-x86_64-dvd.iso
                      3.9G  3.9G     0 100% /mnt/cdrom

操作系统日志/var/log/message

Jun  3 18:41:08 lei1 xinetd[2711]: EXIT: hvr status=0 pid=29754 duration=1(sec)
Jun  3 18:41:09 lei1 xinetd[2711]: START: hvr pid=29758 from=192.168.100.189
Jun  3 18:41:09 lei1 xinetd[2711]: START: hvr pid=29760 from=192.168.100.189
Jun  3 20:12:25 lei1 kernel: ata2.00: exception Emask 0x10 SAct 0x0 SErr 0x1850000 action 0xe frozen
Jun  3 20:12:25 lei1 kernel: ata2: SError: { PHYRdyChg CommWake LinkSeq TrStaTrns }
Jun  3 20:12:25 lei1 kernel: ata2.00: cmd 25/00:40:aa:de:e0/00:00:61:00:00/e0 tag 0 dma 32768 in
Jun  3 20:12:25 lei1 kernel:          res 40/00:01:00:4f:c2/00:00:00:00:00/00 Emask 0x14 (ATA bus error)
Jun  3 20:12:25 lei1 kernel: ata2.00: status: { DRDY }
Jun  3 20:12:26 lei1 kernel: ata2: soft resetting link
Jun  3 20:12:26 lei1 kernel: ata2: SATA link up 3.0 Gbps (SStatus 123 SControl 300)
Jun  3 20:12:26 lei1 kernel: ata2.00: configured for UDMA/133
Jun  3 20:12:26 lei1 kernel: ata2: EH complete
Jun  3 20:12:26 lei1 kernel: SCSI device sda: 1953525168 512-byte hdwr sectors (1000205 MB)
Jun  3 20:12:26 lei1 kernel: sda: Write Protect is off
Jun  3 20:12:26 lei1 kernel: SCSI device sda: drive cache: write back
Jun  3 20:36:57 lei1 kernel: ata2.00: exception Emask 0x10 SAct 0x0 SErr 0x1850000 action 0xe frozen
Jun  3 20:36:57 lei1 kernel: ata2: SError: { PHYRdyChg CommWake LinkSeq TrStaTrns }
Jun  3 20:36:57 lei1 kernel: ata2.00: cmd 25/00:40:e2:7a:1e/00:00:66:00:00/e0 tag 0 dma 32768 in
Jun  3 20:36:57 lei1 kernel:          res 40/00:01:00:4f:c2/00:00:00:00:00/00 Emask 0x14 (ATA bus error)
Jun  3 20:36:57 lei1 kernel: ata2.00: status: { DRDY }
Jun  3 20:36:57 lei1 kernel: ata2: soft resetting link
Jun  3 20:36:57 lei1 kernel: ata2: SATA link up 3.0 Gbps (SStatus 123 SControl 300)
Jun  3 20:36:57 lei1 kernel: ata2.00: configured for UDMA/133
Jun  3 20:36:57 lei1 kernel: ata2: EH complete
Jun  3 20:36:58 lei1 kernel: SCSI device sda: 1953525168 512-byte hdwr sectors (1000205 MB)
Jun  3 20:36:58 lei1 kernel: sda: Write Protect is off
Jun  3 20:36:58 lei1 kernel: SCSI device sda: drive cache: write back
Jun  3 21:35:07 lei1 xinetd[2711]: EXIT: hvr status=0 pid=29758 duration=10438(sec)
Jun  3 21:35:07 lei1 xinetd[2711]: EXIT: hvr status=0 pid=29760 duration=10438(sec)
Jun  3 21:35:08 lei1 xinetd[2711]: START: hvr pid=30227 from=192.168.100.80
Jun  3 21:35:09 lei1 xinetd[2711]: EXIT: hvr status=0 pid=30227 duration=1(sec)
Jun  3 22:22:57 lei1 xinetd[2711]: EXIT: hvr status=0 pid=29746 duration=13321(sec)
Jun  3 22:22:57 lei1 xinetd[2711]: EXIT: hvr status=0 pid=29744 duration=13322(sec)
Jun  3 22:22:58 lei1 xinetd[2711]: EXIT: hvr status=0 pid=29747 duration=13322(sec)
Jun  4 00:22:34 lei1 kernel: loop: loaded (max 8 devices)
Jun  4 00:35:50 lei1 kernel: ata2.00: exception Emask 0x10 SAct 0x0 SErr 0x1950000 action 0xe frozen
Jun  4 00:35:50 lei1 kernel: ata2: SError: { PHYRdyChg CommWake Dispar LinkSeq TrStaTrns }
Jun  4 00:35:50 lei1 kernel: ata2.00: cmd 25/00:08:1a:10:aa/00:00:65:00:00/e0 tag 0 dma 4096 in
Jun  4 00:35:50 lei1 kernel:          res 40/00:01:00:4f:c2/00:00:00:00:00/00 Emask 0x14 (ATA bus error)
Jun  4 00:35:50 lei1 kernel: ata2.00: status: { DRDY }
Jun  4 00:35:51 lei1 kernel: ata2: soft resetting link
Jun  4 00:35:51 lei1 kernel: ata2: SATA link up 3.0 Gbps (SStatus 123 SControl 300)
Jun  4 00:35:51 lei1 kernel: ata2.00: configured for UDMA/133
Jun  4 00:35:51 lei1 kernel: ata2: EH complete
Jun  4 00:35:51 lei1 kernel: SCSI device sda: 1953525168 512-byte hdwr sectors (1000205 MB)
Jun  4 00:35:51 lei1 kernel: sda: Write Protect is off
Jun  4 00:35:51 lei1 kernel: SCSI device sda: drive cache: write back
Jun  4 00:35:53 lei1 yum: Installed: unixODBC-libs-2.2.11-10.el5.x86_64
Jun  4 00:35:56 lei1 yum: Installed: unixODBC-libs-2.2.11-10.el5.i386
Jun  4 00:36:08 lei1 yum: Installed: unixODBC-2.2.11-10.el5.i386
Jun  4 00:36:12 lei1 yum: Installed: unixODBC-2.2.11-10.el5.x86_64
Jun  4 00:37:16 lei1 yum: Installed: unixODBC-devel-2.2.11-10.el5.x86_64
Jun  4 00:37:19 lei1 yum: Installed: unixODBC-devel-2.2.11-10.el5.i386
Jun  4 00:41:33 lei1 yum: Installed: elfutils-libelf-0.137-3.el5.i386
Jun  4 00:41:33 lei1 yum: Installed: elfutils-libelf-devel-0.137-3.el5.i386
Jun  4 00:41:34 lei1 yum: Installed: elfutils-libelf-devel-static-0.137-3.el5.x86_64
Jun  4 00:41:34 lei1 yum: Installed: elfutils-libelf-devel-static-0.137-3.el5.i386
Jun  4 00:41:34 lei1 yum: Installed: elfutils-libelf-devel-0.137-3.el5.x86_64
Jun  4 00:43:49 lei1 yum: Installed: libaio-devel-0.3.106-5.i386
Jun  4 00:43:49 lei1 yum: Installed: libaio-devel-0.3.106-5.x86_64
Jun  4 00:47:00 lei1 gconfd (root-30877): starting (version 2.14.0), pid 30877 user 'root'
Jun  4 00:47:00 lei1 gconfd (root-30877): Resolved address "xml:readonly:/etc/gconf/gconf.xml.mandatory" to a read-only configuration source at position 0
Jun  4 00:47:00 lei1 gconfd (root-30877): Resolved address "xml:readwrite:/root/.gconf" to a writable configuration source at position 1
Jun  4 00:47:00 lei1 gconfd (root-30877): Resolved address "xml:readonly:/etc/gconf/gconf.xml.defaults" to a read-only configuration source at position 2
Jun  4 00:47:02 lei1 pcscd: winscard.c:304:SCardConnect() Reader E-Gate 0 0 Not Found
Jun  4 00:47:02 lei1 last message repeated 2 times
Jun  4 00:47:03 lei1 hcid[2487]: Default passkey agent (:1.133, /org/bluez/applet) registered
Jun  4 00:47:03 lei1 nm-system-settings: Loaded plugin ifcfg-rh: (c) 2007 - 2008 Red Hat, Inc.  To report bugs please use the NetworkManager mailing list.
Jun  4 00:47:04 lei1 nm-system-settings:    ifcfg-rh: parsing /etc/sysconfig/network-scripts/ifcfg-eth0 ...
Jun  4 00:47:04 lei1 nm-system-settings:    ifcfg-rh:     read connection 'System eth0'
Jun  4 00:47:04 lei1 nm-system-settings:    ifcfg-rh: parsing /etc/sysconfig/network-scripts/ifcfg-lo ...
Jun  4 00:47:04 lei1 gconfd (root-30877): Resolved address "xml:readwrite:/root/.gconf" to a writable configuration source at position 0
Jun  4 00:47:05 lei1 pcscd: winscard.c:304:SCardConnect() Reader E-Gate 0 0 Not Found
Jun  4 00:47:07 lei1 nm-system-settings: Adding default connection 'Auto __tmp1352726790' for /org/freedesktop/Hal/devices/net_00_23_cd_9e_9a_80
Jun  4 00:47:07 lei1 nm-system-settings: Adding default connection 'Auto eth2' for /org/freedesktop/Hal/devices/net_50_e5_49_6d_ab_ba
Jun  4 00:54:19 lei1 kernel: ata2.00: exception Emask 0x10 SAct 0x0 SErr 0x1850000 action 0xe frozen
Jun  4 00:54:19 lei1 kernel: ata2: SError: { PHYRdyChg CommWake LinkSeq TrStaTrns }
Jun  4 00:54:19 lei1 kernel: ata2.00: cmd 25/00:00:ca:78:0c/00:02:0d:00:00/e0 tag 0 dma 262144 in
Jun  4 00:54:19 lei1 kernel:          res 40/00:01:00:4f:c2/00:00:00:00:00/00 Emask 0x14 (ATA bus error)
Jun  4 00:54:19 lei1 kernel: ata2.00: status: { DRDY }
Jun  4 00:54:20 lei1 kernel: ata2: soft resetting link
Jun  4 00:54:20 lei1 kernel: ata2: SATA link up 3.0 Gbps (SStatus 123 SControl 300)
Jun  4 00:54:20 lei1 kernel: ata2.00: configured for UDMA/133
Jun  4 00:54:20 lei1 kernel: ata2: EH complete
Jun  4 00:54:20 lei1 kernel: SCSI device sda: 1953525168 512-byte hdwr sectors (1000205 MB)
Jun  4 00:54:20 lei1 kernel: sda: Write Protect is off
Jun  4 00:54:20 lei1 kernel: SCSI device sda: drive cache: write back
Jun  4 02:55:55 lei1 yum: Installed: strace-4.5.18-5.el5_5.5.x86_64
----->到此处输出就终止了。

于是就init 6 重启了os,重启后,屏幕提示

Setting up Logical Volume Management:           [OK]
/dev/VolGroup00/LogVol00 contains a file system with error. check forced.
  /dev/VolGroup00/LogVol00:
  

在本文写完时,还在修复,因此,遇到 Read-only file system的问题,第一步要做的:是将该os上有用的数据拷贝出来!!!

时间: 2024-11-24 14:18:06

RHEL5.8物理机遇到Read-only file system的相关文章

物理机与虚拟机IP互ping通,而互ping主机名不通

问题描述:虚拟机信息:VMware-workstation 10安装RHEL5.8操作系统.hostname:rhel201.com IP:192.168.1.201 物理机系统:windows 7主机名:rusky-PC IP: 192.168.1.123 两者能够互相ping通对方的IP地址,但是互ping对方主机名失败. 处理方法:1.虚拟机linux系统中编辑如下文件[[email protected] ~]# vi /etc/hosts # Do not remove the foll

centos6中三台物理机配置nginx+keepalived+lvs

以下只是简单的安装配置,并没有测试这套负载,各种参数大家可以自己测试 vip:10.0.50.170 lvs server:10.0.50.183 real server:10.0.50.184/185 183/184/185同步时间,并且安装nginx # ntpdate time.nist.gov # yum install nginx # /etc/init.d/nginx start 在184/185上编写测试页面/usr/share/nginx/html/index.html 183上

虚拟机VMWare学习笔记十二 - 将物理机抓取成虚拟机

1. 安装VMware vCenter Converter Standalone Client 运行虚拟机,File -- Virtualize a Physical Machine 这时如果电脑中没有VMware vCenter Converter Standalone Client ,则会进行安装. 安装过程 之后图标会出现在桌面上,双击运行 选择连接到本地服务器,登陆 点击转换计算机 这个,可以将本地计算机抓取成虚拟机,也可以将其他可以访问的计算机(需知道管理员用户名及密码)抓取成虚拟机.

2.如何在物理机中部署一个NanoServer

与部署在虚拟机中类似,这里仅仅对不同步骤进行说明 1.创建物理机使用的VHD文件(映像)屏幕剪辑的捕获时间: 2017/5/20 12:54 物理机器的 PowerShell 命令行记录 New-NanoServerImage -MediaPath 'F:\' -Edition 'Datacenter' -DeploymentType Host -TargetPath '\\tanshuai-nas\home\My LocalFiles\VHD\NanoServer\MyNanoServer3.

使用Linux Bridge 搭建vxlan 实现 虚拟机跨物理机通信

#实验环境: #本次实验要让192.168.1.3 跨物理节点 ping 通 192.168.1.2 #两台物理机: KVM_1 192.168.174.134 KVM_2 192.168.174.135 #在KVM_1主机上操作 #安装KVM相关软件 [[email protected]_1 ~]#  yum -y install qemu-kvm libvirt virt-install bridge-utils [[email protected]_1 ~]# systemctl star

虚拟机中映射物理机磁盘

虚拟机中映射物理机磁盘,布布扣,bubuko.com

物理机连接虚拟机中的sqlserver

物理机:window10企业版 虚拟机(vmware12):windows server 2016 DataCenter 一.虚拟机选择桥接模式(复选框不要勾上),此时虚拟机和物理机都能Ping通网关,但物理机ping不通虚拟机,虚拟机也ping不通物理机: 二.物理机和虚拟机:打开防火墙安全高级设置,新建入站规则,将数据库默认端口1433开放: 三.此时物理机已可正常连接虚拟机中的数据库:

物理机可以访问虚拟机里面搭建的网站

1.设置虚拟机的网络是桥接模式 2.关闭防火墙 (下图为防火墙关闭状态) 看防火墙规则的设置 iptables  -L 在此说一下关于启动和关闭防火墙的命令: 1) 重启后生效        开启: chkconfig iptables on        关闭: chkconfig iptables off 2) 即时生效,重启后失效        开启: service iptables start        关闭: service iptables stop 3.关闭selinux(如

vm虚拟机Kali2.0实现与物理机之间的文件拖动共享

MarkdownPad Document html,body,div,span,applet,object,iframe,h1,h2,h3,h4,h5,h6,p,blockquote,pre,a,abbr,acronym,address,big,cite,code,del,dfn,em,img,ins,kbd,q,s,samp,small,strike,strong,sub,sup,tt,var,b,u,i,center,dl,dt,dd,ol,ul,li,fieldset,form,label