Quoting Peter Cudhea <[email protected]>:

I see nothing obviously missing with the command output you included.
Could you include a more detailed typescript that demonstrates exactly
the problem you are seeing?

Sure.

Taking it from the top:

# Create filesystem for backing
zfs create -p -s -V 500G datapool1/stores/vi/shared/lun1

# Create logical unit
sbdadm create-lu /dev/zvol/rdsk/datapool1/stores/vi/shared/lun1

# Create target
itadm create-target

# Create tpg
itadm create-tpg 2 172.16.202.110

#Modify target, add tpg to target
itadm modify-target iqn.1986-03.com.sun:02:512de3df-6b52-698d-d359-c17267317959 -t 2

#Create host-group
stmfadm create-hg viGroup1

#Add initiator to hg
stmfadm add-hg-member -g viGroup1 iqn.2007-01.com.virtualiron:01:0030483439ec

#Expose Lun
stmfadm add-view -n 1 -h viGroup1 600144F0660B8D0000004A57A78D0001

That's all i do..



Also, could you explain how you get the initiator to rescan the visible
luns?    For example, when I am testing host groups and target groups
on the opensolaris iscsi initiator, I often use iscsiadm to turn off
discovery and turn it on again.   That certainly forces the initiator
to scan for new target resources.   What method are you using?

Virtual Iron has a rescan function.
I've also tried rebooting the initiator and the results are the same.



--------------------------------------------------------------------------------

This email and any files transmitted with it are confidential and are intended solely for the use of the individual or entity to whom they are addressed. This communication may contain material protected by the attorney-client privilege. If you are not the intended recipient, be advised that any use, dissemination, forwarding, printing or copying is strictly prohibited. If you have received this email in error, please contact the sender and delete all copies.



_______________________________________________
storage-discuss mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/storage-discuss

Reply via email to