Linux command to view disk controllers

Posted on 2007-10-17
Medium Priority
Last Modified: 2013-12-16
Is there a Linux command that I can execute that will output the list of disk controllers in my system and if possible, what partitions are attached to each?

I have a VMWare ESX server running on an IBM x445 and I need to get this information without rebooting the machine if possible so that I don't disrupt access to any of the VMs.

Question by:amendala
1 Comment
LVL 14

Accepted Solution

arrkerr1024 earned 2000 total points
ID: 20095398
lspci will list all of the pci devices, including controllers.

take a look at /proc/ too, like /proc/scsi/scsi will show you scsi disk, which cards, chanels, etc... the drives are on.  You should be able to track down which partitions are where with a combination of mount and fdisk and info in /proc.

If your logs haven't rolled the kernel bootup messages show you a nice printout of disks, partitions, and controllers too.

Featured Post

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

This article will explain how to establish a SSH connection to Ubuntu through the firewall and using a different port other then 22. I have set up a Ubuntu virtual machine in Virtualbox and I am running a Windows 7 workstation. From the Ubuntu vi…
I. Introduction There's an interesting discussion going on now in an Experts Exchange Group — Attachments with no extension (http://www.experts-exchange.com/discussions/210281/Attachments-with-no-extension.html). This reminded me of questions tha…
Learn how to navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to move…
This demo shows you how to set up the containerized NetScaler CPX with NetScaler Management and Analytics System in a non-routable Mesos/Marathon environment for use with Micro-Services applications.
Suggested Courses
Course of the Month15 days, 15 hours left to enroll

850 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