1
0
mirror of https://github.com/openshift/openshift-docs.git synced 2026-02-05 21:46:22 +01:00

multipath: add rw karg for day1 multipathing

Normally, RHCOS automatically adds `rw` to the kernel cmdline after the
first boot. But it won't do this if there's already a `root` karg
specified. So while it's not necessary for day-2 multipath, for day-1 we
do need to explicitly add it.

Related: rhbz#2011776
This commit is contained in:
Jonathan Lebon
2021-10-07 09:14:45 -04:00
committed by openshift-cherrypick-robot
parent 20a229097d
commit 348d683dd9

View File

@@ -43,7 +43,8 @@ $ mpathconf --enable && systemctl start multipathd.service
----
$ coreos-installer install /dev/mapper/mpatha \ <1>
--append-karg rd.multipath=default \
--append-karg root=/dev/disk/by-label/dm-mpath-root
--append-karg root=/dev/disk/by-label/dm-mpath-root \
--append-karg rw
----
<1> Indicates the path of the single multipathed device.
+
@@ -53,7 +54,8 @@ $ coreos-installer install /dev/mapper/mpatha \ <1>
----
$ coreos-installer install /dev/disk/by-id/wwn-<wwn_ID> \ <1>
--append-karg rd.multipath=default \
--append-karg root=/dev/disk/by-label/dm-mpath-root
--append-karg root=/dev/disk/by-label/dm-mpath-root \
--append-karg rw
----
<1> Indicates the WWN ID of the target multipathed device. For example, `0xx194e957fcedb4841`.
+