[Info-vax] MSA$UTIL will list SAS disk serial numbers on new Smart Array controllers such as the Pxxx series of controllers.

brian bdcorbin at gmail.com
Thu May 24 13:37:52 EDT 2012


brian wrote:
> Is there a way to collect a SCSI/SAS disk serial number remotely in VMS
> from DCL?
>
> I've tested the OpenVMS ALpha V8.4 command line utilities below and they
> do not report the device serial number from the Vital Product data frame.
>
> -SCSI_INFO
> -cddvd$tools.cld ( tested on CDDROM and Hard disk. )
> %CDDVD-S-NOSERNUM, No device serial number data is available
> -SAS$UTIL
> -MSA$UTIL
>
> A friend has showed me an output from his OpenVMS System management Home
> page that can show the serial number for a direct attached SCSI disk (
> not connected to smart array) , I believe it uses
> SNMP to collect the data.
>
>
> regards Brian


An update on MSA$UTIL and SAS$UTIL command  show disk/full

My previous tests of MSA$UTIL was on Parallel SCSI Smart Array adapters 
such as the 5300 and 6400 series controllers, and these do not show the 
disk serial numbers. I recently had access to an rx2800 i2 servers with 
the integrated P410I Smart Array controller and the SHOW DISK/FULL 
command from MSA$UTIL will list the SAS disk serial number.

Further testing on Standard SAS controllers using the SAS$UTIL command 
Show Disk/full does not list the Serial Number.


Here is an example of MSA$util from an rx2800 I2 with OpenVMS 8.4

mcr msa$util
MSA>
MSA>


MSA> set controller pka0

MSA> show controller

Adapter: _PKA0: (DEFAULT)
    P410i            (c) HP                       50014380132B5980 
Software 5.06
    Port Address: 50014380-132b5980
Supported Redundancy Mode:   Not Available.
Cache:
    0 megabyte read/write cache
    Cache is disabled and Cache is not configured.
    No unflushed data in cache.
Battery:
    Battery is not reported as present.
MSA>


MSA> show disk/full

  SAS device                                              [Disk]
  Disk 1: bus: 1, Target id: 0, Port: 1I,  Box/Enclosure: 0, Bay: 1, 
size 279.40
  [300.00]GB
   Disk 1, # 0, size 585858420 blocks, (279.36 [299.96] GB), Unit 0.
   Disk 1, # 1, size 13544 blocks, (6.61 [6.93] MB), Unused.
  Connector Location              Internal
  Connector                       1I.
  Enclosure                       0.
  Bay                             1
  WWID                            0x5000cca0211ae4a1
  Device Type                     Disk
  Device Vendor ID                HP
  Device Product ID               EG0300FBDBR
  Device Serial Number                    PMVGTHEB
  Device Firmware Version         HPD6
  Reserved blocks                 65536. (32.000000 MB)
  Block Size(bytes/sector)        512.
  RPM                             10020.
  Compaq Drive Stamp(M&P Data Stamp)  Yes
  Last Failure Reason             None.
Physical Disk Flags:
    S.M.A.R.T. predictive failure supported 
   Yes.
    S.M.A.R.T. predictive failures recorded in the factory M&P data 
   No.
    S.M.A.R.T. predictive failure is enabled 
   Yes.
    S.M.A.R.T. predictive failures recorded in the since power M&P data 
   No.
    Drive attached to external connector 
   No.
    Drive is configured as part of a logical volume.
    write cache is changeable and drive has a "safe" write cache.

  SAS device                                              [Disk]
  Disk 2: bus: 1, Target id: 1, Port: 1I,  Box/Enclosure: 0, Bay: 2, 
size 279.40
  [300.00]GB
   Disk 2, # 0, size 585858420 blocks, (279.36 [299.96] GB), Unit 0.
   Disk 2, # 1, size 13544 blocks, (6.61 [6.93] MB), Unused.
  Connector Location              Internal
  Connector                       1I.
  Enclosure                       0.
  Bay                             2
  WWID                            0x5000cca0211b4561
  Device Type                     Disk
  Device Vendor ID                HP
  Device Product ID               EG0300FBDBR
  Device Serial Number                    PMVGZY5B
  Device Firmware Version         HPD6
  Reserved blocks                 65536. (32.000000 MB)
  Block Size(bytes/sector)        512.
  RPM                             10020.
  Compaq Drive Stamp(M&P Data Stamp)  Yes
  Last Failure Reason             None.
Physical Disk Flags:
    S.M.A.R.T. predictive failure supported 
   Yes.
    S.M.A.R.T. predictive failures recorded in the factory M&P data 
   No.
    S.M.A.R.T. predictive failure is enabled 
   Yes.
    S.M.A.R.T. predictive failures recorded in the since power M&P data 
   No.
    Drive attached to external connector 
   No.
    Drive is configured as part of a logical volume.
    write cache is changeable and drive has a "safe" write cache.

  SAS device                                              [Disk]
  Disk 3: bus: 1, Target id: 2, Port: 1I,  Box/Enclosure: 0, Bay: 3, 
