Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

Display Hard Drive Model # within VMWare

Posted on 2011-09-12
10
Medium Priority
?
3,248 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 124

Accepted Solution

by:
Andrew Hancock (VMware vExpert / EE MVE^2) earned 2000 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 124
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
VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

 
LVL 124
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

What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

Question has a verified solution.

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

If we need to check who deleted a Virtual Machine from our vCenter. Looking this task in logs can be painful and spend lot of time, so the best way to check this is in the vCenter DB. Just connect to vCenter DB(default DB should be VCDB and using…
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 configure vSphere Replication and how to protect and recover VMs Open vSphere Web Client: Verify vsphere Replication is enabled: Enable vSphere Replication for a virtual machine: Verify replicated VM is created: Recover replica…
Advanced tutorial on how to run the esxtop command to capture a batch file in csv format in order to export the file and use it for performance analysis. He demonstrates how to download the file using a vSphere web client (or vSphere client) and exp…

636 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