COMSTAR Initiator
Configuring COMSTAR as an iSCSI initiator for Solaris, OmniOS, OpenIndiana, Illumos etc.
This walkthrough describes how to attach to an iSCSI target using COMSTAR as the iSCSI initiator.
-
Install iSCSI initiator package:
pkg install iscsi/initiator
-
Connect to your iSCSI target. In this example we are using the IQN and TPG network address/port created in the COMSTAR iSCSI target workthrough:
iscsiadm add static-config iqn.1995-10.com.high-availability:02:b11f6a06-c9bd-cfeb-ea26-885a25d080c4,192.168.5.10:3260
-
Enable persistent connection to your target through restarts (if so desired):
iscsiadm modify discovery --static enable
-
Use the systems
format
command to check the disk has been added (COMSTAR iSCSI disks are labeledSUN-COMSTAR
):The iSCSI drive is now ready for use.# format Searching for disks...done AVAILABLE DISK SELECTIONS: 0. c0t600144F0CC39DD7300006151CBDA0001d0 <SUN-COMSTAR-1.0 cyl 1022 alt 2 hd 64 sec 32> /scsi_vhci/disk@g600144f0cc39dd7300006151cbda0001 1. c1d0 <QEMU HARDDISK=QM00001-QM00001-0001-32.00GB> /pci@0,0/pci-ide@1,1/ide@0/cmdk@0,0 Specify disk (enter its number): **<CTRL-D>**