LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
查看: 653|回复: 1

【继续求救】升级gentoo后raid不认的问题,后续

[复制链接]
发表于 2009-8-12 16:40:59 | 显示全部楼层 |阅读模式
之前请教版上兄弟,有说是raid硬件的问题。但是重建后仍然失败,我贴出机器详细的资料

设备:曙光 i200(网站没有提供源码驱动,只有给centos,suse的img文件)
系统:gentoo,由2007.0升级到2009-7-30版本
raid组成:
3个口,分别接80G sata,250G sata,250G sata。2块250G组成raid1
我已经重建过了,也用gentoo 2008.0beta和Mandriva 2009.0的liveCD启动过,也同样无法识别
首先看dmesg
  1. director demonlj # dmesg |grep md
  2. ata1: SATA max UDMA/133 cmd 0xE0000D00 ctl 0x0 bmdma 0x0 irq 10
  3. ata2: SATA max UDMA/133 cmd 0xE0000D80 ctl 0x0 bmdma 0x0 irq 10
  4. ata3: SATA max UDMA/133 cmd 0xE0000E00 ctl 0x0 bmdma 0x0 irq 10
  5. ata4: SATA max UDMA/133 cmd 0xE0000E80 ctl 0x0 bmdma 0x0 irq 10
  6. md: raid1 personality registered for level 1
  7. md: md driver 0.90.3 MAX_MD_DEVS=256, MD_SB_DISKS=27
  8. md: bitmap version 4.39
  9. md: Autodetecting RAID arrays.
  10. md: autorun ...
  11. md: ... autorun DONE.
  12. ReiserFS: md0: warning: sh-2006: read_super_block: bread failed (dev md0, block 2, size 4096)
  13. ReiserFS: md0: warning: sh-2006: read_super_block: bread failed (dev md0, block 16, size 4096)
  14. ReiserFS: md0: warning: sh-2021: reiserfs_fill_super: can not find reiserfs on md0
复制代码

md0无法mount,再看fdisk
  1. director demonlj # fdisk -l

  2. Disk /dev/sda: 82.3 GB, 82348277760 bytes
  3. 255 heads, 63 sectors/track, 10011 cylinders
  4. Units = cylinders of 16065 * 512 = 8225280 bytes
  5. Disk identifier: 0xec5bec5b

  6.    Device Boot      Start         End      Blocks   Id  System
  7. /dev/sda1               1        1300    10442218+  83  Linux
  8. /dev/sda2   *        1301        3900    20884500    7  HPFS/NTFS
  9. /dev/sda3            3901       10011    49086607+   5  Extended
  10. /dev/sda5            3901        9800    47391718+  83  Linux
  11. /dev/sda6            9801       10011     1694826   83  Linux

  12. Disk /dev/sdb: 250.1 GB, 250059350016 bytes
  13. 255 heads, 63 sectors/track, 30401 cylinders
  14. Units = cylinders of 16065 * 512 = 8225280 bytes
  15. Disk identifier: 0xf6e8f6e8

  16.    Device Boot      Start         End      Blocks   Id  System
  17. /dev/sdb1               1       30384   244059448+   7  HPFS/NTFS

  18. Disk /dev/sdc: 250.1 GB, 250059350016 bytes
  19. 255 heads, 63 sectors/track, 30401 cylinders
  20. Units = cylinders of 16065 * 512 = 8225280 bytes
  21. Disk identifier: 0xf6e8f6e8

  22.    Device Boot      Start         End      Blocks   Id  System
  23. /dev/sdc1               1       30384   244059448+   7  HPFS/NTFS
复制代码

识别为2块硬盘,最后看mdadm
  1. director ~ # mdadm --detail /dev/md0
  2. mdadm: md device /dev/md0 does not appear to be active.
  3. director ~ # mdadm --examine /dev/md0
  4. mdadm: No md superblock detected on /dev/md0.
  5. director ~ # mdadm --examine /dev/sdb1
  6. /dev/sdb1:
  7.           Magic : a92b4efc
  8.         Version : 0.90.03
  9.            UUID : 698530e0:addfc16c:1949e653:9bb960cd
  10.   Creation Time : Sat Aug 26 04:36:12 2006
  11.      Raid Level : raid1
  12.   Used Dev Size : 244059328 (232.75 GiB 249.92 GB)
  13.      Array Size : 244059328 (232.75 GiB 249.92 GB)
  14.    Raid Devices : 2
  15.   Total Devices : 1
  16. Preferred Minor : 127

  17.     Update Time : Wed Aug 12 10:46:13 2009
  18.           State : clean
  19. Active Devices : 1
  20. Working Devices : 1
  21. Failed Devices : 1
  22.   Spare Devices : 0
  23.        Checksum : 18430785 - correct
  24.          Events : 39350910


  25.       Number   Major   Minor   RaidDevice State
  26. this     0       8       17        0      active sync   /dev/sdb1

  27.    0     0       8       17        0      active sync   /dev/sdb1
  28.    1     1       0        0        1      faulty removed
  29. director ~ # mdadm --examine /dev/sdc1
  30. /dev/sdc1:
  31.           Magic : a92b4efc
  32.         Version : 0.90.03
  33.            UUID : 698530e0:addfc16c:1949e653:9bb960cd
  34.   Creation Time : Sat Aug 26 04:36:12 2006
  35.      Raid Level : raid1
  36.   Used Dev Size : 244059328 (232.75 GiB 249.92 GB)
  37.      Array Size : 244059328 (232.75 GiB 249.92 GB)
  38.    Raid Devices : 2
  39.   Total Devices : 2
  40. Preferred Minor : 0

  41.     Update Time : Mon Jul 27 18:35:47 2009
  42.           State : clean
  43. Active Devices : 2
  44. Working Devices : 2
  45. Failed Devices : 0
  46.   Spare Devices : 0
  47.        Checksum : 182e5d34 - correct
  48.          Events : 39350906


  49.       Number   Major   Minor   RaidDevice State
  50. this     0       8       17        0      active sync   /dev/sdb1

  51.    0     0       8       17        0      active sync   /dev/sdb1
  52.    1     1       8       33        1      active sync   /dev/sdc1
  53. director ~ #
复制代码
发表于 2009-8-12 20:46:22 | 显示全部楼层
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

快速回复 返回顶部 返回列表