Adding iSCSI LUNS via CLI ESXi4.1
vim-cmd hostsvc/storage/iscsi_add_static_target Usage: iscsi_add_static_target iSCSIID address name [port] Add an iSCSI static target entry for an iSCSI Hba. iSCSIID = iSCSI Device (ie. vmhba32) address = IP Address of SAN name = iSCSI Target Name port = optional |
eg:
vim-cmd hostsvc/storage/iscsi_add_static_target vmhba32 10.1.8.100 iqn.2009-04.au.net.eyemedia:sn.mu9re1go |
Once you have added the LUNS issue a rescan
esxcfg-swiscsi -s |
Please Register.
If you wish to add comments.
Cheers
Adam