VMware Cloud Community
isd503
Contributor
Contributor

Accurate Inventory of Hard Drives in ESX Host

Hello,

I need an accurate method of conducting an inventory of all the physical drives installed into each of our ESX hosts.  They are on ESXi 6.5.0.

We had two hard drives fail simultaneously in a Dell server.  We traced the problem to this bulletin:  Dell EMC Enterprise SSDs, model numbers LT0200MO, LT0400MO, LT0800MO, LT1600MO, LT0800RO, LT1600RO, ...  

We need to inventory all our Dell products to ensure there aren't any more of these drives in our environment.

Need help on this quickly!  Ideally, it will be something I can cut and paste into the CLI to obtain make, model and serial number of each physical hard drive installed.

Need detailed instructions with any code posted.  Thank you in advance for any help.

Reply
0 Kudos
3 Replies
IRIX201110141
Champion
Champion

racadm -r remote-esx-node-45 -u root -p **** storage get pdisks -o

It returns tons of informations as well as ProductID, Serial and so on.

The ESXi cant see the physical Disk when these behind a Raid Controller.  Dell offer countless management Tools which leverage iDRAC and OMSA. So take a look to racadm or the new REST API of iDRAC, OME, OMIVV.  We use OMIVV within our vSphere Environment.

Info: Dell now offer iDRAC Tools also for ESXi.

Regards,
Joerg

Reply
0 Kudos
isd503
Contributor
Contributor

Thank you for the response.

Do you have a standard method to do this without having to install additional software on the host?

Reply
0 Kudos
IRIX201110141
Champion
Champion

Yes... just install racadm on your favorite windows or linux pc and youre done.  Racadm is part of the iDRAC Tools or OpenManage Server Administrator. My example from above runs on my PC and query an iDRAC per remote which is located in my Dell PowerEdge Server. You can create a simple loop around.

C:\Windows\system32>racadm -r remote-esx-node-99 -u root -p **** storage get pdisks -o
Disk.Bay.0:Enclosure.Internal.0-1:NonRAID.Slot.6-1
   Status                           = Ok
   DeviceDescription                = Disk 0 in Backplane 1 of Storage Controller in Slot 6
   RollupStatus                     = Ok
   Name                             = Solid State Disk 0:1:0
   State                            = Non-Raid
   OperationState                   = Not Applicable
   PowerStatus                      = On
   Size                             = 894.254 GB
   FailurePredicted                 = NO
   RemainingRatedWriteEndurance     = 100
   SecurityStatus                   = Not Capable
   BusProtocol                      = SATA
   MediaType                        = SSD
   UsedRaidDiskSpace                = 0.001 GB
   AvailableRaidDiskSpace           = 0.001 GB
   Hotspare                         = NO
   Manufacturer                     = INTEL
   ProductId                        = SSDSC2BB960G7R
   Revision                         = N201DL43
   SerialNumber                     = PHDV734601CX960FGN
   PartNumber                       = TW0VXG5NITT0079201WUA00
   NegotiatedSpeed                  = 6.0 Gb/s
   ManufacturedDay                  = 0
   ManufacturedWeek                 = 0
   ManufacturedYear                 = 0
   ForeignKeyIdentifier             = null
   SasAddress                       = 0x500056B3402C6FC0
   FormFactor                       = 2.5 Inch
   RaidNominalMediumRotationRate    = 1
   T10PICapability                  = Not Capable
   BlockSizeInBytes                 = 512
   MaxCapableSpeed                  = 6 Gb/s
   RaidType                         = None
   SystemEraseCapability            = CryptographicErasePD
   SelfEncryptingDriveCapability    = Not Capable
   EncryptionCapability             = Not Capable
   CryptographicEraseCapability     = Not Capable

Regards,
Joerg

Reply
0 Kudos