diff options
author | John Pittman <jpittman@redhat.com> | 2018-07-08 13:21:56 -0400 |
---|---|---|
committer | Bryn M. Reeves <bmr@redhat.com> | 2018-09-03 16:51:37 +0100 |
commit | e89c7f7744ac4b39956ef3122cdb1489d2676664 (patch) | |
tree | 3b9ed1c36a845187966a73f63d5b62c432938c92 /tests/importer_tests.py | |
parent | 1cd7711480deae0b12792411f21831d136c61c0c (diff) | |
download | sos-e89c7f7744ac4b39956ef3122cdb1489d2676664.tar.gz |
[multipath] use -ll for path checker and prio inclusion
The 'multipath -l' command, per the man page, shows the topology as
'fetched in sysfs and the device mapper' and 'multipath -ll' shows
the topology from 'all available information'. The '-ll' option,
among other things, includes useful items such as prio values and
path checkers, without adding much more verbosity. For example,
prio value ommission seen below:
|-+- policy='service-time 0' prio=0 status=active
| |- 2:0:1:2 sdh 8:112 active undef unknown
| `- 5:0:1:2 sdal 66:80 active undef unknown
`-+- policy='service-time 0' prio=0 status=enabled
|- 2:0:0:2 sdc 8:32 active undef unknown
`- 5:0:0:2 sdag 66:0 active undef unknown
|-+- policy='service-time 0' prio=50 status=active
| |- 2:0:1:2 sdh 8:112 active ready running
| `- 5:0:1:2 sdal 66:80 active ready running
`-+- policy='service-time 0' prio=10 status=enabled
|- 2:0:0:2 sdc 8:32 active ready running
`- 5:0:0:2 sdag 66:0 active ready running
Gather 'multipath -ll' instead of 'multipath -l' as the additional
information adds value without additional verbosity.
Signed-off-by: John Pittman <jpittman@redhat.com>
Diffstat (limited to 'tests/importer_tests.py')
0 files changed, 0 insertions, 0 deletions