|
|
系统redhat5
嗯? 我 使用了三块硬盘来创建raid5
mdadm -C --level=raid5 --raid-devices=3 /dev/hdb1 /dev/hdc1 /dev/hdd1
在创建之后, 系统提示信息是这样的. 但是我并不知道那个设备是活跃的,哪个设备是备份的.
[root@localhost ~]# cat /proc/mdstat
Personalities : [raid6] [raid5] [raid4]
md0 : active raid5 hdd1[2] hdc1[1] hdb1[0] (不知道谁是活跃谁是备份的??)
4194048 blocks level 5, 64k chunk, algorithm 2 [3/3] [UUU]
之后, 我又使用了 命令
[root@localhost ~]# mdadm /dev/md0 -f /dev/hdb1 将/dev/hdb1 模拟损坏
这时,我在察看raid的系统, 系统提示:
[root@localhost ~]# cat /proc/mdstat
Personalities : [raid6] [raid5] [raid4]
md0 : active raid5 hdd1[2] hdc1[1] hdb1[3](F)
4194048 blocks level 5, 64k chunk, algorithm 2 [3/2] [_UU]
于是我就等了1分多种, 发现raid的状态好向没有改变, 仍然是没有恢复?? 不知道这是为什么?? |
|