Add iSCSI Address discovery :-
# iscsiadm add discovery-address TargetServerIP:Port
e.g.
# iscsiadm add discovery-address 192.168.105.141:3260
iSCSI Address discovery list :-
# iscsiadm list discovery-address -v TargetServerIP:Port
e.g.
# iscsiadm list discovery-address -v 192.168.105.141:3260
Discovery Address: 192.168.105.141:3260
Target name: iqn.1986-03.com.sun:02:608dc428-415c-4a31-858d-f7c62ebee084
Target address: 192.168.105.141:3260, 1
Add iSCSI Device :-
#iscsiadm add static-config <target-name,target-address[:port-number][,tpgt] ...>
e.g.
iscsiadm add static-config iqn.1986-03.com.sun:02:608dc428-415c-4a31-858d-f7c62ebee084,192.168.105.141
Check Solaris Storage Device Code of iSCSI Device:-
#format < /dev/null
Searching for disks...done
AVAILABLE DISK SELECTIONS:
0. c1t0d0 <DEFAULT cyl 33415 alt 2 hd 255 sec 63>
/pci@0,0/pci15ad,1976@10/sd@0,0
1. c1t1d0 <VMware,-VMware Virtual S-1.0-256.00GB>
/pci@0,0/pci15ad,1976@10/sd@1,0
2. c2t0100000C29F413EC00002A004A00770Ed0 <SUN-SOLARIS-1-100.00GB>
/scsi_vhci/disk@g0100000c29f413ec00002a004a00770e
Specify disk (enter its number):
The Storage Device Code is c2t0100000C29F413EC00002A004A00770Ed0
未完成文章
[ 發表回應 ] ( 6預覽 ) | 常註連結 | ( 3 / 1517 )