Skip to contentSkip to conversation

multipathd failback

DISCUSSION Yonathan Cohen 4 participants 10 messages Oct 25, 2006 – Oct 30, 2006 Device mapper

lore
Share & tools
lore
#0 lore raw

Hello.
My "multipathd" daemon does not FailBack
It does not check the availability of a failed path and of course does not reinstate it My configuration is as follows:
cat /etc/multipath.conf

defaults {

failback immediate
}
I am using the following packages:
multipath-tools-0.4.5-0.11
device-mapper-1.01.01-1.6
I have them installed on a SUSE LINUX Enterprise Server 9 (x86_64) sp-3 With kernel version: 2.6.5-7.244-smp
Please help.
Thanks.

____________________________________________________________

Cohen Yonatan | +972-9-9718607 (o)

Software. Eng, Storage group

Voltaire - _The Grid Backbone_

#1 lore raw

On which Hardware? (HBAs, SAN)?

Quoted 37 lines

-----Ursprüngliche Nachricht-----
Von: [email protected] [mailto:[email protected]] Im Auftrag von Yonathan Cohen
Gesendet: Mittwoch, 25. Oktober 2006 08:50
An: [email protected]
Betreff: [dm-devel] multipathd failback

Hello.
My "multipathd" daemon does not FailBack It does not check the availability of a failed path and of course does not reinstate it My configuration is as follows:
cat /etc/multipath.conf

defaults {

failback immediate
}
I am using the following packages:
multipath-tools-0.4.5-0.11
device-mapper-1.01.01-1.6
I have them installed on a SUSE LINUX Enterprise Server 9 (x86_64) sp-3 With kernel version: 2.6.5-7.244-smp Please help. Thanks.

____________________________________________________________

Cohen Yonatan | +972-9-9718607 (o)

Software. Eng, Storage group

Voltaire - _The Grid Backbone_

--
dm-devel mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/dm-devel

#2 lore raw

sorry but I am not sure what you mean.
I am using an iscsi initiator (linux-iscsi rev 4.2) and this is what the multipathd daemon sees pepper:~ # multipath -l
dm names N
dm table 3600c0ff00000000007c1d167985b4b06 N dm table 3600c0ff00000000007c1d167985b4b06 N dm status 3600c0ff00000000007c1d167985b4b06 N dm info 3600c0ff00000000007c1d167985b4b06 O 3600c0ff00000000007c1d167985b4b06
[size=20 GB][features="0"][hwhandler="0"] \_ round-robin 0 [enabled]
\_ 14:0:0:0 sda 8:0 [failed]
\_ round-robin 0 [active]
\_ 14:1:0:0 sdb 8:16 [active]

sda and sdb are actually the same device discovered by iscsi via 2 different paths. when sda failed multipathd identified the problem and diverted traffic to sdb
but after correcting the sda problem, multipathd did not become aware of this and of course when i failed sdb it did not failback to sda.
i know that multipathd is suppose to poll for failed paths and reinstate them when they become valid. but for some reason it does not.

Quoted 46 lines · Manuel

On which Hardware? (HBAs, SAN)?

Quoted 37 lines

-----Ursprüngliche Nachricht-----
Von: [email protected] [mailto:[email protected]] Im Auftrag von Yonathan Cohen
Gesendet: Mittwoch, 25. Oktober 2006 08:50
An: [email protected]
Betreff: [dm-devel] multipathd failback

Hello.
My "multipathd" daemon does not FailBack It does not check the availability of a failed path and of course does not reinstate it My configuration is as follows:
cat /etc/multipath.conf

defaults {

failback immediate
}
I am using the following packages:
multipath-tools-0.4.5-0.11
device-mapper-1.01.01-1.6
I have them installed on a SUSE LINUX Enterprise Server 9 (x86_64) sp-3 With kernel version: 2.6.5-7.244-smp Please help. Thanks.

____________________________________________________________

Cohen Yonatan | +972-9-9718607 (o)

Software. Eng, Storage group

Voltaire - _The Grid Backbone_

--
dm-devel mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/dm-devel

Signature · 3 lines
dm-devel mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/dm-devel
#3 lore raw

I have no Problem with the failover also with SLES 9 2.6.5-7.244-smp. But i'm not working with the isci initiator.

My Config:
defaults
{
multipath_tool "/sbin/multipath -v0"
udev_dir /dev
polling_interval 5
default_selector "round-robin 0"
default_getuid_callout "/sbin/scsi_id -g -u -s /block/%n"
default_prio_callout "/bin/true"
failback immediate
}
There are newer Multipath tools available:
Im working with: multipath-tools-0.4.5-0.20
(Device Mapper is same)
I recommend to update them first. :)

