[dm-devel] multipathd ignoring dev_loss_tmo setting
Martins, Bruno O
bruno.martins at cgi.com
Fri Mar 1 10:04:52 UTC 2019
On Thu, 2019-02-28 at 13:53 -0600, Benjamin Marzinski wrote:
> On Thu, Feb 28, 2019 at 11:38:22AM +0000, Martins, Bruno O wrote:
> > Hello guys,
> >
> > I am trying to modify /etc/multipath.conf on my system so that the
> > parameter 'dev_loss_tmo' is changed from the default value.
> >
> > However, when checking the value currently in use I am getting the
> > wrong value (which is '30') for some of the remote ports:
> >
>
> Are you sure those rports are used by multipath devices? multipath
> only
> changes dev_loss_tmo for rports associated with a multipath path
> device.
>
> -Ben
>
> > for f in /sys/class/fc_remote_ports/rport-*/dev_loss_tmo; do
> > d=$(dirname $f); echo $(basename $d):$(cat $d/node_name):$(cat $f);
> > done
> >
> > rport-3:0-0:0x5742b0f00007c500:10
> > rport-3:0-1:0x5742b0f00007c500:10
> > rport-3:0-2:0x5742b0f00007c500:10
> > rport-3:0-3:0x5000097408369800:30
> > rport-3:0-4:0x500009757804cbff:30
> > rport-4:0-0:0x5742b0f00007c500:10
> > rport-4:0-1:0x5742b0f00007c500:10
> > rport-4:0-2:0x5000097408369800:30
> > rport-4:0-3:0x5742b0f00007c500:10
> > rport-4:0-4:0x500009757804cbff:30
> > rport-5:0-0:0x5742b0f00007c500:10
> > rport-5:0-1:0x5742b0f00007c500:10
> > rport-5:0-2:0x5742b0f00007c500:10
> > rport-5:0-3:0x5000097408369800:30
> > rport-5:0-4:0x500009757804cbff:30
> > rport-6:0-0:0x5742b0f00007c500:10
> > rport-6:0-1:0x5742b0f00007c500:10
> > rport-6:0-2:0x5000097408369800:30
> > rport-6:0-3:0x5742b0f00007c500:10
> > rport-6:0-4:0x500009757804cbff:30
> >
> > systool is giving me the same information:
> >
> > systool -c fc_remote_ports -v | grep dev_loss_tmo
> >
> > dev_loss_tmo = "10"
> > dev_loss_tmo = "10"
> > dev_loss_tmo = "10"
> > dev_loss_tmo = "10"
> > dev_loss_tmo = "10"
> > dev_loss_tmo = "10"
> > dev_loss_tmo = "10"
> > dev_loss_tmo = "10"
> > dev_loss_tmo = "10"
> > dev_loss_tmo = "30"
> > dev_loss_tmo = "10"
> > dev_loss_tmo = "30"
> > dev_loss_tmo = "30"
> > dev_loss_tmo = "10"
> > dev_loss_tmo = "30"
> > dev_loss_tmo = "10"
> > dev_loss_tmo = "30"
> > dev_loss_tmo = "30"
> > dev_loss_tmo = "30"
> > dev_loss_tmo = "30"
> >
> > Where is this value coming from? May this be a bug? I couldn't find
> > anything useful on the Internet regarding this.
> >
> > I am using the following versions:
> >
> > rpm -qa multipath-tools
> > multipath-tools-0.4.9-109.1
> >
> > uname -a
> > Linux mysystem 3.0.101-63-default #1 SMP Tue Jun 23 16:02:31 UTC
> > 2015
> > (4b89d0c) x86_64 x86_64 x86_64 GNU/Linux
> >
> > Thanks for your help!
> >
> > Kind regards,
> >
> > Bruno
> >
> > --
> > dm-devel mailing list
> > dm-devel at redhat.com
> >
> > https://www.redhat.com/mailman/listinfo/dm-devel
> >
Hi Benjamin,
Thanks for your reply!
I believe they are:
[ 10:02:45 ] root at myhost:~# multipath -ll | grep 3:0:3
|- 3:0:3:12 sdblc 128:1568 active ready running
|- 3:0:3:13 sdbnu 132:1664 active ready running
|- 3:0:3:18 sdbre 66:1792 active ready running
|- 3:0:3:1 sdbkg 70:1728 active ready running
|- 3:0:3:2 sdbnv 132:1680 active ready running
|- 3:0:3:20 sdbrg 66:1824 active ready running
|- 3:0:3:17 sdbpg 134:1760 active ready running
|- 3:0:3:16 sdbpf 134:1744 active ready running
|- 3:0:3:11 sdbkf 70:1712 active ready running
|- 3:0:3:19 sdbrf 66:1808 active ready running
|- 3:0:3:14 sdbnw 132:1696 active ready running
|- 3:0:3:15 sdbpe 134:1728 active ready running
Is this the best way to check that information?
BR,
More information about the dm-devel
mailing list