On Sep 29, 10:29 am, [EMAIL PROTECTED] wrote:
> On Sep 28, 8:58 am, Nick <[EMAIL PROTECTED]> wrote:
> > I'm trying to use open-iscsi to connect to an iSCSI-based tape
> > library.  The library has two drives, so there are three IDs.
> > Unfortunately, the library is picky about having the same SCSI IDs as
> > are configured directly on the library, which means on the iSCSI
> > client end I need to make sure that the devices show up with those
> > same IDs.  This presents two problems:
> > 1) Each of the devices is presented as a separate iSCSI target.  This
> > means that when open-iscsi connects to these three targets, they each
> > get put on a different SCSI bus.  Any way to force all three targets
> > onto the same bus?
> > 2) open-iscsi starts ID numbering at 0.  Is there any way to configure
> > an iSCSI target to show up at a certain ID?  So, my tape library is
> > SCSI ID 8, my first drive is 9, and my second drive is 10.  Is there
> > any way to configure these targets to show up at IDs 8, 9, and 10?
> Are you familar with udev? Each target has a unique name right? Since
> each target has one device, you could write a udev rule that grabs the
> target name and for target X creates a special /dev/my_device_name for
> the tape device accessed through it.

But the changer doesn't work by device names, it works by device IDs.
This is the message I get when the changer loads:
ch0: type #1 (mt): 0x0+1 [medium transport]
ch0: type #2 (st): 0x3e8+20 [storage]
ch0: type #3 (ie): 0xa+0 [import/export]
ch0: type #4 (dt): 0x1f4+2 [data transfer]
ch0: dt 0x1f4: ID 9, LUN 0, Huh? device not found!
ch0: dt 0x1f5: ID 10, LUN 0, Huh? device not found!
ch0: INITIALIZE ELEMENT STATUS, may take some time ...
ch0: ... finished
ch 21:0:0:0: Attached scsi changer ch0
ch 21:0:0:0: Attached scsi generic sg2 type 8

As you can see, it's looking for specific SCSI IDs, probably on the
same SCSI bus, to try to find the tape devices.

You received this message because you are subscribed to the Google Groups 
"open-iscsi" group.
To post to this group, send email to open-iscsi@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/open-iscsi

Reply via email to