Skip to contentSkip to conversation

multipath-tools: missing internal values (multipath -t)

BUG Xose Vazquez Perez 3 participants 6 messages Apr 25, 2017 – Sep 22, 2017 Device mapper

lore
Share & tools
lore
#0 lore raw

Hi,

These values:
no_path_retry
dev_loss_tmo
reservation_key
partition_delimite
delay_watch_checks
delay_wait_checks
are missing from the "defaults section" of multipath -t output.

#1 lore raw
Quoted 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_checks
delay_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

#2 lore raw

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_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_checks
delay_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

--
dm-devel mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/dm-devel

#3 lore raw
Quoted 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_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>

> 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.

> reservation_key

The default here is nothing

reservation_key <undef>

probably makes the most sense

> partition_delimite

The default here is an empty string

partition_delm ""

is probably the right answer.

> delay_watch_checks
> delay_wait_checks

These 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-devel

References

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

#4 lore raw
In reply to Christophe Varoqui
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'.

#5 lore raw
In reply to Xose Vazquez Perez
Quoted 8 lines · Xose Vazquez Perez

These values:
no_path_retry
dev_loss_tmo
reservation_key
partition_delimite
delay_watch_checks
delay_wait_checks
are missing from the "defaults section" of multipath -t output.

It still happens in 0.7.3