From: Rain Subject: Need you help - multipath question Date: Wed, 29 May 2013 15:37:17 +0800 (CST) Message-ID: <1369813037.39080.YahooMailNeo@web74403.mail.tp2.yahoo.com> Reply-To: Rain , device-mapper development Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============6947060159484882437==" Return-path: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: dm-devel-bounces@redhat.com Errors-To: dm-devel-bounces@redhat.com To: "christophe.varoqui@opensvc.com" , "dm-devel@redhat.com" List-Id: dm-devel.ids --===============6947060159484882437== Content-Type: multipart/alternative; boundary="-1254962548-610987748-1369813037=:39080" ---1254962548-610987748-1369813037=:39080 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Dear Christophe,=0A=0A=C2=A0 =C2=A0 I'm grad multipath-tool help us a lot. = But we got some problem as multipath creation failed. I set the following c= onfigure and can not get twice path. sometime only got one path. That's str= ange. Can you help me out? I just want to get sdm and sdal multipath. Thank= s.=0A=0Aexecutie command steps:=0A1. multipath -F=0A2. multipath -r=0A=0A= =0Amultipath.conf=0Adefaults {=0A=C2=A0 =C2=A0 getuid_callout =C2=A0 =C2=A0= =C2=A0"/lib/udev/scsi_id -g -u /dev/%n"=0A=C2=A0 =C2=A0 prio =C2=A0 =C2=A0= =C2=A0 =C2=A0 =C2=A0 =C2=A0alua=0A=C2=A0 =C2=A0 failback =C2=A0 =C2=A0 =C2= =A0 =C2=A0immediate=0A=C2=A0 =C2=A0 no_path_retry =C2=A0 =C2=A0 =C2=A0 queu= e=0A}=0Ablacklist {=0A=C2=A0 =C2=A0 devnode "*"=0A}=0Ablacklist_exceptions = {=0A=C2=A0 =C2=A0 devnode "sdml"=0A=C2=A0 =C2=A0=C2=A0=C2=A0devnode "sdal"= =0A}=0Adevices {=0A=C2=A0 =C2=A0 device {=0A=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0 =C2=A0 vendor =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0"*"=0A=C2= =A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 product =C2=A0 =C2=A0 = =C2=A0 =C2=A0 "*"=0A=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0= no_path_retry =C2=A0 0=0A=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 = =C2=A0 prio =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0const=0A=C2=A0 =C2=A0 = =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 no_path_retry =C2=A0 fail=0A=C2= =A0 =C2=A0 =C2=A0 =C2=A0 }=0A}=0A=0A=0Aby the way, I got some multipath err= or as below, Is there any question?=0A[64513.680938] end_request: I/O error= , dev dm-3, sector 0=0A[64513.681039] end_request: I/O error, dev dm-3, sec= tor 3907029160=0A[64513.681097] end_request: I/O error, dev dm-3, sector 39= 07029160=0A[64513.681158] end_request: I/O error, dev dm-3, sector 0=0A[645= 13.681265] end_request: I/O error, dev dm-3, sector 0=0A[64513.681325] end_= request: I/O error, dev dm-3, sector 24=0A[64513.694741] device-mapper: mul= tipath: Failing path 67:96.=0A[64513.714079] device-mapper: multipath: Fail= ing path 67:112.=0A[64513.714130] device-mapper: multipath: Failing path 67= :128. ---1254962548-610987748-1369813037=:39080 Content-Type: text/html; charset=utf-8 Content-Transfer-Encoding: quoted-printable
= Dear Christophe,
    I'm grad multi= path-tool help us a lot. But we got some problem as multipath creation fail= ed. I set the following configure and can not get twice path. sometime only= got one path. That's strange. Can you help me out? I just want to get sdm = and sdal multipath. Thanks.

executie command steps:
1. multipath -F
2. multip= ath -r


multipath.conf
defaults {
    getuid_callout  = ;    "/lib/udev/scsi_id -g -u /dev/%n"
  &nb= sp; prio            alua
&nbs= p;   failback        immediate
&nb= sp;   no_path_retry       queue
}
= blacklist {
    devnode "*"
}
blacklist_exceptions {
    devnode "= sdml"
&n= bsp;    devnode "sdal"
}
dev= ices {
    device {
                vendor =          "*"
      =           product         "*"<= /span>
                no_= path_retry   0
          &nbs= p;     prio            const=
                no_path_r= etry   fail
        }
}


by the way, I got some multipath error as below, Is there any question?
[64513.680938] end_request: I/O error, dev d= m-3, sector 0
[64513.681039] end_request: I/O error, dev dm= -3, sector 3907029160
[64513.681097] end_request: I/O error= , dev dm-3, sector 3907029160
[64513.681158] end_request: I= /O error, dev dm-3, sector 0
[64513.681265] end_request: I/= O error, dev dm-3, sector 0
[64513.681325] end_request: I/O= error, dev dm-3, sector 24
[64513.694741] device-mapper: multipath: Failin= g path 67:96.
[64513.714079] device-mapper: multipath: Fail= ing path 67:112.
= [64513.714130] device-mapper: multipath: F= ailing path 67:128.
---1254962548-610987748-1369813037=:39080-- --===============6947060159484882437== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline --===============6947060159484882437==--