efd38c93e9
Modify multipath.conf * remove getuid_callout example Re-add 0050-RH-listing-speedup.patch Add 0081-RHBZ-1066264-check-prefix-on-rename.patch * make multipath check the prefix on kpartx partitions during rename, and copy the existing behaviour Add 0082-UPBZ-1109995-no-sync-turs-on-pthread_cancel.patch * If async tur checker fails on threads, don't retry with the sync version Add 0083-RHBZ-1080055-orphan-paths-on-reload.patch * Fix case where pathlist wasn't getting updated properly Add 0084-RHBZ-1110000-multipath-man.patch * fix errors in multipath man page Add 0085-UPBZ-1110006-datacore-config.patch * Add support for DataCore Virtual Disk Add 0086-RHBZ-1110007-orphan-path-on-failed-add.patch * If multipathd fails to add path correctly, it now fully orphans the path Add 0087-RHBZ-1110013-config-error-checking.patch * Improve multipath.conf error checking. Add 0088-RHBZ-1069811-configurable-prio-timeout.patch * checker_timeout now adjusts the timeouts of the prioritizers as well. Add 0089-RHBZ-1110016-add-noasync-option.patch * Add a new defaults option, "force_sync", that disables the async mode of the path checkers. This is for cases where to many parallel checkers hog the cpu Add 0090-UPBZ-1080038-reorder-paths-for-round-robin.patch * make multipathd order paths for better throughput in round-robin mode Add 0091-RHBZ-1069584-fix-empty-values-fast-io-fail-and-dev-loss.patch * check for null pointers in configuration reading code. Add 0092-UPBZ-1104605-reload-on-rename.patch * Reload table on rename if necessary Add 0093-UPBZ-1086825-user-friendly-name-remap.patch * Keep existing user_friend_name if possible Add 0094-RHBZ-1086825-cleanup-remap.patch * Cleanup issues with upstream patch Add 0095-RHBZ-1127944-xtremIO-config.patch * Add support for EMC ExtremIO devices Add 0096-RHBZ-979474-new-wildcards.patch * Add N, n, R, and r path wildcards to print World Wide ids Add 0097-RH-fix-coverity-errors.patch * Fix a number of unterminated strings and memory leaks on failure paths. Add 0098-UPBZ-1067171-mutipath-i.patch * Add -i option to ignore wwids file when checking for valid paths Add 0099-RH-add-all-devs.patch * Add new devices config option all_devs. This makes the configuration overwrite the specified values in all builtin configs Add 0100-RHBZ-1067171-multipath-i-update.patch * make -i work correctly with find_multipaths Add 0101-RH-adapter-name-wildcard.patch * Add 'a' path wildcard to print adapter name
102 lines
3.6 KiB
Diff
102 lines
3.6 KiB
Diff
---
|
|
libmultipath/prioritizers/alua.c | 4 ++--
|
|
multipathd/multipathd.8 | 37 +++++++++++++++++++++++++++++++++----
|
|
2 files changed, 35 insertions(+), 6 deletions(-)
|
|
|
|
Index: multipath-tools-130222/multipathd/multipathd.8
|
|
===================================================================
|
|
--- multipath-tools-130222.orig/multipathd/multipathd.8
|
|
+++ multipath-tools-130222/multipathd/multipathd.8
|
|
@@ -42,6 +42,9 @@ format wildcards.
|
|
.B list|show maps|multipaths
|
|
Show the multipath devices that the multipathd is monitoring.
|
|
.TP
|
|
+.B list|show daemon
|
|
+Show the current state of the multipathd daemon
|
|
+.TP
|
|
.B list|show maps|multipaths format $format
|
|
Show the status of all multipath devices that the multipathd is monitoring,
|
|
using a format string with multipath format wildcards.
|
|
@@ -83,16 +86,16 @@ Add a path to the list of monitored path
|
|
.B remove|del path $path
|
|
Stop monitoring a path. $path is as listed in /sys/block (e.g. sda).
|
|
.TP
|
|
-.B add map $map
|
|
+.B add map|multipath $map
|
|
Add a multipath device to the list of monitored devices. $map can either be a device-mapper device as listed in /sys/block (e.g. dm-0) or it can be the alias for the multipath device (e.g. mpath1) or the uid of the multipath device (e.g. 36005076303ffc56200000000000010aa).
|
|
.TP
|
|
-.B remove|del map $map
|
|
+.B remove|del map|multipath $map
|
|
Stop monitoring a multipath device.
|
|
.TP
|
|
.B resize map|multipath $map
|
|
Resizes map $map to the given size
|
|
.TP
|
|
-.B switch|switchgroup map $map group $group
|
|
+.B switch|switchgroup map|multipath $map group $group
|
|
Force a multipath device to switch to a specific path group. $group is the path group index, starting with 1.
|
|
.TP
|
|
.B reconfigure
|
|
@@ -104,6 +107,13 @@ Sets map $map into suspend state.
|
|
.B resume map|multipath $map
|
|
Resumes map $map from suspend state.
|
|
.TP
|
|
+.B reset map|multipath $map
|
|
+Reassign existing device-mapper table(s) use use the multipath device, instead
|
|
+of its path devices.
|
|
+.TP
|
|
+.B reload map|multipath $map
|
|
+Reload a multipath device.
|
|
+.TP
|
|
.B fail path $path
|
|
Sets path $path into failed state.
|
|
.TP
|
|
@@ -120,10 +130,29 @@ Restore queueing on all multipath device
|
|
Disable queuing on multipathed map $map
|
|
.TP
|
|
.B restorequeueing map|multipath $map
|
|
-Restore queuing on multipahted map $map
|
|
+Restore queuing on multipathed map $map
|
|
+.TP
|
|
+.B forcequeueing daemon
|
|
+Forces multipathd into queue_without_daemon mode, so that no_path_retry queueing
|
|
+will not be disabled when the daemon stops
|
|
+.TP
|
|
+.B restorequeueing daemon
|
|
+Restores configured queue_without_daemon mode
|
|
+.TP
|
|
+.B map|multipath $map setprstatus
|
|
+Enable persistent reservation management on $map
|
|
+.TP
|
|
+.B map|multipath $map unsetprstatus
|
|
+Disable persistent reservation management on $map
|
|
+.TP
|
|
+.B map|multipath $map getprstatus
|
|
+Get the current persistent reservation management status of $map
|
|
.TP
|
|
.B quit|exit
|
|
End interactive session.
|
|
+.TP
|
|
+.B shutdown
|
|
+Stop multipathd.
|
|
|
|
.SH "SEE ALSO"
|
|
.BR multipath (8)
|
|
Index: multipath-tools-130222/libmultipath/prioritizers/alua.c
|
|
===================================================================
|
|
--- multipath-tools-130222.orig/libmultipath/prioritizers/alua.c
|
|
+++ multipath-tools-130222/libmultipath/prioritizers/alua.c
|
|
@@ -119,10 +119,10 @@ int getprio (struct path * pp, char * ar
|
|
condlog(0, "%s: couldn't get target port group", pp->dev);
|
|
break;
|
|
case ALUA_PRIO_GETAAS_FAILED:
|
|
- condlog(0, "%s: couln't get asymmetric access state", pp->dev);
|
|
+ condlog(0, "%s: couldn't get asymmetric access state", pp->dev);
|
|
break;
|
|
case ALUA_PRIO_TPGS_FAILED:
|
|
- condlog(3, "%s: couln't get supported alua states", pp->dev);
|
|
+ condlog(3, "%s: couldn't get supported alua states", pp->dev);
|
|
break;
|
|
}
|
|
}
|