[vbox-dev] VBoxManage storageattach --initiator doesn't set the IQN

Marek Salwerowicz marek_sal at wp.pl
Sun Nov 18 00:27:22 GMT 2012


Hi list,

I've found an issue in VBoxManage in context of connecting to iSCSI targets:

%  VBoxManage -q storageattach ESXi --storagectl SATA --port 0 --type 
hdd --medium iscsi --server volt --target iqn.2012-01.zetis:esxi-vdi 
--initiator iqn.2012-01.zetis:vbox-esxi

it does not set client IQN (and uses the VirtualBox default one)

s14% grep iqn.2012-01.zetis:vbox-esxi vm/ESXi/ESXi.vbox
s14%

After manually adding to ESXi.vbox line:
<Property name="InitiatorName" value="iqn.2012-01.zetis:vbox-esxi"/>

s14% grep iqn.2012-01.zetis:vbox-esxi vm/ESXi/ESXi.vbox
           <Property name="InitiatorName" 
value="iqn.2012-01.zetis:vbox-esxi"/>
s14%


And now it works..


Regards,

-- 
Marek Salwerowicz




More information about the vbox-dev mailing list