multipath-tools: missing internal values (multipath -t)
Hi,
These values:no_path_retrydev_loss_tmoreservation_keypartition_delimitedelay_watch_checksdelay_wait_checks
are missing from the "defaults section" of multipath -t output.
Benjamin Marzinski
maintainerQuoted 3 lines · Xose Vazquez Perez
Hi,
These values:
What do you think of these?
Quoted 1 line
no_path_retry
The default if no_path_retry is set is to use the features line to determine what to do when there are no paths. we could have it print something like
no_path_retry <undef>
Quoted 1 line
dev_loss_tmo
The default here is to keep whatever the sysfs value currently is. We could print
dev_loss_tmo <undef>
or
dev_loss_tmo <sysfs>
or something else. I'm open to ideas.
Quoted 1 line
reservation_key
The default here is nothing
reservation_key <undef>
probably makes the most sense
Quoted 1 line
partition_delimite
The default here is an empty string
partition_delm ""
is probably the right answer.
Quoted 2 lines
delay_watch_checksdelay_wait_checks
These clearly have well defined default values and should be set.
-Ben
Quoted 5 lines
are missing from the "defaults section" of multipath -t output. --
dm-devel mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/dm-devel
Hi,
The config outputed should be usable, so a comment could be printed for the keywords you suggest printing <undef> as the default for.
Example:
# no_path_retry <comment explaining the contextual default behaviour>
or simply
# no_path_retry <contextual, see man page>
Quoted 62 lines · Benjamin Marzinski
Quoted 3 lines · Xose Vazquez Perez
Hi,
These values:
What do you think of these?
Quoted 1 line
no_path_retryThe default if
no_path_retryis set is to use the features line to determine what to do when there are no paths. we could have it print something like
no_path_retry<undef>Quoted 1 line
dev_loss_tmoThe default here is to keep whatever the sysfs value currently is. We could print
dev_loss_tmo<undef>or
dev_loss_tmo<sysfs>or something else. I'm open to ideas.
Quoted 1 line
reservation_keyThe default here is nothing
reservation_key<undef>probably makes the most sense
Quoted 1 line
partition_delimiteThe default here is an empty string
partition_delm""is probably the right answer.
Quoted 2 lines
delay_watch_checksdelay_wait_checksThese clearly have well defined default values and should be set.
-Ben
Quoted 5 lines
are missing from the "defaults section" of multipath -t output. --
dm-devel mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/dm-devel--
dm-devel mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/dm-devel
Benjamin Marzinski
maintainerQuoted 7 lines · Christophe Varoqui
Hi,
The config outputed should be usable, so a comment could be printed for the keywords you suggest printing <undef> as the default for. Example:
# no_path_retry <comment explaining the contextual default behaviour> or simply# no_path_retry <contextual, see man page>
Makes sense.
Thanks
-Ben
Quoted 71 lines
On Tue, Apr 25, 2017 at 8:42 PM, Benjamin Marzinski <[1][email protected]> wrote:
On Tue, Apr 25, 2017 at 04:26:06PM +0200, Xose Vazquez Perez wrote:
> Hi,
>
> These values:What do you think of these?
>no_path_retryThe default if
no_path_retryis set is to use the features line to determine what to do when there are no paths. we could have it print something like
no_path_retry<undef>>
dev_loss_tmoThe default here is to keep whatever the sysfs value currently is. We could print
dev_loss_tmo<undef>or
dev_loss_tmo<sysfs>or something else. I'm open to ideas.
>
reservation_keyThe default here is nothing
reservation_key<undef>probably makes the most sense
>
partition_delimiteThe default here is an empty string
partition_delm""is probably the right answer.
>
delay_watch_checks
>delay_wait_checksThese clearly have well defined default values and should be set.
-Ben
> are missing from the "defaults section" of multipath -t output. > --
> dm-devel mailing list
> [2][email protected]
> [3]https://www.redhat.com/mailman/listinfo/dm-devel--
dm-devel mailing list [4][email protected] [5]https://www.redhat.com/mailman/listinfo/dm-develReferences
Visible links
1. mailto:[email protected]
2. mailto:[email protected]
3. https://www.redhat.com/mailman/listinfo/dm-devel
4. mailto:[email protected]
5. https://www.redhat.com/mailman/listinfo/dm-devel
Quoted 9 lines · Christophe Varoqui
The config outputed should be usable, so a comment could be printed for the keywords you suggest printing <undef> as the default for.
Example:
# no_path_retry <comment explaining the contextual default behaviour>or simply
# no_path_retry <contextual, see man page>
Undefined values should be replaced by "", but this is not the case for 'no_path_retry'.
Quoted 8 lines · Xose Vazquez Perez
These values:
no_path_retrydev_loss_tmoreservation_keypartition_delimitedelay_watch_checksdelay_wait_checks
are missing from the "defaults section" of multipath -t output.
It still happens in 0.7.3