标签:
RHEL5.8物理机遇到Read-only file system
[root@lei1 tmp]# date Thu Jun 4 04:36:31 CST 2015 [root@lei1 tmp]# mkdir ss mkdir: cannot create directory `ss': Read-only file system [root@lei1 tmp]# pwd /tmp [root@lei1 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上有用的数据拷贝出来!!!
RHEL5.8物理机遇到Read-only file system
标签:
原文地址:http://blog.csdn.net/msdnchina/article/details/46351811