免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
最近访问板块 发新帖
查看: 4004 | 回复: 2

谁遇到过这样的问题? [复制链接]

论坛徽章:
0
发表于 2007-11-02 10:37 |显示全部楼层
安装操作系统 Linux AS 2.6.9-42.EL
2个硬盘做了md0

停电后重起自检就出现以下这种情况.因为是以前在学校的机子2年了.是不是停电N次也不知,都没人管..现在是返修
的.
setting up logical Volume Management;

  file descriptor 21 left open

        no Volume groups found

checking file systems

/boot1:clean,34/26104 files. 11975/104388 blocks
/dev/md0 contains a file system with errors,check forced.
Error reading block 25755712 (Attempt to read block from filesystem resulted in short read)
while doing inode scan

/dev/md0:UNEXPECTED INCONSISTENCY;RUN fsck MANUALLY.(i,e.,without -a or -P options)

/usr:clean,89377/2562240 files. 545170/5120718 blocks

/var1:clean,46341/2562240 files. 277832/5120718 blocks

An error occurred during the file system check
dropping you to a shell,warning --SELinux is actice
Disabling security enforcement for system recorer
Run 'setenforce 1' to reenable
Give root password for maintenance

用ROOT进去以后用fdisk -l能看到各个盘.但是就是一个hdc4挂载不上来
用df -h查看的话只看到一个/dev/hdc5
用fsck -fp /dev/hdc1看到
/boot1:34/26104 files(11.8% non-contigous) 11975/104388  block
fsck -fp /dev/hdc2
/usr:89377/2562240 files(1.0% non-contigous) 545170/51220718 block
fsck -fp /dev/hdc3
/var1:4634/2562240 files(6.1% non-contigous) 277832/5120718 block
fsck -fp /dev/hdc4
fsck.ext2:Attempt to read block from filesystem resulted in short read while trying to open /dev/hdc4
Could this be a zero-length partition.
/fsck -fp /dev/hdc5
WARNNING!!! Runing e2fsck on a mounted filesystem may cause SEVERE filesystem damage.
Do you really wangt to continue(Y,N)Y
/:4446/2562240 pilesc(0.8% non-contigous) 122120/5120710 blocks
fsck -fp /dev/hdc6.
fsck:fsck.swap:no found
fsck:Error 2 while executing fsck.swap for /dev/hdc6

[ 本帖最后由 shang12 于 2007-11-2 14:17 编辑 ]

论坛徽章:
0
发表于 2007-11-02 13:42 |显示全部楼层
WARNNING!!! Runing e2fsck on a mounted filesystem may cause SEVERE filesystem damage.
提示已经告诉你怎么操作了,e2fsck 检查EXT2文件系统
对于已坏的文件系统使用  fsck -y /dev/...

论坛徽章:
0
发表于 2007-11-02 14:23 |显示全部楼层
取消md0
试下,个人认为是md0被破坏无法识别分区
cat /etc/fstab  贴出来
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP