[dm-devel] FailOver works but FailBack does not.

Yonathan Cohen yonic at voltaire.com
Sun Oct 29 16:14:40 UTC 2006


Hello.
I am using multipath-tools for sles9 sp3 ( multipath-tools-0.4.5-0.11 )
I am using the following configuration file
defaults {
        polling_interval 5
        udev_dir /dev
        default_path_grouping_policy failover
        rr_weight priorities
        failback                        10
}

devices {
        device {
                vendor                          "DotHill"
                product                         "SANnet II FC"
                getuid_callout           "/sbin/scsi_id -g -u -s /block/%n"
                path_checker            readsector0
                path_selector           "round-robin 0"
                features                        "1 queue_if_no_path"
                hardware_handler        "0"
                failback                        10
        }
}

i got 2 paths lined up to the same lun
pepper:~ # multipath -l
dm names   N
dm table 3600c0ff00000000007c1d167985b4b07  N
dm table 3600c0ff00000000007c1d167985b4b07  N
dm status 3600c0ff00000000007c1d167985b4b07  N
dm info 3600c0ff00000000007c1d167985b4b07  O
3600c0ff00000000007c1d167985b4b07
[size=28 GB][features="1 queue_if_no_path"][hwhandler="0"]
\_ round-robin 0 [active]
 \_ 4:0:0:0 sda 8:0  [active][ready]
\_ round-robin 0 [enabled]
 \_ 4:1:0:0 sdb 8:16 [active][ready]

failover works great when i fail path 8:0
but when i reactivate it for some reason the deamon does not reinstate it.
only after i invoke
multipath -v 2
do i see the message
reinstate 8:0
which is odd since "multipath -v 2" is suppose to only print topology
can any one please help.
thanks.




More information about the dm-devel mailing list