mirror_zfs/cmd
Ned Bass 2a152383a2 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-04-20 12:10:55 -07:00
..
arc_summary Correct arc_summary and dbufstat python style 2017-03-09 10:21:59 -08:00
arcstat Correct exit code for dbufstat -v and arcstat -v 2016-10-06 10:52:21 -07:00
dbufstat Correct arc_summary and dbufstat python style 2017-03-09 10:21:59 -08:00
fsck_zfs Add /sbin/fsck.zfs helper 2013-01-09 16:54:58 -08:00
mount_zfs Use cstyle -cpP in make cstyle check 2016-12-12 10:46:26 -08:00
raidz_test Fix "undefined reference to xdr_control" when building raidz_test cmd 2017-03-28 10:47:50 -07:00
vdev_id vdev_id: fix failure due to multipath -l bug 2017-04-20 12:10:55 -07:00
zdb OpenZFS 6392 - zdb: introduce -V for verbatim import 2017-04-18 09:50:15 -07:00
zed Add missing includes to zed_log.c 2017-04-12 08:57:25 -07:00
zfs Allow bookmark short name in 'zfs bookmark' 2017-04-20 12:09:40 -07:00
zhack Fix zhack argument processing 2016-08-31 14:32:46 -07:00
zinject Fix spelling 2017-01-03 11:31:18 -06:00
zpios Fix spelling 2017-01-03 11:31:18 -06:00
zpool Invalidate cache during a zpool labelclear 2017-04-13 09:13:51 -07:00
zstreamdump zstreamdump needs to initialize fletcher 4 support 2016-11-29 14:47:05 -07:00
ztest Rename zfs_* functions 2017-03-10 09:51:35 -08:00
zvol_id OpenZFS 6314 - buffer overflow in dsl_dataset_name 2016-06-28 13:47:03 -07:00
Makefile.am SIMD implementation of vdev_raidz generate and reconstruct routines 2016-06-21 09:27:26 -07:00