Ceph: SSD device detected as rotational (HDD)

Solution Verified - Updated -

Issue

  • Solid State Disk device detected as rotational (HDD).
  • Solid State Disk device seen as HDD device.
  • Solid State Disk seen (detected) as HDD.
  • When an OSD is replaced, the new disk is seen (detected) as an SSD. All disks were previously seen as HDD.
  • After disk replacement, data will not rebalance as there are not enough disks in the HDD class

    # ceph osd metadata 0
    {
    [...]
        "bluefs_db_rotational": "1",
        "bluefs_db_size": "32212254720",
        "bluefs_db_type": "hdd",
    [...]
    }
    

    Host-b:

    # smartctl -a /dev/sdb
    
    
    === START OF INFORMATION SECTION ===
    Vendor:               VMware
    Product:              Virtual disk
    Revision:             2.0
    Compliance:           SPC-4
    User Capacity:        214,748,364,800 bytes [214 GB]
    Logical block size:   512 bytes
    LU is fully provisioned
    Rotation Rate:        15000 rpm               <--- not really a spinning disk
    Device type:          disk
    

    Host-c:

    # smartctl -a /dev/sdb
    
    
    === START OF INFORMATION SECTION ===
    Vendor:               VMware
    Product:              Virtual disk
    Revision:             2.0
    Compliance:           SPC-4
    User Capacity:        214,748,364,800 bytes [214 GB]
    Logical block size:   512 bytes
    LU is thin provisioned, LBPRZ=1
    Rotation Rate:        Solid State Device      <--- SSD, this disk was just replaced
    Device type:          disk
    

Environment

  • Red Hat Ceph Storage (RHCS)
    • 3
    • 4
    • 5

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