Package: multipath-tools
Version: 0.4.9+git0.4dfdaf2b-7~deb7u2
Severity: important
Dear Maintainer,
*** Please consider answering these questions, where appropriate ***
* What led up to the situation?
* What exactly did you do (or not do) that was effective (or
ineffective)?
* What was the outcome of this action?
* What outcome did you expect instead?
*** End of the template - remove these lines ***
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
From: Fanis Dokianakis <[email protected]>
To: Debian Bug Tracking System <[email protected]>
Subject: multipath-tools: The multipath-tools included with debian wheezy hangs
when
a path is missing. Also I/O is paused.
X-Debbugs-Cc: [email protected]
Package: multipath-tools
Version: 0.4.9+git0.4dfdaf2b-7~deb7u2
Severity: important
Dear Maintainer,
I am using a fairly old FC HBA (QLA2342) to connect to a SAN with
two fibers, so the server receives four (4) paths for every LUN.
The SAN storage is a EMC VNX 5300 and I offer one 1 TB LUN to the server.
The server is a clean debian wheezy install, latest updates.
The multipath-tools included with debian wheezy hangs when a path is missing.
Also the I/O is paused (probably queued), which probably means that
also multipathd is paused.
I have tried every possible multipath configuration in the last 2 days and
the problem continued.
The following is my multipath setup
# multipath -ll
mpatha (3600901604410360094b55cdda04be312) dm-0 DGC ,VRAID
size=1.0T features='1 queue_if_no_path' hwhandler='1 emc' wp=rw
|-+- policy='service-time 0' prio=4 status=enabled
| |- 4:0:0:0 sdd 8:48 active ready running
| `- 3:0:0:0 sdb 8:16 active ready running
`-+- policy='service-time 0' prio=1 status=enabled
|- 4:0:1:0 sde 8:64 active ready running
`- 3:0:1:0 sdc 8:32 active ready running
If I disconnect a cable, thus failing 2 paths, then the multipath command
hangs after discovering the device state
# multipath -ll -v 10
...
Nov 15 18:27:52 | sdd: path state = blocked
All I/O is paused then. And the state of the devices is the following.
# cat /sys/block/sd*/device/state
running
running
blocked
blocked
When I reconnect the cable then multipath unhangs and I/O continues.
I have tried every possible configuration compatible with my storage and
the problem persists.
The problem is fixed on the multipath-tools shipping with jessie and a simple
upgrade of the multipath-tools and it's deps resolves everything.
After the upgrade no device state is blocked when a path is missing.
The multipath.conf below is an example since multipathing works
without even a configuration. The package version below are after the patial
upgrade.
Thank you
-- Package-specific info:
Contents of /etc/multipath.conf:
defaults {
user_friendly_names yes
}
blacklist {
devnode "^(ram|raw|loop|fd|md|dm-|sr|scd|st)[0-9]*"
devnode "^hd[a-z][[0-9]*]"
}
devices {
device {
vendor "DGC"
product "*"
path_grouping_policy group_by_prio
hardware_handler "1 emc"
no_path_retry 300
path_checker emc_clariion
failback immediate
}
device {
vendor "EMC"
product "Invista"
path_checker tur
no_path_retry 5
product_blacklist "LUNZ"
}
}
-- System Information:
Debian Release: 7.2
APT prefers stable-updates
APT policy: (500, 'stable-updates'), (500, 'testing'), (500, 'stable')
Architecture: amd64 (x86_64)
Kernel: Linux 3.2.0-4-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=C (charmap=ANSI_X3.4-1968) (ignored: LC_ALL
set to C)
Shell: /bin/sh linked to /bin/dash
Versions of packages multipath-tools depends on:
ii initscripts 2.88dsf-41+deb7u1
ii kpartx 0.4.9+git0.9c3c5172-1
ii libaio1 0.3.109-3
ii libc6 2.17-93
ii libdevmapper1.02.1 2:1.02.74-8
ii libgcc1 1:4.7.2-5
ii libreadline6 6.2+dfsg-0.1
ii libudev1 204-5
ii lsb-base 4.1+Debian8+deb7u1
ii udev 175-7.2
multipath-tools recommends no packages.
Versions of packages multipath-tools suggests:
ii multipath-tools-boot 0.4.9+git0.9c3c5172-1
-- no debconf information
-- System Information:
Debian Release: jessie/sid
APT prefers unstable
APT policy: (500, 'unstable'), (500, 'testing'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386
Kernel: Linux 3.9-1-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
--
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]