Oracle Solaris fails to boot an iSCSI LUN on an iSCSI storage array. The following error message is displayed:
OpenBoot 4.33.5.a, 4096 MB memory installed, Serial #10027306.
Ethernet address 0:b:5d:e2:1:2a, Host ID: 8099012a.
Rebooting with command: boot
100 Mbps full duplex Link up
Boot device: net:host-ip=10.129.158.53,
iscsi-target-ip=10.129.158.87,
iscsi-target-name=iqn.2002-03.com.pillardata:axiom.ssn.a002880bjb
File and args: kmdb
100 Mbps full duplex Link up
Can't read disk label.
Can't open disk label package
ERROR: /packages/obp-tftp: Could not open /iscsi-hba/disk
Evaluating:
Boot load failed
{0} ok
Workaround: If the iSCSI boot parameters are too long, modify them as network boot parameters.
For example, the command to perform an iSCSI boot in Open Boot PROM (OBP) mode is:
{0} ok boot net:'iSCSI boot parameters'
where net is a device alias for a value similar to /pci@780/pci@0/pci@1/network@0.
The iSCSI boot string is therefore very long and the string can easily reach the 255–byte limitation.
/pci@780/pci@0/pci@1/network@0:host-ip=10.129.158.53, subnet-mask=255.255.255.0,router-ip=10.129.158.1,iscsi-target-ip=10.129.158.87, iscsi-target-name=iqn.2002-03.com.pillardata:axiom.ssn.a002880, iscsi-initiator-id=iqn.1986-03.com.sun:01:002128bd2fa0.
To boot your system on an iSCSI LUN, modify the iSCSI boot parameters as network boot parameters.
{0} ok setenv network-boot-arguments host-ip=client-IP,
router-ip=router-ip,subnet-mask=mask-value,iscsi-target-ip=Target-IP,
iscsi-target-name=iqn.1986-03.com.sun:02:iscsiboot,
iscsi-initiator-id=iqn.1986-03.com.sun:01:002128bd2fa0,iscsi-lun=0