免费注册 查看新帖 |

Chinaunix

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

求解,RHEL-AS4.0下做raid 0后少了几块硬盘?不能格式化raid? [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2006-04-13 20:59 |只看该作者 |倒序浏览
RHEL-AS4.0系统,火箭404RAID卡,接8块硬盘,ide接2块硬盘,总计10块250G硬盘.
先用raid卡做硬raid0 (8块硬盘).
进入系统后fdisk -l
显示
Disk /dev/hda: 250.0 GB, 250059350016 bytes
255 heads, 63 sectors/track, 30401 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

   Device Boot      Start         End      Blocks   Id  System
/dev/hda1   *           1          13      104391   83  Linux
/dev/hda2              14         523     4096575   83  Linux
/dev/hda3             524         778     2048287+  82  Linux swap
/dev/hda4             779       30401   237946747+   5  Extended
/dev/hda5             779       30401   237946716   fd  Linux raid autodetect

Disk /dev/hdb: 250.0 GB, 250059350016 bytes
255 heads, 63 sectors/track, 30401 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

   Device Boot      Start         End      Blocks   Id  System
/dev/hdb1               1       30401   244196001   fd  Linux raid autodetect

Disk /dev/hde: 250.0 GB, 250059350016 bytes
255 heads, 63 sectors/track, 30401 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

Disk /dev/hde doesn't contain a valid partition table

Disk /dev/hdf: 250.0 GB, 250059350016 bytes
255 heads, 63 sectors/track, 30401 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

Disk /dev/hdf doesn't contain a valid partition table

Disk /dev/hdg: 250.0 GB, 250059350016 bytes
255 heads, 63 sectors/track, 30401 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

Disk /dev/hdg doesn't contain a valid partition table

Disk /dev/hdh: 250.0 GB, 250059350016 bytes
255 heads, 63 sectors/track, 30401 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

Disk /dev/hdh doesn't contain a valid partition table

Disk /dev/hdi: 250.0 GB, 250059350016 bytes
255 heads, 63 sectors/track, 30401 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

Disk /dev/hdi doesn't contain a valid partition table

Disk /dev/hdj: 250.0 GB, 250059350016 bytes
255 heads, 63 sectors/track, 30401 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

Disk /dev/hdj doesn't contain a valid partition table

Disk /dev/hdk: 250.0 GB, 250059350016 bytes
255 heads, 63 sectors/track, 30401 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

Disk /dev/hdk doesn't contain a valid partition table

Disk /dev/hdl: 250.0 GB, 250059350016 bytes
255 heads, 63 sectors/track, 30401 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

Disk /dev/hdl doesn't contain a valid partition table

在windows下应该是合成了一块大硬盘,AS4下是没有分区,不知是为什么??
我对8块硬盘逐一分区成FD格式后,建立RAID0
[root@ftpserver ~]# mdadm -C /dev/md0 -l0 -n9 /dev/hda5 /dev/hd[e,f,g,h,i,j,k,l]1
mdadm: /dev/hda5 appears to contain an ext2fs file system
    size=128K  mtime=Tue Jan  1 02:48:36 2002
mdadm: /dev/hda5 appears to be part of a raid array:
    level=0 devices=10 ctime=Tue Jan  1 02:32:02 2002
mdadm: /dev/hde1 appears to be part of a raid array:
    level=0 devices=10 ctime=Tue Jan  1 02:32:02 2002
mdadm: /dev/hdf1 appears to be part of a raid array:
    level=0 devices=10 ctime=Tue Jan  1 02:32:02 2002
mdadm: /dev/hdg1 appears to be part of a raid array:
    level=0 devices=10 ctime=Tue Jan  1 02:32:02 2002
mdadm: /dev/hdh1 appears to contain an ext2fs file system
    size=1465175424K  mtime=Thu Apr 13 05:36:06 2006
mdadm: /dev/hdh1 appears to be part of a raid array:
    level=0 devices=10 ctime=Tue Jan  1 02:32:02 2002
mdadm: /dev/hdi1 appears to be part of a raid array:
    level=0 devices=10 ctime=Tue Jan  1 02:32:02 2002
mdadm: /dev/hdj1 appears to be part of a raid array:
    level=0 devices=10 ctime=Tue Jan  1 02:32:02 2002
mdadm: /dev/hdk1 appears to be part of a raid array:
    level=0 devices=10 ctime=Tue Jan  1 02:32:02 2002
mdadm: /dev/hdl1 appears to be part of a raid array:
    level=0 devices=10 ctime=Tue Jan  1 02:32:02 2002
Continue creating array?y
mdadm: array /dev/md0 started.

一切做完后,现在fdisk -l查看分区发现只有4块硬盘,这是为什么呢???
用 # more /proc/mdstat    #查看md0状态如下
Personalities : [raid0]
md0 : active raid0 hdl1[8] hdk1[7] hdj1[6] hdi1[5] hdh1[4] hdg1[3] hdf1[2] hde1[1] hda5[0]
      2191513856 blocks 64k chunks

unused devices: <none>

显示都正常呀?     接着格式化MD0   显示如下
#mkfs -t ext3 /dev/md0
mke2fs 1.35 (28-Feb-2004)
max_blocks 65536, rsv_groups = 8, rsv_gdb = 0
Filesystem label=
OS type: Linux
Block size=1024 (log=0)
Fragment size=1024 (log=0)
16 inodes, 64 blocks
3 blocks (4.69%) reserved for the super user
First data block=1
1 block group
8192 blocks per group, 8192 fragments per group
16 inodes per group

Writing inode tables: done

Filesystem too small for a journal
Writing superblocks and filesystem accounting information: done

This filesystem will be automatically checked every 21 mounts or
180 days, whichever comes first.  Use tune2fs -c or -i to override.


请高手指教,我头晕的很~~~

论坛徽章:
0
2 [报告]
发表于 2006-04-14 18:39 |只看该作者
没人帮我,只好自己苦解。
半夜得出,是raid卡的第二个接口连接的第二个硬盘出了问题
而且必须做2个raid阵列,一个阵列感觉硬盘容量不能超过1.5T
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

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

清除 Cookies - ChinaUnix - Archiver - WAP - TOP