This one is talking about the same Problem you have.
http://www.querzone.de/wiki/Wiki.jsp?page=EMCClariion
I don't know if this error is clariion specific.

Regards,
Manuel

Quoted 85 lines

-----Ursprüngliche Nachricht-----
Von: [email protected] [mailto:[email protected]] Im Auftrag von Yonathan Cohen
Gesendet: Mittwoch, 25. Oktober 2006 09:22
An: device-mapper development
Betreff: Re: AW: [dm-devel] multipathd failback

sorry but I am not sure what you mean.
I am using an iscsi initiator (linux-iscsi rev 4.2) and this is what the multipathd daemon sees pepper:~ # multipath -l
dm names N
dm table 3600c0ff00000000007c1d167985b4b06 N dm table

3600c0ff00000000007c1d167985b4b06  N dm status 
3600c0ff00000000007c1d167985b4b06  N dm info 
3600c0ff00000000007c1d167985b4b06  O

3600c0ff00000000007c1d167985b4b06
[size=20 GB][features="0"][hwhandler="0"] \_ round-robin 0 [enabled] \_ 14:0:0:0 sda 8:0 [failed] \_ round-robin 0 [active]
\_ 14:1:0:0 sdb 8:16 [active]

sda and sdb are actually the same device discovered by iscsi via 2 different paths.
when sda failed multipathd identified the problem and diverted traffic to sdb but after correcting the sda problem, multipathd did not become aware of this and of course when i failed sdb it did not failback to sda.
i know that multipathd is suppose to poll for failed paths and reinstate them when they become valid.
but for some reason it does not.

Quoted 13 lines · Manuel

On which Hardware? (HBAs, SAN)?

Quoted 10 lines

-----Ursprüngliche Nachricht-----
Von: [email protected] [mailto:[email protected]] Im Auftrag von Yonathan Cohen
Gesendet: Mittwoch, 25. Oktober 2006 08:50
An: [email protected]
Betreff: [dm-devel] multipathd failback

Hello.
My "multipathd" daemon does not FailBack It does not check the availability of a failed path and of course does not

reinstate it My

Quoted 28 lines
Quoted 18 lines

configuration is as follows:
cat /etc/multipath.conf

defaults {

failback immediate
}
I am using the following packages:
multipath-tools-0.4.5-0.11
device-mapper-1.01.01-1.6
I have them installed on a SUSE LINUX Enterprise Server 9 (x86_64) sp-3 With kernel version: 2.6.5-7.244-smp Please help. Thanks.

____________________________________________________________

Cohen Yonatan | +972-9-9718607 (o)

Quoted 9 lines

Software. Eng, Storage group

Voltaire - _The Grid Backbone_

--
dm-devel mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/dm-devel

Quoted 5 lines

--
dm-devel mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/dm-devel

--
dm-devel mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/dm-devel

#4 lore raw

I also have no probelm with failover only with failback but ill try upgrading to multipath-tools-0.4.5-0.20 thanks.

Quoted 118 lines · Manuel

I have no Problem with the failover also with SLES 9 2.6.5-7.244-smp. But i'm not working with the isci initiator.

My Config:
defaults
{
multipath_tool "/sbin/multipath -v0"
udev_dir /dev
polling_interval 5
default_selector "round-robin 0"
default_getuid_callout "/sbin/scsi_id -g -u -s /block/%n"
default_prio_callout "/bin/true"
failback immediate
}
There are newer Multipath tools available:
Im working with: multipath-tools-0.4.5-0.20
(Device Mapper is same)
I recommend to update them first. :)

This one is talking about the same Problem you have.
http://www.querzone.de/wiki/Wiki.jsp?page=EMCClariion
I don't know if this error is clariion specific.

Regards,
Manuel

Quoted 85 lines

-----Ursprüngliche Nachricht-----
Von: [email protected] [mailto:[email protected]] Im Auftrag von Yonathan Cohen
Gesendet: Mittwoch, 25. Oktober 2006 09:22
An: device-mapper development
Betreff: Re: AW: [dm-devel] multipathd failback

sorry but I am not sure what you mean.
I am using an iscsi initiator (linux-iscsi rev 4.2) and this is what the multipathd daemon sees pepper:~ # multipath -l
dm names N
dm table 3600c0ff00000000007c1d167985b4b06 N dm table

