- 论坛徽章:
- 0
|
本帖最后由 whoiswhoz 于 2010-10-27 15:55 编辑
我通过iscsi的方式共享了2块硬盘。但~~使用multipath的failover
[root@localhost ~]# multipath -ll
yellow (1494554000000000000000000010000000000000002000000) dm-2 IET,VIRTUAL-DISK
[size=932G][features=1 queue_if_no_path][hwhandler=0]
\_ round-robin 0 [prio=1][active]
\_ 3:0:0:0 sdc 8:32 [active][ready]
\_ round-robin 0 [prio=1][enabled]
\_ 2:0:0:0 sdb 8:16 [active][ready]
当前写到/dev/mapper/yellow实际是写到/dev/sdc的,当我把sdc的链路切断以后。failover没有实现。没有写到sdb中去。
配置文件是
multipaths {
multipath {
wwid 1494554000000000000000000010000000000000002000000
alias yellow
path_grouping_policy failover
path_checker readsector0
path_selector "round-robin 0"
failback manual
rr_weight priorities
no_path_retry 5
}
}
是我配置出错还是对failover的理解有误 |
|