RHEL5.8物理機遇到Read-only file system,rhel5.8read-only

來源:互聯網
上載者:User

RHEL5.8物理機遇到Read-only file system,rhel5.8read-only


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


 

[root@lei1 tmp]# dateThu Jun  4 04:36:31 CST 2015[root@lei1 tmp]# mkdir ssmkdir: cannot create directory `ss': Read-only file system[root@lei1 tmp]# pwd/tmp[root@lei1 tmp]# df -hFilesystem            Size  Used Avail Use% Mounted on/dev/mapper/VolGroup00-LogVol00                      872G  391G  436G  48% //dev/sda1             190M   13M  168M   7% /boottmpfs                 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.189Jun  3 18:41:09 lei1 xinetd[2711]: START: hvr pid=29760 from=192.168.100.189Jun  3 20:12:25 lei1 kernel: ata2.00: exception Emask 0x10 SAct 0x0 SErr 0x1850000 action 0xe frozenJun  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 inJun  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 linkJun  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/133Jun  3 20:12:26 lei1 kernel: ata2: EH completeJun  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 offJun  3 20:12:26 lei1 kernel: SCSI device sda: drive cache: write backJun  3 20:36:57 lei1 kernel: ata2.00: exception Emask 0x10 SAct 0x0 SErr 0x1850000 action 0xe frozenJun  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 inJun  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 linkJun  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/133Jun  3 20:36:57 lei1 kernel: ata2: EH completeJun  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 offJun  3 20:36:58 lei1 kernel: SCSI device sda: drive cache: write backJun  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.80Jun  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 frozenJun  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 inJun  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 linkJun  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/133Jun  4 00:35:51 lei1 kernel: ata2: EH completeJun  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 offJun  4 00:35:51 lei1 kernel: SCSI device sda: drive cache: write backJun  4 00:35:53 lei1 yum: Installed: unixODBC-libs-2.2.11-10.el5.x86_64Jun  4 00:35:56 lei1 yum: Installed: unixODBC-libs-2.2.11-10.el5.i386Jun  4 00:36:08 lei1 yum: Installed: unixODBC-2.2.11-10.el5.i386Jun  4 00:36:12 lei1 yum: Installed: unixODBC-2.2.11-10.el5.x86_64Jun  4 00:37:16 lei1 yum: Installed: unixODBC-devel-2.2.11-10.el5.x86_64Jun  4 00:37:19 lei1 yum: Installed: unixODBC-devel-2.2.11-10.el5.i386Jun  4 00:41:33 lei1 yum: Installed: elfutils-libelf-0.137-3.el5.i386Jun  4 00:41:33 lei1 yum: Installed: elfutils-libelf-devel-0.137-3.el5.i386Jun  4 00:41:34 lei1 yum: Installed: elfutils-libelf-devel-static-0.137-3.el5.x86_64Jun  4 00:41:34 lei1 yum: Installed: elfutils-libelf-devel-static-0.137-3.el5.i386Jun  4 00:41:34 lei1 yum: Installed: elfutils-libelf-devel-0.137-3.el5.x86_64Jun  4 00:43:49 lei1 yum: Installed: libaio-devel-0.3.106-5.i386Jun  4 00:43:49 lei1 yum: Installed: libaio-devel-0.3.106-5.x86_64Jun  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 0Jun  4 00:47:00 lei1 gconfd (root-30877): Resolved address "xml:readwrite:/root/.gconf" to a writable configuration source at position 1Jun  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 2Jun  4 00:47:02 lei1 pcscd: winscard.c:304:SCardConnect() Reader E-Gate 0 0 Not FoundJun  4 00:47:02 lei1 last message repeated 2 timesJun  4 00:47:03 lei1 hcid[2487]: Default passkey agent (:1.133, /org/bluez/applet) registeredJun  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 0Jun  4 00:47:05 lei1 pcscd: winscard.c:304:SCardConnect() Reader E-Gate 0 0 Not FoundJun  4 00:47:07 lei1 nm-system-settings: Adding default connection 'Auto __tmp1352726790' for /org/freedesktop/Hal/devices/net_00_23_cd_9e_9a_80Jun  4 00:47:07 lei1 nm-system-settings: Adding default connection 'Auto eth2' for /org/freedesktop/Hal/devices/net_50_e5_49_6d_ab_baJun  4 00:54:19 lei1 kernel: ata2.00: exception Emask 0x10 SAct 0x0 SErr 0x1850000 action 0xe frozenJun  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 inJun  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 linkJun  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/133Jun  4 00:54:20 lei1 kernel: ata2: EH completeJun  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 offJun  4 00:54:20 lei1 kernel: SCSI device sda: drive cache: write backJun  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上有用的資料拷貝出來!!!

相關文章

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.