Thanks to visit codestin.com
Credit goes to github.com

Skip to content
This repository was archived by the owner on Apr 27, 2022. It is now read-only.
This repository was archived by the owner on Apr 27, 2022. It is now read-only.

Passing multiple Targets in ipxe file  #176

@mihirborkar

Description

@mihirborkar

In addition to the issue #175 , When I try passing multiple targets in the ipxe file, it should ideally pick up the first active path and boot from it.
Which it does for the following configuration with 10.20.30.1 and 10.20.30.2 being the two target IPs :

#!ipxe
  sleep 23
  set keep-san 1
  ifconf --configurator=dhcp net0
  sanboot iscsi:10.20.30.1:tcp:3260:1:kumo-dan-installscript-img37 \
                iscsi:10.20.30.2:tcp:3260:1:kumo-dan-installscript-img37
  boot

However when I try adding another target in the ipxe file Like :

#!ipxe
  sleep 23
  set keep-san 1
  ifconf --configurator=dhcp net0
  sanboot iscsi:10.20.30.1:tcp:3260:1:kumo-dan-installscript-img37 \
                iscsi:10.20.30.2:tcp:3260:1:kumo-dan-installscript-img37 \
                **iscsi:10.20.30.3:tcp:3260:1:kumo-dan-installscript-img37**
  boot

it gives me an error stating Could not describe san device : No such device
http://ipxe.org/err/348520

  1. I have tried logging into the physical terminal and giving the arguments rather than passing them through the /var;/lib/tftpboot/dell*.ipxe file, but still getting the same result.

  2. I have also tried reducing the name of the targets in the below fashion:

root@bmi-introspect tftpboot]# cat dell-12.ipxe 
#!ipxe
      sleep 23
      set keep-san 1
      ifconf --configurator=dhcp net0
      shell
      sanboot iscsi:10.20.30.1:tcp:3260:1:try \
              iscsi:10.20.30.2:tcp:3260:1:try \
              iscsi:10.20.30.3:tcp:3260:1:try
      boot

However on doing this, the node gets stuck on :

dracut-initqueue[537] : RTNETLINK answers: File exists 
dracut-initqueue[537] : Warning : Kernel command line option 'iscsi_firmware' is deprecated, use 'rd.iscsi.firmware' instead.
dracut-initqueue[537] : Warning : iscsistart : could not get list of targets from firmware. 

Kindly let me know if anyone knows how to go about it.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions