Opened 14 years ago

Closed 12 years ago

#181 closed enhancement (wontfix)

Print WWN of SCSI devices

Reported by: Christian Franke Owned by: somebody
Priority: minor Milestone:
Component: all Version: 5.41
Keywords: scsi Cc:

Description

smartctl and smartd print World Wide Name (WWN) of ATA devices. Should also be implemented for SCSI devices.

Change History (3)

comment:1 by Alex Samorukov, 12 years ago

I tried to look on this issue. I found that there is no definition of WWN in the SPC4. There are different assoc. types in the VPD 83, used for device identification:

00b The DESIGNATOR field is associated with the addressed logical unit.
01b The DESIGNATOR field is associated with the target port that received the request.
10b The DESIGNATOR field is associated with the SCSI target device that contains the
addressed logical unit.

We are currently displaying only 00b type (see scsi_decode_lu_dev_id). On one of my drives i see such results:
00b: 0x5001afc03f016000
01b: 0x5001afc03f016002
10b: naa.5001AFC03F016000

Also i found that RAID controllers are using 01b: for drive identification.
My proposal is to print 00b and 01b values. I think that SAS address is actually used as wwn. Please correct me if i`m wrong.

comment:2 by Alex Samorukov, 12 years ago

A few more commands. 00b is an address of the device itself. 01b is an address of the SAS port (device may have > 1) which served request.

comment:3 by Alex Samorukov, 12 years ago

Resolution: wontfix
Status: newclosed

There is no WWN in SCSI and LU serial number is already displayed. Closing ticket.

Note: See TracTickets for help on using tickets.