Re: LU Alias

2012-09-19 Thread Richard Laager
All `sg_vpd --page=0x83` returns is the IQN: Device Identification VPD page: Addressed logical unit: designator type: NAA, code set: Binary 0x600144f0e431c9004fe3632f0003 Target port: designator type: vendor specific [0x0], code set: ASCII transport: Internet SCSI

Re: LU Alias

2012-09-07 Thread Mike Christie
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.) Hey, Was working on something

Re: LU Alias

2012-05-10 Thread Mike Christie
On 05/09/2012 01:32 PM, Richard Laager wrote: 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?

Re: LU Alias

2012-05-10 Thread Richard Laager
On Thu, 2012-05-10 at 12:21 -0500, Mike Christie wrote: A netapp engineer suggested trying the REPORT IDENTIFYING INFORMATION command. To do this you can use sg_ident from the sg3_utils. $ sudo sg_ident -i 127 /dev/sdm Information type: 0, Maximum information length: 0 bytes Information

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

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

Re: LU Alias

2012-05-08 Thread Vanush Misha Paturyan
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

Re: LU Alias

2012-05-08 Thread Mike Christie
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

Re: LU Alias

2012-05-07 Thread Mike Christie
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.