Thank you Sumit, that appeared to work. Now another snag hit the transfer of the lun. I've got several target serving luns. I want specific mappings between targets and luns. So I setup everything like this:
# stmfadm create-tg tg_server1 # stmfadm create-tg tg_server2 # stmfadm add-tg-member -g tg_server1 target_guid1 # stmfadm add-tg-member -g tg_server2 target_guid2 # sdbadm create-lu /dev/zvol/rdsk/mpool/... use the returned guid of the lu to create a view # stmfadm add-view -t tg_server1 lun-guid this all works like a charm, IF I first bring down the stmf service and after the commands bring it back up. If I don't bring down stmf and execute "stmfadm add-tg-member" it fails with: stmfadm: STMF service must be offline I took a look at smtf.c and found that stmfAddToTargetGroup was the only command with this check. How can I add a target to a group without offlining the stmf service? I assume that doing that will "offline" everything and therefore disrupt any connected initiators. Thanks, Frederik -- This message posted from opensolaris.org _______________________________________________ storage-discuss mailing list [email protected] http://mail.opensolaris.org/mailman/listinfo/storage-discuss