3600c0ff00000000007c1d167985b4b06  N dm status
3600c0ff00000000007c1d167985b4b06  N dm info
3600c0ff00000000007c1d167985b4b06  O

3600c0ff00000000007c1d167985b4b06
[size=20 GB][features="0"][hwhandler="0"] \_ round-robin 0 [enabled] \_ 14:0:0:0 sda 8:0 [failed] \_ round-robin 0 [active]
\_ 14:1:0:0 sdb 8:16 [active]

sda and sdb are actually the same device discovered by iscsi via 2 different paths.
when sda failed multipathd identified the problem and diverted traffic to sdb but after correcting the sda problem, multipathd did not become aware of this and of course when i failed sdb it did not failback to sda.
i know that multipathd is suppose to poll for failed paths and reinstate them when they become valid.
but for some reason it does not.

Quoted 13 lines · Manuel

On which Hardware? (HBAs, SAN)?

Quoted 10 lines

-----Ursprüngliche Nachricht-----
Von: [email protected] [mailto:[email protected]] Im Auftrag von Yonathan Cohen
Gesendet: Mittwoch, 25. Oktober 2006 08:50
An: [email protected]
Betreff: [dm-devel] multipathd failback

Hello.
My "multipathd" daemon does not FailBack It does not check the availability of a failed path and of course does not

reinstate it My

Quoted 28 lines
Quoted 18 lines

configuration is as follows:
cat /etc/multipath.conf

defaults {

failback immediate
}
I am using the following packages:
multipath-tools-0.4.5-0.11
device-mapper-1.01.01-1.6
I have them installed on a SUSE LINUX Enterprise Server 9 (x86_64) sp-3 With kernel version: 2.6.5-7.244-smp Please help. Thanks.

____________________________________________________________

Cohen Yonatan | +972-9-9718607 (o)

Quoted 9 lines

Software. Eng, Storage group

Voltaire - _The Grid Backbone_

--
dm-devel mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/dm-devel

Quoted 5 lines

--
dm-devel mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/dm-devel

--
dm-devel mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/dm-devel

Signature · 3 lines
dm-devel mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/dm-devel
#5 lore raw
In reply to Herr, Manuel

Hello again.
can you please tell me how to upgrade to multipath-tools-0.4.5-0.20
i found multipath-0.4.5.tar.bz2 on the site (http://christophe.varoqui.free.fr/multipath-tools/ ) but i guess that multipath-tools-0.4.5-0.20 is after applying some patches
if so can you tell me which ones ?
thanks.

Quoted 118 lines · Manuel

I have no Problem with the failover also with SLES 9 2.6.5-7.244-smp. But i'm not working with the isci initiator.

My Config:
defaults
{
multipath_tool "/sbin/multipath -v0"
udev_dir /dev
polling_interval 5
default_selector "round-robin 0"
default_getuid_callout "/sbin/scsi_id -g -u -s /block/%n"
default_prio_callout "/bin/true"
failback immediate
}
There are newer Multipath tools available:
Im working with: multipath-tools-0.4.5-0.20
(Device Mapper is same)
I recommend to update them first. :)

This one is talking about the same Problem you have.
http://www.querzone.de/wiki/Wiki.jsp?page=EMCClariion
I don't know if this error is clariion specific.

Regards,
Manuel

Quoted 85 lines

-----Ursprüngliche Nachricht-----
Von: [email protected] [mailto:[email protected]] Im Auftrag von Yonathan Cohen
Gesendet: Mittwoch, 25. Oktober 2006 09:22
An: device-mapper development
Betreff: Re: AW: [dm-devel] multipathd failback

sorry but I am not sure what you mean.
I am using an iscsi initiator (linux-iscsi rev 4.2) and this is what the multipathd daemon sees pepper:~ # multipath -l
dm names N
dm table 3600c0ff00000000007c1d167985b4b06 N dm table

3600c0ff00000000007c1d167985b4b06  N dm status
3600c0ff00000000007c1d167985b4b06  N dm info
3600c0ff00000000007c1d167985b4b06  O

3600c0ff00000000007c1d167985b4b06
[size=20 GB][features="0"][hwhandler="0"] \_ round-robin 0 [enabled] \_ 14:0:0:0 sda 8:0 [failed] \_ round-robin 0 [active]
\_ 14:1:0:0 sdb 8:16 [active]

sda and sdb are actually the same device discovered by iscsi via 2 different paths.
when sda failed multipathd identified the problem and diverted traffic to sdb but after correcting the sda problem, multipathd did not become aware of this and of course when i failed sdb it did not failback to sda.
i know that multipathd is suppose to poll for failed paths and reinstate them when they become valid.
but for some reason it does not.

