Comment 4 for bug 2060924

Revision history for this message
xiaochun Lee (xavier-lee) wrote :

From continue investigate on it, we found the root cause is that installer in Ubuntu can not sync the iscsi IQN name (iscsi qualified name) defined in UEFI to OS /etc/iscsi/initiatorname.iscsi via iscsi iBFT (iscsi boot firmware table), even we add dracut parameter "rd.driver.pre=iscsi_ibft rd.iscsi.firmware=1 rd.iscsi.ibft=1 rd.iscsi.initiator=iqn.1986-03.com.example:lql rd.iscsi.param=node.startup=automatic"

Ubuntu can detect the remote iscsi disk, If we overwrite the default line in /etc/iscsi/initiaorname.iscsi to "InitiatorName=iqn.1986-03.com.example:lql" manually and restart iscsid and open-iscsi service.

Note: the string "iqn.1986-03.com.example:lql" is the name defined in UEFI for iscsi target lun.

But after install OS to remote iscsi disk, we can not boot up from the installed OS, because initrd doesn't include iscsi drivers (libiscsi, scsi_transport_iscsi, iscsi_tcp, libiscsi_tcp) and services open-iscsi and iscsid and their needed utilities, like iscsiadm, iscsid.

So I was just wondering of Canonical experts if Ubuntu support iscsi installation or not?