Red Hat Bugzilla – Bug 1261208
[RFE] track whether disks are SSDs or not
Last modified: 2015-11-08 22:21:04 EST
It would be useful to be able to search for Beaker systems which have solid-state disks.
We can enhance lshw to report whether a disk is an SSD (actually it has some code to report rotation speed already, where 0 should indicate an SSD, but that doesn't seem to be working on here) and then store that in Beaker.
The best way to detect if a disk is an SSD is apparently to inspect /sys/block/sd*/queue/rotational, where 0 indicates that it's an SSD.