Re: [BK PATCHES] add ata scsi driver

Lincoln Dale
2003-05-28T10:37:27Z

At 11:21 AM 27/05/2003 -0400, Jeff Garzik wrote:
>ATA defines WWN too... I'm curious what the format is? uuid-ish?

FC uses a 64-bit identifier for a WWN.

you end up with things like "50:00:0e:10:00:00:01:1c".
ironically, FC switching doesn't actually 'use' the WWN but a 24-bit FC_ID.

for things like mappings -- who knows -- perhaps WWN is good -- perhaps
something like a serial # is also good -- perhaps both are good?

mel-stglab-mds9509-1# show scsi-target lun vsan 1

- DF350F from HITACHI (Rev 0000)
FCID is 0x7f0002 in VSAN 1, PWWN is 50:00:0e:10:00:00:01:1c
------------------------------------------------------------------------------
LUN Capacity Status Serial Number Device-Id
(MB)
------------------------------------------------------------------------------
0x0 16651 Online C:2 A:0 T:1 HITACHI
D35067950000
0x1 16651 Online C:2 A:0 T:1 HITACHI
D35067950001

- ST318452FC from HP (Rev HP03)
FCID is 0x7f01da in VSAN 1, PWWN is 22:00:00:04:cf:8c:1f:95
------------------------------------------------------------------------------
LUN Capacity Status Serial Number Device-Id
(MB)
------------------------------------------------------------------------------
0x0 17920 Online 3EV0JVQJ C:1 A:0 T:3
20:00:00:04:cf:8c:1f:95
[..]

cheers,

lincoln.