LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
查看: 536|回复: 0

raid5 的问题

[复制链接]
发表于 2007-12-5 10:38:05 | 显示全部楼层 |阅读模式
系统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的状态好向没有改变, 仍然是没有恢复?? 不知道这是为什么??
您需要登录后才可以回帖 登录 | 注册

本版积分规则

快速回复 返回顶部 返回列表