[dm-devel] multipath feature sticks

Jie Gao J.Gao at isu.usyd.edu.au
Mon Sep 11 00:34:50 UTC 2006


Hi All

Redhat Enterprise Linux AS update 4 patched up-to-date:
2.6.9-42.0.2.ELsmp #1 SMP Thu Aug 17 17:57:31 EDT 2006 x86_64 x86_64 x86_64 GNU/Linux
-------------------------------------------------------------------------------------

I have the following in my multipath.conf:

> grep no_path_retry /etc/multipath.conf
        no_path_retry           60
#       no_path_retry           fail
#       no_path_retry           queue
        no_path_retry           60
                no_path_retry           60
                no_path_retry           60
#               no_path_retry           5
#               no_path_retry           queue

As you can see, I had "no_path_retry queue" before and I have
since changed it to "no_path_retry 60".

The problem is that the value of "queue" somehow sticks:

> multipath -ll
3600d02300067d2b107ad9a43303d8200
[size=390 GB][features="1 queue_if_no_path"][hwhandler="0"]
\_ round-robin 0 [active]
 \_ 1:0:0:1 sdb 8:16 [active][ready]
 \_ 2:0:0:1 sdd 8:48 [active][ready]

3600d02300067d2f707d12552c2821300
[size=390 GB][features="1 queue_if_no_path"][hwhandler="0"]
\_ round-robin 0 [active]
 \_ 1:0:1:1 sdc 8:32 [active][ready]
 \_ 2:0:1:1 sde 8:64 [active][ready]

Rebooting does not solve this problem.

> dmsetup table
www_vg_01-www_lv_01: 0 314572800 linear 9:1 384
3600d02300067d2b107ad9a43303d8200: 0 819200000 multipath 1 queue_if_no_path 0 1 1 round-robin 0 2 1 8:16
100 8:48 100
3600d02300067d2f707d12552c2821300: 0 819200000 multipath 1 queue_if_no_path 0 1 1 round-robin 0 2 1 8:32
100 8:64 100

I know I can use dmsetup to reset it, but problem is there seems to
only two values that can be used with dmsetup: either queue_if_no_path
or fail_if_no_path; and the value does not stay across reboot.

Anybody can help?

Regards,



Jie




More information about the dm-devel mailing list