|
|
之前请教版上兄弟,有说是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
- director demonlj # dmesg |grep md
- ata1: SATA max UDMA/133 cmd 0xE0000D00 ctl 0x0 bmdma 0x0 irq 10
- ata2: SATA max UDMA/133 cmd 0xE0000D80 ctl 0x0 bmdma 0x0 irq 10
- ata3: SATA max UDMA/133 cmd 0xE0000E00 ctl 0x0 bmdma 0x0 irq 10
- ata4: SATA max UDMA/133 cmd 0xE0000E80 ctl 0x0 bmdma 0x0 irq 10
- md: raid1 personality registered for level 1
- md: md driver 0.90.3 MAX_MD_DEVS=256, MD_SB_DISKS=27
- md: bitmap version 4.39
- md: Autodetecting RAID arrays.
- md: autorun ...
- md: ... autorun DONE.
- ReiserFS: md0: warning: sh-2006: read_super_block: bread failed (dev md0, block 2, size 4096)
- ReiserFS: md0: warning: sh-2006: read_super_block: bread failed (dev md0, block 16, size 4096)
- ReiserFS: md0: warning: sh-2021: reiserfs_fill_super: can not find reiserfs on md0
复制代码
md0无法mount,再看fdisk
- director demonlj # fdisk -l
- Disk /dev/sda: 82.3 GB, 82348277760 bytes
- 255 heads, 63 sectors/track, 10011 cylinders
- Units = cylinders of 16065 * 512 = 8225280 bytes
- Disk identifier: 0xec5bec5b
- Device Boot Start End Blocks Id System
- /dev/sda1 1 1300 10442218+ 83 Linux
- /dev/sda2 * 1301 3900 20884500 7 HPFS/NTFS
- /dev/sda3 3901 10011 49086607+ 5 Extended
- /dev/sda5 3901 9800 47391718+ 83 Linux
- /dev/sda6 9801 10011 1694826 83 Linux
- Disk /dev/sdb: 250.1 GB, 250059350016 bytes
- 255 heads, 63 sectors/track, 30401 cylinders
- Units = cylinders of 16065 * 512 = 8225280 bytes
- Disk identifier: 0xf6e8f6e8
- Device Boot Start End Blocks Id System
- /dev/sdb1 1 30384 244059448+ 7 HPFS/NTFS
- Disk /dev/sdc: 250.1 GB, 250059350016 bytes
- 255 heads, 63 sectors/track, 30401 cylinders
- Units = cylinders of 16065 * 512 = 8225280 bytes
- Disk identifier: 0xf6e8f6e8
- Device Boot Start End Blocks Id System
- /dev/sdc1 1 30384 244059448+ 7 HPFS/NTFS
复制代码
识别为2块硬盘,最后看mdadm
- director ~ # mdadm --detail /dev/md0
- mdadm: md device /dev/md0 does not appear to be active.
- director ~ # mdadm --examine /dev/md0
- mdadm: No md superblock detected on /dev/md0.
- director ~ # mdadm --examine /dev/sdb1
- /dev/sdb1:
- Magic : a92b4efc
- Version : 0.90.03
- UUID : 698530e0:addfc16c:1949e653:9bb960cd
- Creation Time : Sat Aug 26 04:36:12 2006
- Raid Level : raid1
- Used Dev Size : 244059328 (232.75 GiB 249.92 GB)
- Array Size : 244059328 (232.75 GiB 249.92 GB)
- Raid Devices : 2
- Total Devices : 1
- Preferred Minor : 127
- Update Time : Wed Aug 12 10:46:13 2009
- State : clean
- Active Devices : 1
- Working Devices : 1
- Failed Devices : 1
- Spare Devices : 0
- Checksum : 18430785 - correct
- Events : 39350910
- Number Major Minor RaidDevice State
- this 0 8 17 0 active sync /dev/sdb1
- 0 0 8 17 0 active sync /dev/sdb1
- 1 1 0 0 1 faulty removed
- director ~ # mdadm --examine /dev/sdc1
- /dev/sdc1:
- Magic : a92b4efc
- Version : 0.90.03
- UUID : 698530e0:addfc16c:1949e653:9bb960cd
- Creation Time : Sat Aug 26 04:36:12 2006
- Raid Level : raid1
- Used Dev Size : 244059328 (232.75 GiB 249.92 GB)
- Array Size : 244059328 (232.75 GiB 249.92 GB)
- Raid Devices : 2
- Total Devices : 2
- Preferred Minor : 0
- Update Time : Mon Jul 27 18:35:47 2009
- State : clean
- Active Devices : 2
- Working Devices : 2
- Failed Devices : 0
- Spare Devices : 0
- Checksum : 182e5d34 - correct
- Events : 39350906
- Number Major Minor RaidDevice State
- this 0 8 17 0 active sync /dev/sdb1
- 0 0 8 17 0 active sync /dev/sdb1
- 1 1 8 33 1 active sync /dev/sdc1
- director ~ #
复制代码 |
|