?
Solved

Display Hard Drive Model # within VMWare

Posted on 2011-09-12
10
Medium Priority
?
2,930 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 122

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 122
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
Simplifying Server Workload Migrations

This use case outlines the migration challenges that organizations face and how the Acronis AnyData Engine supports physical-to-physical (P2P), physical-to-virtual (P2V), virtual to physical (V2P), and cross-virtual (V2V) migration scenarios to address these challenges.

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

Get free NFR key for Veeam Availability Suite 9.5

Veeam is happy to provide a free NFR license (1 year, 2 sockets) to all certified IT Pros. The license allows for the non-production use of Veeam Availability Suite v9.5 in your home lab, without any feature limitations. It works for both VMware and Hyper-V environments

Question has a verified solution.

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

Last article we focus in how to VMware: How to create and use VMs TAGs – Part 1 so before follow this article and perform the next tasks, you should read the first article how to create the TAG before using them in Veeam Backup Jobs.
This article will show you how to create an ISO CD-ROM/DVD-ROM image (*.iso), and MD5 checksum signature, for use with VMware vSphere Hypervisor 6.5 (ESXi 6.5). It's a good idea to compare checksums, because many installations fail because of a corr…
Teach the user how to install and configure the vCenter Orchestrator virtual appliance Open vSphere Web Client: Deploy vCenter Orchestrator virtual appliance OVA file: Verify vCenter Orchestrator virtual appliance boots successfully: Connect to the …
Teach the user how to install log collectors and how to configure ESXi 5.5 for remote logging Open console session and mount vCenter Server installer: Install vSphere Core Dump Collector: Install vSphere Syslog Collector: Open vSphere Client: Config…
Suggested Courses

771 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