On 15.02.21 18:02, Lee Duncan wrote:
> On 2/15/21 6:48 AM, Ritesh Raj Sarraf wrote:

<snip />

> I cannot access this bug, so I will reply to all here ...

By CCing 982...@bugs.debian.org the bug report is updated.

>
> In general, you do not set up initrd to boot into all iSCSI targets,
> only the ones with "startup" set to "onboot". Then, later, as part of
> the system coming up, once the real root is established and networking
> is up, do you log into all "automatic" targets using open-iscsi.
>
> So the idea isn't to log into all targets at initrd time, just the same
> ones you log into now (i.e. "onboot" targets, needed to boot) using
> iscsid/iscsiadm instead of iscsistart. Note that SUSE only supports the
> root and /usr partitions being remote at boot time. If you have
> something like /opt you want to mount, it has to be done later (in our
> systems).
>
> I hope this clarification helps.
>

My current configuration is:

iscsid.conf:40:
# node.startup = automatic

nodes/iqn.2000-01.de.xypron:pine-a64-lts/192.168.0.1,3260,1/default:4:
node.startup = manual

nodes/iqn.2000-01.de.xypron:pine-a64-lts/192.168.0.1,3260,1/default:52:
node.conn[0].startup = manual

File /etc/iscsi/iscsi.initramfs specifies the root device.

HWADDR="01:02:03:04:05:06"
ISCSI_TARGET_NAME="iqn.2000-01.de.xypron:pine-a64-lts"
ISCSI_TARGET_IP="192.168.0.1"
ISCSI_TARGET_PORT="3260"
ISCSI_TARGET_GROUP="1"
ISCSI_USERNAME="user"
ISCSI_PASSWORD="password"

Where would "onboot" fit into the image?
What makes a target an "onboot" target?
Do you simply mean the one specified in /etc/iscsi/iscsi.initramfs?

Best regards

Heinrich

Reply via email to