Re: FC SAN UDID



John E. Malmberg wrote:

Mark Iline wrote:

Does anyone know if it is possible to access a Fibre Channel SAN disk's UDID via a SCSI sense mode or set mode command under OpenVMS ?


It is not a mode to be set or sensed.

HSG, HSV, and MSA Devices use a Digital Private SCSI commands to read / write the UDID.

The MSA and HSV will also allow the SCSI Report Device Identifier command to read the UDID. In these cases the value of 0 indicates no identifier set.

There are corresponding commands to set the UDID. I do not know if they are supported or implemented in the HSG or HSV.

The XP array does not appear to allow the UDID to be set through SCSI commands as the UDID is calculated based on other parameters.

Third party devices may or may not allow a UDID to be set.

The Alpha consoles only support using the Digital Private SCSI command to obtain a UDID. Integrity systems will support both.

Recent OpenVMS versions will first try the official SCSI command and then the Digital private command as a fallback.

Thanks. I think I had several misconceptions (and there may be several more where they came from...)

Am I right in thinking that the UDID is returned in "inquiry page 83h" ?

That being the case, if a storage controller returns a page with an appropriate UDID for each LUN in response to the official SCSI command, that would be enough for recent versions of OpenVMS to configure and use those devices ? [How recent a version ? 7.3-2 ?]

It's useful to know that the Alpha consoles only use the Digital private command. That means there's no point in trying to use wwidmgr as a test of whether a valid UDID is available. It would also make it more awkward, but not impossible, to boot.

Someone in the VMS storage group may be able to give you that information. Or if you have access to the source listings, you can see what OpenVMS does.

I can not give exact information as all my stuff is in a moving van at an unknown location.

Shame. *If* I'm right on the above, it would be really useful to know the way that the UDID is laid out in page 83h.


Mark
.



Relevant Pages

  • Re: FC SAN UDID
    ... disk's UDID via a SCSI sense mode or set mode command under OpenVMS? ... HSG, HSV, and MSA Devices use a Digital Private SCSI commands to read / write the UDID. ... Recent OpenVMS versions will first try the official SCSI command and then the Digital private command as a fallback. ...
    (comp.os.vms)
  • [PATCH] scsi: Add SHT->queuecommand_unlocked() for host_lock less I/O dispatch
    ... Note that by default ->queuecommand_unlocked is disabled, and all LLDs not ... Along with the changes to SCSI ML, this series includes the following LLD ... Host Adapter for any errors, so they should not be executed ... * @cmd: command to dispatch. ...
    (Linux-Kernel)
  • HSG60 SCSI write abort on unit, not disk
    ... I have a HSG60 controller with mirror sets on it. ... I have also included the description of the Instance and the SCSI ... SCSI Command Opcode: 42. ... Sense Data Qualifiers: 64. ...
    (Tru64-UNIX-Managers)
  • Re: Troubleshooting Adaptec 2010s RAID Controller
    ... >> So now it is a Readcommand is it? ... >> values that don't comply with SCSI commands or show a very unlikely ... The above is called a command descriptor block (CDB) and the ... > The Storage Manager controller log should help you determine if there is ...
    (comp.periphs.scsi)
  • [PATCH] scsi: Add SHT->unlocked_qcmd for host_lock less SHT->queuecommand() dispatch
    ... Along with the changes to SCSI ML, this series includes the following LLD ... Host Adapter for any errors, so they should not be executed ... int sas_queuecommand(struct scsi_cmnd *cmd, ... * @cmd: command to dispatch. ...
    (Linux-Kernel)