Quoted 13 lines · Manuel

On which Hardware? (HBAs, SAN)?

Quoted 10 lines

-----Ursprüngliche Nachricht-----
Von: [email protected] [mailto:[email protected]] Im Auftrag von Yonathan Cohen
Gesendet: Mittwoch, 25. Oktober 2006 08:50
An: [email protected]
Betreff: [dm-devel] multipathd failback

Hello.
My "multipathd" daemon does not FailBack It does not check the availability of a failed path and of course does not

reinstate it My

Quoted 28 lines
Quoted 18 lines

configuration is as follows:
cat /etc/multipath.conf

defaults {

failback immediate
}
I am using the following packages:
multipath-tools-0.4.5-0.11
device-mapper-1.01.01-1.6
I have them installed on a SUSE LINUX Enterprise Server 9 (x86_64) sp-3 With kernel version: 2.6.5-7.244-smp Please help. Thanks.

____________________________________________________________

Cohen Yonatan | +972-9-9718607 (o)

Quoted 9 lines

Software. Eng, Storage group

Voltaire - _The Grid Backbone_

--
dm-devel mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/dm-devel

Quoted 5 lines

--
dm-devel mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/dm-devel

--
dm-devel mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/dm-devel

Signature · 3 lines
dm-devel mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/dm-devel
#6 lore raw

Multipath-tools are supported by Novell. So try to update them with YOU (Yast online update).

Quoted 149 lines

-----Ursprüngliche Nachricht-----
Von: [email protected] [mailto:[email protected]] Im Auftrag von Yonathan Cohen
Gesendet: Sonntag, 29. Oktober 2006 17:26
An: device-mapper development
Betreff: Re: AW: AW: [dm-devel] multipathd failback

Hello again.
can you please tell me how to upgrade to multipath-tools-0.4.5-0.20 i found multipath-0.4.5.tar.bz2 on the site (http://christophe.varoqui.free.fr/multipath-tools/
) but i guess that multipath-tools-0.4.5-0.20 is after applying some patches if so can you tell me which ones ? thanks.

Quoted 2 lines · Manuel

I have no Problem with the failover also with SLES 9

2.6.5-7.244-smp.

Quoted 15 lines

But i'm not working with the isci initiator.

My Config:
defaults
{
multipath_tool "/sbin/multipath -v0"
udev_dir /dev
polling_interval 5
default_selector "round-robin 0"
default_getuid_callout "/sbin/scsi_id -g -u -s /block/%n"
default_prio_callout "/bin/true"
failback immediate
}
There are newer Multipath tools available:
Im working with: multipath-tools-0.4.5-0.20 (Device Mapper

is same) I

Quoted 18 lines

recommend to update them first. :)

This one is talking about the same Problem you have.
http://www.querzone.de/wiki/Wiki.jsp?page=EMCClariion
I don't know if this error is clariion specific.

Regards,
Manuel

Quoted 9 lines

-----Ursprüngliche Nachricht-----
Von: [email protected] [mailto:[email protected]] Im Auftrag von Yonathan Cohen
Gesendet: Mittwoch, 25. Oktober 2006 09:22
An: device-mapper development
Betreff: Re: AW: [dm-devel] multipathd failback

sorry but I am not sure what you mean.
I am using an iscsi initiator (linux-iscsi rev 4.2) and

this is what

Quoted 8 lines
Quoted 8 lines

the multipathd daemon sees pepper:~ # multipath -l
dm names N
dm table 3600c0ff00000000007c1d167985b4b06 N dm table

3600c0ff00000000007c1d167985b4b06  N dm status
3600c0ff00000000007c1d167985b4b06  N dm info
3600c0ff00000000007c1d167985b4b06  O

3600c0ff00000000007c1d167985b4b06
[size=20 GB][features="0"][hwhandler="0"] \_ round-robin

0 [enabled]

Quoted 4 lines
Quoted 4 lines

\_ 14:0:0:0 sda 8:0 [failed] \_ round-robin 0 [active]
\_ 14:1:0:0 sdb 8:16 [active]

sda and sdb are actually the same device discovered by

iscsi via 2

Quoted 3 lines
Quoted 3 lines

different paths.
when sda failed multipathd identified the problem and diverted traffic to sdb but after correcting the sda problem,

multipathd did

Quoted 1 line
Quoted 1 line

not become aware of this and of course when i failed sdb

it did not

Quoted 18 lines
Quoted 18 lines

failback to sda.
i know that multipathd is suppose to poll for failed paths and reinstate them when they become valid.
but for some reason it does not.

Quoted 11 lines · Manuel

On which Hardware? (HBAs, SAN)?

Quoted 8 lines

-----Ursprüngliche Nachricht-----
Von: [email protected] [mailto:[email protected]] Im Auftrag von Yonathan Cohen
Gesendet: Mittwoch, 25. Oktober 2006 08:50
An: [email protected]
Betreff: [dm-devel] multipathd failback

Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines

Hello.
My "multipathd" daemon does not FailBack It does not

check the

Quoted 7 lines
Quoted 7 lines
Quoted 1 line
Quoted 1 line

availability of a failed path and of course does not

reinstate it My

Quoted 5 lines
Quoted 5 lines

configuration is as follows:
cat /etc/multipath.conf

defaults {

Quoted 7 lines
Quoted 7 lines
Quoted 7 lines
Quoted 7 lines

failback immediate
}
I am using the following packages:
multipath-tools-0.4.5-0.11 device-mapper-1.01.01-1.6
I have them installed on a SUSE LINUX Enterprise Server 9 (x86_64) sp-3 With kernel version: 2.6.5-7.244-smp

Please help.

Quoted 28 lines
Quoted 22 lines
Quoted 16 lines
Quoted 6 lines

Thanks.

____________________________________________________________

Cohen Yonatan | +972-9-9718607 (o)

Quoted 9 lines

Software. Eng, Storage group

Voltaire - _The Grid Backbone_

--
dm-devel mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/dm-devel

Quoted 5 lines

--
dm-devel mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/dm-devel

Quoted 5 lines

--
dm-devel mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/dm-devel

Quoted 5 lines

--
dm-devel mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/dm-devel

--
dm-devel mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/dm-devel

#7 lore raw

multipath features

In reply to Yonathan Cohen

I cannot seem to find an answer for this no matter where I look, but if I wanted to queue all IO if there was no path for a LIMITED time before it eventually times out, does a feature exist? Currently I am using "1 queue_if_no_path" but the last thing I want is for a path to be unavailable and have it consume all host resources until the host cannot handle it anymore. Thanks in advance.

Regards,

Peter Koutoupis
Systems Engineer
Xyratex International, Inc.
1804 Centre Point Circle
Suite 112
Naperville, IL 60563 USA
(630)364-7656

#8 lore raw

Re: multipath features

Check multipath.conf.annotated in the source. This will retry n times before failing.

no_path_retry {n}

I have repeatable issues with setting this higher than about 3-5 however, where IO queues (more like blocks) forever, even after failing the path back... requiring a reboot, and resulting in data corruption. YMMV.

/eli

Quoted 22 lines · Peter Koutoupis

I cannot seem to find an answer for this no matter where I look, but if I wanted to queue all IO if there was no path for a LIMITED time before it eventually times out, does a feature exist? Currently I am using "1 queue_if_no_path" but the last thing I want is for a path to be unavailable and have it consume all host resources until the host cannot handle it anymore. Thanks in advance.

Regards,

Peter Koutoupis
Systems Engineer
Xyratex International, Inc.
1804 Centre Point Circle
Suite 112
Naperville, IL 60563 USA
(630)364-7656

--
dm-devel mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/dm-devel

#9 lore raw

RE: multipath features

Thank you very much for your quick response. I can give this a try and tweak it as I go along.

Peter

-----Original Message-----
From: [email protected] [mailto:[email protected]] On Behalf Of Eli Stair
Sent: Wednesday, October 25, 2006 3:53 PM
To: device-mapper development
Subject: Re: [dm-devel] multipath features

Check multipath.conf.annotated in the source. This will retry n times before failing.

    no_path_retry           {n}

I have repeatable issues with setting this higher than about 3-5 however, where IO queues (more like blocks) forever, even after failing the path back... requiring a reboot, and resulting in data corruption. YMMV.

/eli

Quoted 17 lines · Peter Koutoupis

I cannot seem to find an answer for this no matter where I look, but if I wanted to queue all IO if there was no path for a LIMITED time before it eventually times out, does a feature exist? Currently I am using "1 queue_if_no_path" but the last thing I want is for a path to be unavailable and have it consume all host resources until the host cannot handle it anymore. Thanks in advance.

Regards,

Peter Koutoupis
Systems Engineer
Xyratex International, Inc.
1804 Centre Point Circle
Suite 112
Naperville, IL 60563 USA
(630)364-7656

Quoted 5 lines

--
dm-devel mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/dm-devel

--
dm-devel mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/dm-devel