Linux command to view disk controllers

Posted on 2007-10-17
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

    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

    Find Ransomware Secrets With All-Source Analysis

    Ransomware has become a major concern for organizations; its prevalence has grown due to past successes achieved by threat actors. While each ransomware variant is different, we’ve seen some common tactics and trends used among the authors of the malware.

    Join & Write a Comment

    It’s 2016. Password authentication should be dead — or at least close to dying. But, unfortunately, it has not traversed Quagga stage yet. Using password authentication is like laundering hotel guest linens with a washboard — it’s Passé.
    Join Greg Farro and Ethan Banks from Packet Pushers ( and Greg Ross from Paessler ( for a discussion about smart network …
    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…
    Connecting to an Amazon Linux EC2 Instance from Windows Using PuTTY.

    734 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

    Need Help in Real-Time?

    Connect with top rated Experts

    19 Experts available now in Live!

    Get 1:1 Help Now