size 279.40
  [300.00]GB
   Disk 3, Spare for unit 0
   Connector Location             Internal
  Connector                       1I.
  Enclosure                       0.
  Bay                             3
  WWID                            0x5000cca02116b291
  Device Type                     Disk
  Device Vendor ID                HP
  Device Product ID               EG0300FBDBR
  Device Serial Number                    PMVDGZ0B
  Device Firmware Version         HPD6
  Reserved blocks                 65536. (32.000000 MB)
  Block Size(bytes/sector)        512.
  RPM                             10020.
  Compaq Drive Stamp(M&P Data Stamp)  Yes
  Last Failure Reason             None.
Physical Disk Flags:
    S.M.A.R.T. predictive failure supported 
   Yes.
    S.M.A.R.T. predictive failures recorded in the factory M&P data 
   No.
    S.M.A.R.T. predictive failure is enabled 
   Yes.
    S.M.A.R.T. predictive failures recorded in the since power M&P data 
   No.
    Drive attached to external connector 
   No.
    Drive is configured as part of a logical volume.
    Drive is configured to be a spare.
    write cache is changeable and drive has a "safe" write cache.

  SAS device                                              [Disk]
  Disk 4: bus: 1, Target id: 3, Port: 1I,  Box/Enclosure: 0, Bay: 4, 
size 279.40
  [300.00]GB
   Disk 4, # 0, size 585858420 blocks, (279.36 [299.96] GB), Unit 1.
   Disk 4, # 1, size 13544 blocks, (6.61 [6.93] MB), Unused.
  Connector Location              Internal
  Connector                       1I.
  Enclosure                       0.
  Bay                             4
  WWID                            0x5000cca021181bb1
  Device Type                     Disk
  Device Vendor ID                HP
  Device Product ID               EG0300FBDBR
  Device Serial Number                    PMVE80KB
  Device Firmware Version         HPD6
  Reserved blocks                 65536. (32.000000 MB)
  Block Size(bytes/sector)        512.
  RPM                             10020.
  Compaq Drive Stamp(M&P Data Stamp)  Yes
  Last Failure Reason             None.
Physical Disk Flags:
    S.M.A.R.T. predictive failure supported 
   Yes.
    S.M.A.R.T. predictive failures recorded in the factory M&P data 
   No.
    S.M.A.R.T. predictive failure is enabled 
   Yes.
    S.M.A.R.T. predictive failures recorded in the since power M&P data 
   No.
    Drive attached to external connector 
   No.
    Drive is configured as part of a logical volume.
    write cache is changeable and drive has a "safe" write cache.

  SAS device                                              [Disk]
  Disk 5: bus: 1, Target id: 4, Port: 2I,  Box/Enclosure: 1, Bay: 5, 
size 279.40
  [300.00]GB
   Disk 5, # 0, size 585871964 blocks, (279.37 [299.97] GB), Unused.
  Connector Location              Internal
  Connector                       2I.
  Enclosure                       1.
  Bay                             5
  WWID                            0x5000cca02116f7fd
  Device Type                     Disk
  Device Vendor ID                HP
  Device Product ID               EG0300FBDBR
  Device Serial Number                    PMVDMLAB
  Device Firmware Version         HPD6
  Reserved blocks                 65536. (32.000000 MB)
  Block Size(bytes/sector)        512.
  RPM                             10020.
  Compaq Drive Stamp(M&P Data Stamp)  Yes
  Last Failure Reason             None.
Physical Disk Flags:
    S.M.A.R.T. predictive failure supported 
   Yes.
    S.M.A.R.T. predictive failures recorded in the factory M&P data 
   No.
    S.M.A.R.T. predictive failure is enabled 
   Yes.
    S.M.A.R.T. predictive failures recorded in the since power M&P data 
   No.
    Drive attached to external connector 
   No.
    write cache is changeable and drive has a "safe" write cache.

  SAS device                                              [Disk]
  Disk 6: bus: 1, Target id: 5, Port: 2I,  Box/Enclosure: 1, Bay: 6, 
size 279.40
  [300.00]GB
   Disk 6, # 0, size 585858420 blocks, (279.36 [299.96] GB), Unit 1.
   Disk 6, # 1, size 13544 blocks, (6.61 [6.93] MB), Unused.
  Connector Location              Internal
  Connector                       2I.
  Enclosure                       1.
  Bay                             6
  WWID                            0x5000cca0211b6a45
  Device Type                     Disk
  Device Vendor ID                HP
  Device Product ID               EG0300FBDBR
  Device Serial Number                    PMVH2DAB
  Device Firmware Version         HPD6
  Reserved blocks                 65536. (32.000000 MB)
  Block Size(bytes/sector)        512.
  RPM                             10020.
  Compaq Drive Stamp(M&P Data Stamp)  Yes
  Last Failure Reason             None.
