zfs/cmd
Ned Bass 36ccb9db43 vdev_id: fix failure due to multipath -l bug
Udev may fail to create the expected symbolic links in
/dev/disk/by-vdev on systems with the
device-mapper-multipath-0.4.9-100.el6 package installed. This affects
RHEL 6.9 and possibly other downstream distributions.

That version of the multipath command may incorrectly list a drive
state as "unkown" instead of "running". The issue was introduced
in the patch for https://bugzilla.redhat.com/show_bug.cgi?id=1401769

The vdev_id udev helper uses the state reported by "multipath -l" to
detect an online component disk of a multipath device in order to
resolve its physical slot and enclosure. Changing the command
invocation to "multipath -ll" works around the above issue by causing
multipath to consult additional sources of information to determine
the drive state.

Reviewed-by: Tony Hutter <hutter2@llnl.gov>
Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Reviewed-by: Giuseppe Di Natale <dinatale2@llnl.gov>
Signed-off-by: Ned Bass <bass6@llnl.gov>
Closes #6039
2017-06-09 14:05:15 -07:00
..
arc_summary Make arc_summary.py and dbufstat.py compatible with python3 2016-01-29 09:52:12 -08:00
arcstat Update arcstat.py to remove deprecated rmis reference. 2015-12-23 17:29:34 -08:00
dbufstat Make arc_summary.py and dbufstat.py compatible with python3 2016-01-29 09:52:12 -08:00
fsck_zfs Add /sbin/fsck.zfs helper 2013-01-09 16:54:58 -08:00
mount_zfs Make zfs mount according to relatime config in dataset 2017-02-03 11:58:19 -08:00
vdev_id vdev_id: fix failure due to multipath -l bug 2017-06-09 14:05:15 -07:00
zdb zdb: segfault in dump_bpobj_subobjs() 2017-06-09 14:05:15 -07:00
zed Rework zed_notify_email for configurable PROG/OPTS 2015-07-30 11:52:56 -07:00
zfs Allow ZVOL bookmarks to be listed recursively 2017-06-09 14:05:15 -07:00
zhack Support parallel build trees (VPATH builds) 2015-07-17 13:42:51 -07:00
zinject Support parallel build trees (VPATH builds) 2015-07-17 13:42:51 -07:00
zpios Support parallel build trees (VPATH builds) 2015-07-17 13:42:51 -07:00
zpool Use udev for partition detection 2016-05-06 18:22:34 -04:00
zstreamdump Support parallel build trees (VPATH builds) 2015-07-17 13:42:51 -07:00
ztest Add dbgmsg kstat 2015-09-04 16:08:14 -07:00
zvol_id Support parallel build trees (VPATH builds) 2015-07-17 13:42:51 -07:00
Makefile.am Install arc_summary.py 2015-03-03 13:38:17 -08:00