|
发表于 2006-8-15 19:57:01
|
显示全部楼层
我也在想这个config文件的问题,
[[root@ckj ~]# cat /proc/mdstat
Personalities : [raid5]
md0 : active raid5 hda7[0] hda9[2] hda8[1]
995584 blocks level 5, 128k chunk, algorithm 2 [3/3] [UUU]
unused devices: <none>
[root@ckj ~]# mdadm -Ds>/etc/mdadm.conf
[root@ckj ~]# cat /etc/mdadm.conf
ARRAY /dev/md0 level=raid5 num-devices=3 UUID=f4df56c5:288df3d3:2e26d630:39c89442
三个空格devices=/dev/hda7,/dev/hda8,/dev/hda9
[root@ckj ~]# mdadm -S /dev/md0
[root@ckj ~]# mdadm -As
mdadm: no devices found for /dev/md0
[root@ckj ~]# mdadm -A /dev/md0 /dev/hda7 /dev/hda8 /dev/hda9
mdadm: /dev/md0 has been started with 3 drives.
[root@ckj ~]# cat /proc/mdstat
Personalities : [raid5]
md0 : active raid5 hda7[0] hda9[2] hda8[1]
995584 blocks level 5, 128k chunk, algorithm 2 [3/3] [UUU]
unused devices: <none>
依靠那个conf文件, mdadm -As 就报错....不懂.....手动 mdadm -A /dev/md0 /dev/hda7 /dev/hda8 /dev/hda9 就可以.......
在研究中郁闷中........ |
|