
Storcli64 /c0/eall/sall show all shows you all the information on all the disks.įurther reference data for those commands can be found here: Tells you raid levels, including nesting. Storcli64 /c0/d0 show shows you first controller, first drive group. Storcli64 show gives you the model of controller specifically, and the controller index, number of drive groups, and virtual drives.

Using that output, Google (for example) for LSI Logic / Symbios Logic MegaRAID SAS 2208.įind it uses the storcli utility to interrogate the RAID controller. Run something like lspci -knn | grep 'RAID bus controller'.
#Ubuntu check disk health how to#
If the manufacturer shows up in this list, see these answers for more details on how to get the RAID information for your card: Now that we have the manufacturer and model number, it should be possible to find the tools on their website, or at least be able to Google details on how to find and use the tools for that specific controller. Run lshw -class disk as root to only display the details about harddrives (which includes RAID information). lshwĪ third method (which gives quite a bit of output data) is to use the lshw command. A quick Google search shows that this card is also known as "AMCC 3Ware 9690SA-8I". Here we see the manufacturer is "AMCC" and the model number of the RAID card is "9690SA-8I". Note, if you are not using a RAID controller, the manufacturer and model number of your harddrive will show up here instead.
#Ubuntu check disk health install#
The command is not available on Debian and Ubuntu, but a quick sudo apt-get install lsscsi will fetch it from the repos. Here, the information we are looking for is "3ware Inc 9690SA SAS/SATA-II RAID PCIe". In order to find which RAID controller you are using, try one of the following commands: lspci # lspci -knn | grep 'RAID bus controller'Ġ8:00.0 RAID bus controller : 3ware Inc 9690SA SAS/SATA-II RAID PCIe (rev 01) Often, manufacturers will have tools that can be downloaded from their website which can be used to query the RAID controller and get this information. How to get the RAID information is going to depend entirely on the RAID controller you are using.

Is there a way for me to detect if I'm using hardware RAID from inside of Linux, and figure out all the information about it (such as type of RAID, available drives) without turning off the server, physically pulling the drives out, and reading their labels?Ĭan this information be gathered from inside of Linux, or is the point of hardware RAID to make the underlying system "invisible" to the operating system? With a bit of math, I can often figure out what type of RAID system is being used. When I manually pull the drives out of the server, I can tell I'm physically using the following drives: 0 Seagate 320GBīecause there is more physical storage in the server than available space in Linux, this means I'm obviously using some form of RAID system. When I'm inside of Linux, I can get the following information from lsblk (irrelevant drives removed from output): NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT
