免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
最近访问板块 发新帖
查看: 3930 | 回复: 0
打印 上一主题 下一主题

[RAID与磁盘阵列] 软Raid中出现部分目录访问IO Input/Output Error [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2014-09-12 15:17 |只看该作者 |倒序浏览
我是12块硬盘做了一个Raid5,其中有一块备份盘,从mdadm统计的信息看,硬盘都是正常的。

# mdadm -D /dev/md0
/dev/md0:
        Version : 0.90
  Creation Time : Thu Dec 19 11:11:52 2013
     Raid Level : raid5
     Array Size : 19529656320 (18624.93 GiB 19998.37 GB)
  Used Dev Size : 1952965632 (1862.49 GiB 1999.84 GB)
   Raid Devices : 11
  Total Devices : 12
Preferred Minor : 0
    Persistence : Superblock is persistent

    Update Time : Fri Sep 12 15:10:05 2014
          State : clean
Active Devices : 11
Working Devices : 12
Failed Devices : 0
  Spare Devices : 1

         Layout : left-symmetric
     Chunk Size : 512K

           UUID : 08efbba0:fd4373ba:ac22bbd0:c519d0f8 (local to host GNOP011-CT-GDDG-229-75)
         Events : 0.786

    Number   Major   Minor   RaidDevice State
       0       8       17        0      active sync   /dev/sdb1
       1       8       33        1      active sync   /dev/sdc1
       2       8       49        2      active sync   /dev/sdd1
       3       8       65        3      active sync   /dev/sde1
       4       8       81        4      active sync   /dev/sdf1
       5       8       97        5      active sync   /dev/sdg1
       6       8      113        6      active sync   /dev/sdh1
       7       8      129        7      active sync   /dev/sdi1
       8       8      145        8      active sync   /dev/sdj1
       9       8      161        9      active sync   /dev/sdk1
      10       8      177       10      active sync   /dev/sdl1

      11       8      193        -      spare   /dev/sdm1

但是今天发现这个服务器有很多inode信息的错误。
EXT4-fs error (device md0): ext4_lookup: deleted inode referenced: 2241567
EXT4-fs error (device md0): ext4_ext_get_blocks: inode #2240545: (comm nginx) bad extent address iblock: 0, depth: 1 pblock 0
EXT4-fs error (device md0): ext4_ext_get_blocks: inode #2240545: (comm nginx) bad extent address iblock: 0, depth: 1 pblock 0

经过检查,发现部分目录无法读取。
ls: cannot access data/2014/02: Input/output error

出现这种问题的原因是什么呢,如果是硬盘有io错误,Raid5不会自行通过校验将数据恢复到备盘上吗?
另外:这种io错误如何才能恢复数据呢,有什么方法么?
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

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

清除 Cookies - ChinaUnix - Archiver - WAP - TOP