Linux Storage Info: Difference between revisions

From NovaOrdis Knowledge Base
Jump to navigation Jump to search
Line 19: Line 19:
=lshw=
=lshw=


If not installed, install with:
Execute [[lshw#Use|lshw]] to get disk information:
 
<pre>
yum install lshw
</pre>
 
Disk information:


<pre>
<pre>

Revision as of 03:49, 8 May 2017

Internal

hdparm

If not installed, install with:

yum install hdparm

Disk information:

hdparm -I /dev/sda

lshw

Execute lshw to get disk information:

lshw -short -C disk

smartctl

If not installed, install with:

yum install smartmontools


Disk information

smartctl -a -i /dev/sda