User Tools

Site Tools


wiki:spining_disk_ssd

Spining disk or SSD?

Use this to find out if the disk is regular spinning hard drive or SSD

lsblk -d -o name,rota

or

cat /sys/block/sda/queue/rotational

You should get 1 for hard disks and 0 for a SSD.

Does not work when the disks are in RAID array. Reports 1.

Tested on

See also

References

wiki/spining_disk_ssd.txt · Last modified: 2022/11/01 11:14 by antisa

Except where otherwise noted, content on this wiki is licensed under the following license: CC0 1.0 Universal
CC0 1.0 Universal Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki