How does the kernel determine if a SCSI disk is HDD (rotational) or SSD (non-rotational)?

Solution Verified - Updated -

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.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content