From: Rodrigo Nascimento Subject: Re: Question about WWID Date: Wed, 5 May 2010 01:03:00 -0300 Message-ID: References: <4BDEAFB0.8000609@suse.de> Reply-To: device-mapper development Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============3458434403732627749==" Return-path: In-Reply-To: <4BDEAFB0.8000609@suse.de> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: dm-devel-bounces@redhat.com Errors-To: dm-devel-bounces@redhat.com To: device-mapper development List-Id: dm-devel.ids --===============3458434403732627749== Content-Type: multipart/alternative; boundary=0016e6464126eb66450485d0e6e1 --0016e6464126eb66450485d0e6e1 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Hi All, Thanks Dr. Hannes Reinecke. After read some docs, I found out this information about the WWID: - Its origin is the VPD Pages; - It's a NAA (Network Address Authority) identifier; - As a NAA identifier it is unique because its format is: 3 + 6(from NAA 6) + IEEE Company_id + Vendor Specific Identifier + Vendor Specific Identifier Extension + =3D=3D concatenated Please, if it is not correct tell me. Thanks and Regards, Nascimento On Mon, May 3, 2010 at 8:12 AM, Hannes Reinecke wrote: > Rodrigo Nascimento wrote: > > Hi All, > > > > How the WWID from dm-mp is generated? I can image that it use serial > > number of the disk, but how it is really generated? > > > It is using the SCSI Inquiry VPD pages; page 0x83 or, failing that, path > 0x80. > > Cheers, > > Hannes > -- > Dr. Hannes Reinecke zSeries & Storage > hare@suse.de +49 911 74053 688 > SUSE LINUX Products GmbH, Maxfeldstr. 5, 90409 N=FCrnberg > GF: Markus Rex, HRB 16746 (AG N=FCrnberg) > > -- > dm-devel mailing list > dm-devel@redhat.com > https://www.redhat.com/mailman/listinfo/dm-devel > --=20 Rodrigo Nascimento Storage System Engineer (13) 8805-5892 http://stortech.wordpress.com --0016e6464126eb66450485d0e6e1 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Hi All,

Thanks Dr. Hannes Reinecke.

After read some docs, I f= ound out this information about the WWID:

- Its origin is the VPD Pa= ges;
- It's a NAA (Network Address Authority) identifier;
- As a = NAA identifier it is unique because its format is:
=A0=A0=A0=A0=A0 3 + 6(from NAA 6) + IEEE Company_id + Vendor Specific Ident= ifier + Vendor Specific Identifier Extension

+ =3D=3D concatenated
Please, if it is not correct tell me.

Thanks and Regards,
<= br>Nascimento

On Mon, May 3, 2010 at 8:12 AM, Hannes Reine= cke <hare@suse.de&= gt; wrote:
Rodrigo Nascimento wrote:
> Hi All,
>
> How the WWID from dm-mp is generated? I can image that it use serial > number of the disk, but how it is really generated?
>
It is using the SCSI Inquiry VPD pages; page 0x83 or, failing that, p= ath 0x80.

Cheers,

Hannes
--
Dr. Hannes Reinecke =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 zSeries & Stora= ge
hare@suse.de =A0 =A0 =A0 =A0 =A0 =A0 = =A0 =A0 =A0 =A0 =A0 =A0 =A0+49 911 74053 688
SUSE LINUX Products GmbH, Maxfeldstr. 5, 90409 N=FCrnberg
GF: Markus Rex, HRB 16746 (AG N=FCrnberg)

--
dm-devel mailing list
dm-devel@redhat.com
https://www.redhat.com/mailman/listinfo/dm-devel



--
Rodrigo Nascimen= to
Storage System Engineer
(13) 8805-5892

http://stortech.wordpress.com
--0016e6464126eb66450485d0e6e1-- --===============3458434403732627749== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline --===============3458434403732627749==--