wiki:spining_disk_ssd
Table of Contents
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 10:14 by antisa