Solved

Display Hard Drive Model # within VMWare

Posted on 2011-09-12
10
2,694 Views
Last Modified: 2012-06-22
Hi

Quick one - I need to display the hard drive make/model number on my VMWare host, but I dont want to have to turn it off.

Had a look around the client but can't see this information anywhere.

Possible?
0
Comment
Question by:hongedit
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 4
  • 3
  • 3
10 Comments
 
LVL 121

Accepted Solution

by:
Andrew Hancock (VMware vExpert / EE MVE^2) earned 500 total points
ID: 36523527
If the hard disk is presented independantly to a storage controller within ESXi/ESX server the serial number may be available when looking at the Storage Controllers.

If you have a RAID card, and have RAIDED the disk, then the serial number will not be available.

If this is a HP or Dell server, you may be able to check hardware status for that information, otherwise, you'll have to shutdown the server.
0
 
LVL 121
ID: 36523537
Also the same with make and model of hard drive.
0
 
LVL 1

Author Comment

by:hongedit
ID: 36523538
Its a HP Server but a non-HP disk, RAIDED using a P400i.

Ah well.
0
Ransomware-A Revenue Bonanza for Service Providers

Ransomware – malware that gets on your customers’ computers, encrypts their data, and extorts a hefty ransom for the decryption keys – is a surging new threat.  The purpose of this eBook is to educate the reader about ransomware attacks.

 
LVL 121
ID: 36523570
See screenshot

 storage controller
that is the model of the disk, attached to the SATA storage controller
0
 
LVL 1

Author Comment

by:hongedit
ID: 36523615
Mine just says this vm
0
 
LVL 7

Expert Comment

by:unSpawn
ID: 36523631
- hdparm:
for DISK in `eval echo /dev/[h,s]d?`; do hdparm -i $DISK; done

Open in new window


- HAL:
hal-device | awk '/block.storage_device/ {print $3}' |sort -u|while read UDI; do
 for KEY in info.product storage.firmware_version storage.serial storage.vendor storage.model; do
 echo "${KEY}: $(hal-get-property --udi ${UDI//\'/} --key $KEY)"; done; echo; done

Open in new window


- plain listing /dev/disk/by-id:
ls /dev/disk/by-id/|grep -v part

Open in new window


- listing /sys/block:
for DEVICE in `eval echo /sys/block/[h,s]d?/`; do
 INFOS=($(cat ${DEVICE}/device/{vendor,model} 2>/dev/null)); INFOS="${INFOS[*]}"
 echo "${DEVICE} ${INFOS:=(none)}"; done #  (doesn't work always)

Open in new window

0
 
LVL 1

Author Comment

by:hongedit
ID: 36523638
UnSpawn

Where do I run those???
0
 
LVL 7

Expert Comment

by:unSpawn
ID: 36523649
Sorry, disregard the above.
0
 
LVL 7

Expert Comment

by:unSpawn
ID: 36523796
hongedit: I didn't read the "within VMWare" part of your question. My apologies. The commands I posted can only be run in the host itself and will only work for (E)IDE and SATA drives, not other attached storage.
0
 
LVL 1

Author Comment

by:hongedit
ID: 36523806
No probs :)
0

Featured Post

Migrating Your Company's PCs

To keep pace with competitors, businesses must keep employees productive, and that means providing them with the latest technology. This document provides the tips and tricks you need to help you migrate an outdated PC fleet to new desktops, laptops, and tablets.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

In this article, I will show you HOW TO: Install VMware Tools for Windows on a VMware Windows virtual machine on a VMware vSphere Hypervisor 6.5 (ESXi 6.5) Host Server, using the VMware Host Client. The virtual machine has Windows Server 2016 instal…
In this article, I show you step by step with screenshots to assist you - HOW TO: Deploy and Install the VMware vCenter Server Appliance 6.5 (VCSA 6.5), with some helpful tips along the way.
Teach the user how to join ESXi hosts to Active Directory domains Open vSphere Client: Join ESXi host to AD domain: Verify ESXi computer account in AD: Configure permissions for domain user in ESXi: Test domain user login to ESXi host:
This video shows you how to use a vSphere client to connect to your ESX host as the root user. Demonstrates the basic connection of bypassing certification set up. Demonstrates how to access the traditional view to begin managing your virtual mac…

729 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question