当前位置: 技术问答>linux和unix
我得redhat出问题了...文件系统被破坏
来源: 互联网 发布时间:2015-09-11
本文导语: drwxr-xr-x 2 root root 4096 Jul 22 2004 bin drwxr-xr-x 4 root root 1024 Jul 22 2004 boot drwxr-xr-x 23 root root 163840 Mar 1 15:34 dev drwxr-xr-x 55 root root 4096 Mar 1 15:33 etc drwxr-xr-x 16 root root 4096 ...
drwxr-xr-x 2 root root 4096 Jul 22 2004 bin
drwxr-xr-x 4 root root 1024 Jul 22 2004 boot
drwxr-xr-x 23 root root 163840 Mar 1 15:34 dev
drwxr-xr-x 55 root root 4096 Mar 1 15:33 etc
drwxr-xr-x 16 root root 4096 Feb 3 17:53 home
drwxr-xr-x 2 root root 4096 Mar 12 2004 initrd
drwxr-xr-x 9 root root 4096 Jul 22 2004 lib
drwx------ 2 root root 16384 Jul 22 2004 lost+found
?--------- ? ? ? ? ? misc
drwxr-xr-x 5 root root 4096 Jul 22 2004 mnt
?--------- ? ? ? ? ? opt
dr-xr-xr-x 76 root root 0 Mar 1 2005 proc
drwxr-x--- 5 root root 4096 Mar 1 16:27 root
drwxr-xr-x 2 root root 12288 Jul 22 2004 sbin
drwxr-xr-x 2 root root 4096 Mar 12 2004 selinux
drwxr-xr-x 7 root root 1024 Jul 1 2004 server
drwxr-xr-x 13 root root 4096 Nov 3 01:40 sfroot
drwxr-xr-x 8 root root 0 Mar 1 2005 sys
?--------- ? ? ? ? ? temp
drwxrwxrwt 12 root root 315392 Mar 1 17:12 tmp
drwxr-xr-x 14 root root 4096 Jul 22 2004 usr
drwxr-xr-x 22 root root 4096 Jul 22 2004 var
如上,,谁见过这种情况啊...为什么那么多问号..而且root对多数文件都没有写权限了.
reboot命令,,提示有 I/O错误.
[root@www1 /]# touch xx
touch: cannot touch `xx': Read-only file system
[root@www1 /]# reboot
-bash: /sbin/reboot: Input/output error
drwxr-xr-x 4 root root 1024 Jul 22 2004 boot
drwxr-xr-x 23 root root 163840 Mar 1 15:34 dev
drwxr-xr-x 55 root root 4096 Mar 1 15:33 etc
drwxr-xr-x 16 root root 4096 Feb 3 17:53 home
drwxr-xr-x 2 root root 4096 Mar 12 2004 initrd
drwxr-xr-x 9 root root 4096 Jul 22 2004 lib
drwx------ 2 root root 16384 Jul 22 2004 lost+found
?--------- ? ? ? ? ? misc
drwxr-xr-x 5 root root 4096 Jul 22 2004 mnt
?--------- ? ? ? ? ? opt
dr-xr-xr-x 76 root root 0 Mar 1 2005 proc
drwxr-x--- 5 root root 4096 Mar 1 16:27 root
drwxr-xr-x 2 root root 12288 Jul 22 2004 sbin
drwxr-xr-x 2 root root 4096 Mar 12 2004 selinux
drwxr-xr-x 7 root root 1024 Jul 1 2004 server
drwxr-xr-x 13 root root 4096 Nov 3 01:40 sfroot
drwxr-xr-x 8 root root 0 Mar 1 2005 sys
?--------- ? ? ? ? ? temp
drwxrwxrwt 12 root root 315392 Mar 1 17:12 tmp
drwxr-xr-x 14 root root 4096 Jul 22 2004 usr
drwxr-xr-x 22 root root 4096 Jul 22 2004 var
如上,,谁见过这种情况啊...为什么那么多问号..而且root对多数文件都没有写权限了.
reboot命令,,提示有 I/O错误.
[root@www1 /]# touch xx
touch: cannot touch `xx': Read-only file system
[root@www1 /]# reboot
-bash: /sbin/reboot: Input/output error
|
是不是硬盘坏了,
|
看看你的fstab中mount的选项是否出了问题