Physical Disk Flags:
    S.M.A.R.T. predictive failure supported 
   Yes.
    S.M.A.R.T. predictive failures recorded in the factory M&P data 
   No.
    S.M.A.R.T. predictive failure is enabled 
   Yes.
    S.M.A.R.T. predictive failures recorded in the since power M&P data 
   No.
    Drive attached to external connector 
   No.
    Drive is configured as part of a logical volume.
    write cache is changeable and drive has a "safe" write cache.

  SAS device                                              [Disk]
  Disk 7: bus: 1, Target id: 6, Port: 2I,  Box/Enclosure: 1, Bay: 7, 
size 279.40
  [300.00]GB
   Disk 7, Spare for unit 1
   Connector Location             Internal
  Connector                       2I.
  Enclosure                       1.
  Bay                             7
  WWID                            0x5000cca0211ae17d
  Device Type                     Disk
  Device Vendor ID                HP
  Device Product ID               EG0300FBDBR
  Device Serial Number                    PMVGT8YB
  Device Firmware Version         HPD6
  Reserved blocks                 65536. (32.000000 MB)
  Block Size(bytes/sector)        512.
  RPM                             10020.
  Compaq Drive Stamp(M&P Data Stamp)  Yes
  Last Failure Reason             None.
Physical Disk Flags:
    S.M.A.R.T. predictive failure supported 
   Yes.
    S.M.A.R.T. predictive failures recorded in the factory M&P data 
   No.
    S.M.A.R.T. predictive failure is enabled 
   Yes.
    S.M.A.R.T. predictive failures recorded in the since power M&P data 
   No.
    Drive attached to external connector 
   No.
    Drive is configured as part of a logical volume.
    Drive is configured to be a spare.
    write cache is changeable and drive has a "safe" write cache.

  SAS device                                              [Disk]
  Disk 8: bus: 1, Target id: 7, Port: 2I,  Box/Enclosure: 1, Bay: 8, 
size 279.40
  [300.00]GB
   Disk 8, # 0, size 585871964 blocks, (279.37 [299.97] GB), Unused.
  Connector Location              Internal
  Connector                       2I.
  Enclosure                       1.
  Bay                             8
  WWID                            0x5000cca021194589
  Device Type                     Disk
  Device Vendor ID                HP
  Device Product ID               EG0300FBDBR
  Device Serial Number                    PMVEWVGB
  Device Firmware Version         HPD6
  Reserved blocks                 65536. (32.000000 MB)
  Block Size(bytes/sector)        512.
  RPM                             10020.
  Compaq Drive Stamp(M&P Data Stamp)  Yes
  Last Failure Reason             Init reset recovery aborted.
Physical Disk Flags:
    S.M.A.R.T. predictive failure supported 
   Yes.
    S.M.A.R.T. predictive failures recorded in the factory M&P data 
   No.
    S.M.A.R.T. predictive failure is enabled 
   Yes.
    S.M.A.R.T. predictive failures recorded in the since power M&P data 
   No.
    Drive attached to external connector 
   No.
    write cache is changeable and drive has a "safe" write cache.
MSA>








Here is an example of SAS$UTIL on a BL870C blade
$ mcr sas$util

SAS> set controller pka0

Selected controller _PKA0: is a LSISAS10xx device.

SAS> sho disk
Port _PKA0:
---- --- --- --- -------- ------- -------- ------------------ 
-----------------
  ID  Enc PHY Slt  Device   Type   Size(MB)    SAS Address       Product 
Name
---- --- --- --- -------- ------- -------- ------------------ 
-----------------
  03  DA  02  03   DKA300  SAS       70007  5000C500-0F39DFC5  HP 
DG072.. HPDC
  04  DA  03  04   DKA400  SAS       70007  5000C500-0F39BE2D  HP 
DG072.. HPDC
  01   -   -   -     DKA1  RAID 1    69617  E49D2A86-059215C0  LSIL 
Logic.. HP01L




SAS> sho disk/full
SAS ID: 3
         Product Name    : HP       DG072BB975       HPDC3
         SAS WWID        : 5000C500-0F39DFC5
         Phy Num         : 2
         Target ID       : 3
         Physical Slot   : 3
         Device Info     SSP Target   Direct Attached
         Device Flags    Device is present in SAS topology.
                         Device is mapped to a Bus and Target ID.
                         Device Bus and Target ID mapping is not persistent.
         Size            : 70007 MB / 143374738 blocks

SAS ID: 4
         Product Name    : HP       DG072BB975       HPDC3
         SAS WWID        : 5000C500-0F39BE2D
         Phy Num         : 3
         Target ID       : 4
         Physical Slot   : 4
         Device Info     SSP Target   Direct Attached
         Device Flags    Device is present in SAS topology.
                         Device is mapped to a Bus and Target ID.
                         Device Bus and Target ID mapping is not persistent.
         Size            : 70007 MB / 143374738 blocks

IR Volume ID: 1
         Product Name    : LSILOGIC Logical Volume   HP01L
         Size            : 69617 MB / 142577663 blocks
         Volume Type     : RAID 1 (LSI Logic Integrated Mirror)
         SAS Address     : 059215C0-E49D2A86




More information about the Info-vax mailing list