| Solaris |
|
|
# svcs -a
disabled 10:17:46 svc:/network/iscsi/initiator:default
disabled 10:17:51 svc:/system/iscsitgt:default
disabled 10:17:58 svc:/network/iscsi/target:default
# svcadm enable -r iscsi/target
# svcs | grep iscsi
online 10:17:58 svc:/network/iscsi/target:default
NOTE: Do not enable svc:/system/iscsitgtd:default. The "-r" flag on the svcadm command tells SMF to enable dependencies as well which in this case will enable svc:/system/stmf:default if it is not already enabled.
# itadm create-target
To look at the new target:
# itadm list-target
1 Target(s) found
Target: iqn.1986-03.com.sun:02:80c3a500-ff15-e656-aee3-bc63d49b449d
# stmfadm list-target
Target: iqn.1986-03.com.sun:02:80c3a500-ff15-e656-aee3-bc63d49b449d
Operational Status: Online
Provider Name : iscsit
Alias : -
Sessions : 0
#
The IQN will be different but similar since it is generated for the UID of
the target host system.
You can list the active connections along with their associated transport type by running this command: echo "::iscsi_conn" | mdb -k
# iscsiadm add discovery-address <target IP address>
# iscsiadm modify discovery -t eanble
On the initiator system (assuming Solaris):
# iscsiadm modify discovery -t disable
# iscsiadm add static-config iqn.1986-03.com.sun:02:80c3a500-ff15-e656-aee3-bc63d49b449d,<target IP address>
( Modify IQN above to match the automatically generated IQN on the target)
# iscsiadm modify discovery -s enable
http://opensolaris.org/os/project/comstar/Documentation/AdminGuide/
Bug categories:
Bugs related to the COMSTAR iSCSI port provider:
Product: solaris
Category: storage_sw
Sub-category: iscsit
Bugs related to the iSER pluggable transport
Product: solaris
Category: storage_sw
Sub-category: iser
Bugs related to the IDM kernel module
Product: solaris
Category: storage_sw
Sub-category: idm
Bugs related to the iSCSI/iSER initiator
Product: solaris
Category: driver
Sub-category: iscsi
Terms of Use
|
Privacy
|
Trademarks
|
Copyright Policy
|
Site Guidelines
|
Site Map
|
Help
Your use of this web site or any of its content or software indicates your agreement to be bound by these Terms of Use.
© 2012, Oracle Corporation and/or its affiliates.