How does the kernel determine if a SCSI disk is HDD (rotational) or SSD (non-rotational)?
Issue
-
SSD drives have the rotational value within sysfs set to 1 versus the expected 0.
# grep -Hv "zz" /sys/block/sd*/queue/rotational /sys/block/sda/queue/rotational:1 /sys/block/sdb/queue/rotational:1 /sys/block/sdc/queue/rotational:1
-
Is there a way to force the disk to be set to SSD vs HDD?
Environment
- Red Hat Enterprise Linux
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.