- 论坛徽章:
- 0
|
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.
请高手指教,我头晕的很~~~ |
|