09-07-2009
Iscsi - target + initiator on the same host.
Hi all
iscsiadm / iscsitadm.
Ive created two devices on a host.
# iscsitadm list target
Target: 1-disk0
iSCSI Name: iqn.1986-03.com.sun:02:f105ddf3-52a4-ed7a-9590-c3d354b8fc32.1-disk0
Connections: 1
Target: 1-disk1
iSCSI Name: iqn.1986-03.com.sun:02:14fd7226-bbb8-4a62-dcc0-fb5660f709c2.1-disk1
Connections: 1
On another host, Ive created an initiator and via static discovery, attachment to this host.
iscsiadm list target
Target: iqn.1986-03.com.sun:02:14fd7226-bbb8-4a62-dcc0-fb5660f709c2.1-disk1
Alias: 1-disk1
TPGT: 1
ISID: 4000002a0000
Connections: 1
Target: iqn.1986-03.com.sun:02:f105ddf3-52a4-ed7a-9590-c3d354b8fc32.1-disk0
Alias: 1-disk0
TPGT: 1
ISID: 4000002a0000
Connections: 1
Without going into the pros / cons, I know want to make the target server, an initiator too, and `mount` its own disks.
Ive static added them to itself
iscsiadm list static-config
Static Configuration Target: iqn.1986-03.com.sun:02:f105ddf3-52a4-ed7a-9590-c3d354b8fc32.1-disk0,172.30.188.129:3260
Static Configuration Target: iqn.1986-03.com.sun:02:14fd7226-bbb8-4a62-dcc0-fb5660f709c2.1-disk1,172.30.188.129:3260
However, when I devfsadm / format, I cant see the little sods.
Anyone use iscsi on a solaris 10 server ?? Shed any light / help ?? Ive tried static, sendtarget. The host has several NIC's, so I wonder if I need to create a tpgt group ??
SBK
SBK
10 More Discussions You Might Find Interesting
1. Solaris
Hello,
I am trying to breakdown the cXtXdX (specifically tX) part of an iscsi device.
I know in the fibre SAN world, this tX will usually be a combination of the path to device/device WWN.
From what I understand in iscsi world it is similar, breaking down into... (0 Replies)
Discussion started by: Bashful
0 Replies
2. UNIX for Dummies Questions & Answers
how to change ethernet cable of iscsi initiator (iscsi client) (0 Replies)
Discussion started by: pankajd
0 Replies
3. UNIX for Advanced & Expert Users
I'm using Bacula as my backup system, with full backups going to an LTO2 tape drive, while differentials and incrementals go to a disk array on my main server, babylon4. The tape drive is currently attached to a separate machine, because babylon4 does not have a SCSI controller, nor a free PCI-X... (0 Replies)
Discussion started by: Phil Stracchino
0 Replies
4. Solaris
I have a Sun Blade 2500 with SUN 5.9 OS installed.
I have configured ISCSI SAN and one of my Red Hat OS can accessed/mount the ISCSI SAN disk
Now i want to access/mount another ISCSI SAN disk on SUN solaris. Is that possible ?
Thanks (1 Reply)
Discussion started by: z_haseeb
1 Replies
5. UNIX for Dummies Questions & Answers
hi all,
i'm new here and i have a question,
i wanted to know, what should happen if i delete a LUN that is already mounted on one of my initiators.
thanks! (3 Replies)
Discussion started by: slavash
3 Replies
6. HP-UX
Hi,
I wanted to configure new iscsi port on HPUX system, i added the target port address and configured it, once done, went to array side and searched for that host iqn number , but was nt able to find the same, came to host, then when i ran "iscsiutil -pVS" command it gave me below result
... (0 Replies)
Discussion started by: Vinay Kumar D
0 Replies
7. HP-UX
Hi
Please can someone give me a hint on this, when I list the targets, I see two o them:
#iscsiutil -p
Operational Target Information
------------------------------
Target # 1
-----------
Target Name : iqn.1992-08.com.netapp:sn.142241859
Target Alias ... (2 Replies)
Discussion started by: fretagi
2 Replies
8. Linux
I need boot any images from iSCSI and I'd like to boot from linux console of a previous LiveCD booted. Is possible, without gpxe, ipxe firmware or similar? With a simple iSCSI initiator for example? (1 Reply)
Discussion started by: spark2k06
1 Replies
9. Shell Programming and Scripting
Hi All,
Need to connect to target host and execute a command and connect back to source host to continue with next set of command execution.
Is there a utility/command using which we can connect to target host ?
Please suggest.
Note: Netezza database is instaled on Linux server. ... (4 Replies)
Discussion started by: Nagaraja Akkiva
4 Replies
10. HP-UX
Is there one? If so where can it be found? I have the 10.20 CD set but I don't think that there's an iSCSI initiator on there.
Thank you
Dave (0 Replies)
Discussion started by: perdrix
0 Replies
iscsi(7D) iscsi(7D)
NAME
iscsi - iSCSI software initiator driver
The iscsi driver is a software initiator that transports SCSI commands over TCP/IP as described in RFC 3720. The initiator is administered
through iscsiadm(1M). The iscsi initiator acts as a host adapter driver that attaches the appropriate target driver (for example sd(7D) for
disks or st(7D) for tapes) for devices it discovers. See the System Administration Guide for more information.
/kernel/drv/iscsi 32-bit ELF kernel driver.
/kernel/drv/sparcv9/iscsi 64-bit SPARC ELF kernel driver.
/kernel/drv/amd64/iscsi 64-bit AMD64 ELF kernel driver.
/kernel/drv/iscsi.conf Driver configuration file.
/etc/iscsi/* iscsi persistent store.
See attributes(5) for descriptions of the following attributes:
+-----------------------------+-----------------------------+
| ATTRIBUTE TYPE | ATTRIBUTE VALUE |
+-----------------------------+-----------------------------+
|Availability |SUNWiscsir, SUNWiscsiu |
+-----------------------------+-----------------------------+
iscsiadm(1M), attributes(5)
RFC 3720 Internet Small Computer Systems Interface (iSCSI)
System Administration Guide: Devices and File Systems, Chapter 15
12 April 2005 iscsi(7D)