Skip to content

Commit

Permalink
faq: add more info about multipath + iSCSI
Browse files Browse the repository at this point in the history
This came up in a customer case. AFAICT, we can't really rely on iBFT
for this because it doesn't contain information about all the paths.

See also: https://issues.redhat.com/browse/OCPBUGS-42736
  • Loading branch information
jlebon committed Dec 13, 2024
1 parent b65935f commit 4417725
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions docs/faq.md
Original file line number Diff line number Diff line change
Expand Up @@ -336,6 +336,17 @@ the target device is multipathed. (And e.g. if using iPXE, you likely would
then also want to specify all the paths to the `sanboot` command in your iPXE
script, see e.g. [this test config](https://github.com/coreos/coreos-assembler/blob/8a354045c68e5dce8cd5736dc6fdcfac1d603b35/mantle/cmd/kola/resources/iscsi_butane_setup.yaml#L70-L71).)

Similarly to the above, in the custom initiation case you need to add the
`rd.iscsi.initiator` and `netroot` kargs. Specify as many `netroot` kargs as
there are paths, e.g.:

```
coreos-installer --append-karg rd.iscsi.initiator=iqn.2023-11.coreos.diskless:testsetup \
--append-karg netroot=iscsi:10.0.2.15::::iqn.2023-10.coreos.target.vm:coreos \
--append-karg netroot=iscsi:10.0.2.16::::iqn.2023-10.coreos.target.vm:coreos \
--append-karg rd.multipath=default
```

## Q: How do I configure a secondary block device via Ignition/MC if the name varies on each node?

First, verify that there isn't a `/dev/disk/by-*` symlink which works for your needs. If not, a few approaches exist:
Expand Down

0 comments on commit 4417725

Please sign in to comment.