Linux Storage Info: Difference between revisions

From NovaOrdis Knowledge Base
Jump to navigation Jump to search
Line 37: Line 37:
<pre>
<pre>
smartctl -a -i /dev/sda
smartctl -a -i /dev/sda
</pre>
=Mounted Filesystem Info=
<pre>
cat /proc/mounts
</pre>
</pre>

Revision as of 01:51, 23 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

Mounted Filesystem Info

cat /proc/mounts