zfs/cmd
Simon Guest 383efa5743 Fix multipath bug in vdev_id caused by inconsistent field numbering
The bug is caused by multipath output like this:

35000c50056bd77a7 dm-15 HP,MB3000FCWDH
size=2.7T features='0' hwhandler='0' wp=rw
|-+- policy='round-robin 0' prio=0 status=active
| `- 2:0:16:0 sdq  65:0    active undef running
`-+- policy='round-robin 0' prio=0 status=enabled
  `- 4:0:52:0 sdfp 130:176 active undef running

Note that the pipe symbols mean that the field numbering is different
between the sdq and sdfp lines.  The fix edits out the pipe symbols.

Signed-off-by: Ned Bass <bass6@llnl.gov>
Signed-off-by: Brian Behlendorf <behlendorf1@llnl.gov>
Closes #1692
2013-12-10 09:58:35 -08:00
..
arcstat Python 3 fixes 2013-11-08 14:30:29 -08:00
dbufstat Python 3 fixes 2013-11-08 14:30:29 -08:00
fsck_zfs Add /sbin/fsck.zfs helper 2013-01-09 16:54:58 -08:00
mount_zfs Add missing libzfs_core to Makefiles 2013-11-20 15:44:15 -08:00
vdev_id Fix multipath bug in vdev_id caused by inconsistent field numbering 2013-12-10 09:58:35 -08:00
zdb Add missing libzfs_core to Makefiles 2013-11-20 15:44:15 -08:00
zfs Illumos #2583 2013-11-21 11:13:53 -08:00
zhack Add missing libzfs_core to Makefiles 2013-11-20 15:44:15 -08:00
zinject Add missing libzfs_core to Makefiles 2013-11-20 15:44:15 -08:00
zpios Refresh links to web site 2013-03-06 15:46:41 -08:00
zpool Drive database update 2013-12-02 14:07:26 -08:00
zstreamdump Add missing libzfs_core to Makefiles 2013-11-20 15:44:15 -08:00
ztest Add missing libzfs_core to Makefiles 2013-11-20 15:44:15 -08:00
zvol_id Remove autotools products 2012-08-27 11:47:44 -07:00
Makefile.am Add dbufstat.py command 2013-10-25 14:52:45 -07:00