Software >> OS >> Unix >> Solaris >> 11 >> Storage >> iSCSI >> How to set up iscsi target

To start using COMSTAR:


pkg install storage-server
pkg install -v SUNWiscsit

http://thegreyblog.blogspot.com/2010/02/setting-up-solaris-comstar-and.html

svcs \*stmf\*
svcadm enable svc:/system/stmf:default
zfs create -V 250G tank-esata/macbook0-tm
sbdadm create-lu /dev/zvol/rdsk/tank-esata/macbook0-tm
sbdadm list-lu
stmfadm list-lu -v
stmfadm add-view 600144f00800271b51c04b7a6dc70001
svcs \*scsi\*
itadm create-target
devfsadm -i iscsi

reboot

Solaris 11 Express iSCSI manual:

http://dlc.sun.com/pdf/821-1459/821-1459.pdf

and that for reference

http://nwsmith.blogspot.com/2009/07/opensolaris-2009-06-and-comstar-iscsi.html

Windows iSCSI initiator

http://www.microsoft.com/downloads/en/details.aspx?familyid=12cb3c1a-15d6-4585-b385-befd1319f825&displaylang=en

works after manually adding the Server's IP (no auto detect)

References

[1]    http://docs.oracle.com/cd/E19836-01/E20747/z40003531559469.html