Re: LU Alias

2012-05-09 Thread Mike Christie
On 05/09/2012 03:59 AM, Vanush Misha Paturyan wrote:
 On 9 May 2012 06:24, Mike Christie micha...@cs.wisc.edu wrote:
 On 05/08/2012 06:36 AM, Vanush Misha Paturyan wrote:
 On 7 May 2012 22:32, Mike Christie micha...@cs.wisc.edu wrote:
 On 05/04/2012 02:58 PM, Richard wrote:
 I'm using open-iscsi to connect to an OpenIndiana COMSTAR target. I
 have aliases set on the LUs on the COMSTAR side. Is there a way to
 retrieve those from open-iscsi? (I'd like to have a udev rule to give
 me nice names.)


 Open iscsi does not have this. You have to use one of the sg utils tools 
 to.


 Any examples?

 Huh. For some reason I thought we added support for this in lsscsi
 (http://sg.danny.cz/scsi/lsscsi.html) a long time ago.
 
 Correct me if I'm wrong, but if lsscsi uses information in sysfs, then it 
 relies
 on something else to populate it (sysfs that is)? Would this not be
 the function
 of Open SCSI?
 

I do not think it belongs in open-iscsi because it is not iscsi
specific. You would want it for your FC devices too. It makes sense for
a util like lscsi to do this because its job is to give you info about
devices.

But yeah, I remember why it did not go into lsscsi. I think it was
because of the sysfs thing and Doug did not want users to have to be
root. And you need to send a sg io to get the info.

-- 
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 
open-iscsi+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/open-iscsi?hl=en.



Re: LU Alias

2012-05-09 Thread Richard Laager
I'm really referring to the LU alias. I asked about this in #illumos (on
freenode). After that discussion, I'm not sure that it's even exposed by
the target. Is there an obvious place in the VPD (page 0x80, 0x83, ???)
where it should be exported? If so, maybe this is just an issue for the
Illumos side.

-- 
Richard


signature.asc
Description: This is a digitally signed message part