HomeFreeBSD

Fix multipath bug in vdev_id caused by inconsistent field numbering

Description

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

Details

Provenance
Simon Guest <Simon Guest simon.guest@agresearch.co.nz>Authored on Dec 9 2013, 4:20 AM
Brian Behlendorf <behlendorf1@llnl.gov>Committed on Dec 10 2013, 5:58 PM
Parents
rGb6e335bfc489: Revert "Use directory xattrs for symlinks"
Branches
Unknown
Tags
Unknown

Event Timeline

Brian Behlendorf <behlendorf1@llnl.gov> committed rG383efa5743ec: Fix multipath bug in vdev_id caused by inconsistent field numbering (authored by Simon Guest <Simon Guest simon.guest@agresearch.co.nz>).Dec 10 2013, 5:58 PM