first run vserver setup
(in which you create a vserver vs-iscsi an ip-address a volume (vol1) and allow iscsi prot)
1. iscsi create -vserver vs-iscsi -target-alias iscsi-tgt -status-admin up
(create target and brings it up)
2. lun igroup create -vserver vs-iscsi -igroup win -ostype windows
(make sure you logged in from windows with iscsi initiator and put
initiator in igroup)
3. iscsi initiator show
4. lun igroup add -vserver vs-iscsi -igroup win -initiator iqn.....
(create lun and map lun to igroup)
5. lun create -vserver vs-iscsi -path /vol/vol1/lun1 -size 150m -ostype windows
6. lun map -vserver vs-iscsi -path /vol/vol1/lun1 -igroup win
(now rescan your disks on windows)