1 Star 0 Fork 40

秦飞/multipath-tools

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
0020-multipath.conf.5-fix-documentation-for-find_multipat.patch 1.47 KB
一键复制 编辑 原始数据 按行查看 历史
From 89fa0ba868858482c0e08be6f9f04f36a8a0c020 Mon Sep 17 00:00:00 2001
From: Martin Wilck <mwilck@suse.com>
Date: Sat, 10 Feb 2024 20:38:35 +0100
Subject: [PATCH] multipath.conf.5: fix documentation for find_multipaths
Document "on" and "off", and mention that "yes"/"1" and "no"/"0" are
still accepted as alias values.
Suggested-by: Paul Donohue <github@PaulSD.com>
Signed-off-by: Martin Wilck <mwilck@suse.com>
---
multipath/multipath.conf.5 | 8 +++++---
1 file changed, 5 insertions(+), 3 deletions(-)
diff --git a/multipath/multipath.conf.5 b/multipath/multipath.conf.5
index 94acd44..b2d3b3a 100644
--- a/multipath/multipath.conf.5
+++ b/multipath/multipath.conf.5
@@ -1139,13 +1139,15 @@ listed in the \fBwwids_file\fR. Users can manually set up multipath maps using t
\fBmultipathd add map\fR command. Once set up manually, the map is
remembered in the wwids file and will be set up automatically in the future.
.TP
-.I no
+.I off
Multipath behaves like \fBstrict\fR. Multipathd behaves like \fBgreedy\fR.
+\fIno\fR or \fI0\fR is accepted as an alias for \fIoff\fR.
.TP
-.I yes
+.I on
Both multipathd and multipath treat a device as multipath device if the
conditions for \fBstrict\fR are met, or if at least two non-blacklisted paths
-with the same WWID have been detected.
+with the same WWID have been detected. \fIyes\fR or \fI1\fR is accepted as an
+alias for \fIon\fR.
.TP
.I greedy
Both multipathd and multipath treat every non-blacklisted device as multipath
--
2.27.0
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/qin-fei-1/multipath-tools.git
git@gitee.com:qin-fei-1/multipath-tools.git
qin-fei-1
multipath-tools
multipath-tools
master

搜索帮助