Ubuntu check ssd disk health8/13/2023 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. 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
0 Comments
Leave a Reply.AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |