Linux Storage Info: Difference between revisions

From NovaOrdis Knowledge Base
Jump to navigation Jump to search
No edit summary
Line 29: Line 29:
<pre>
<pre>
lshw -short -C disk
lshw -short -C disk
</pre>
=smartctl=
If not installed, install with:
<pre>
yum install smartmontools
</pre>
Disk information
<pre>
smartctl -d ata -a -i /dev/sda
</pre>
</pre>

Revision as of 15:54, 7 May 2017

Internal

hdparm

If not installed, install with:

yum install hdparm

Disk information:

hdparm -I /dev/sda

lshw

If not installed, install with:

yum install lshw

Disk information:

lshw -short -C disk

smartctl

If not installed, install with:

yum install smartmontools


Disk information

smartctl -d ata -a -i /dev/sda