Hello,

Are you asking for a detailed answer on the internal process or just how to get open-iSCSI to discover and connect to an iSCSI target?

 In case it's the later:

 Send a "send targets" discovery request to the iSCSI target
     #open-iscsi -m discovery -t st -p <ip address>:3260

Once you have the volume discovered you can request open-iscsi to log into the volume. #open-iscsi -m node -l (logs in all available targets or you can specify a specific one)

Once the iSCSI initiator connects to the volume, it's handed over to the Linux kernel as a SCSI disk. All the normal things you can do with a disk, is now available. Partition, create filesystem, mount, etc...

Regards,
Don




On 02/23/2013 06:38 AM, Aastha Mehta wrote:
Hello,

I am trying to understand how a device is discovered by the initiator
and registered at the client side. Specifically I would like to know
how does the target show up as a /dev/sd* to the client.

I see in the kernel code a iscsi_endpoint structure which holds a
device and a connection for the device. But I am not sure if and how
this endpoint is used.

Or else, where is the device structure maintained at the initiator for
a particular iscsi target?

If there is any documentation available on this, clearly I have missed
it. Please direct me to the same.

Thanks in advance.

Regards,
Aastha.


--
You received this message because you are subscribed to the Google Groups 
"open-iscsi" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/open-iscsi?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to