Platform9 Generic
Latest
Frequently Asked Questions
How To
Solution
Internal Only
Templates
Powered By

Title
Message
Create new category
What is the title of your new category?
Edit page index title
What is the title of the page index?
Edit category
What is the new title of your category?
Edit link
What is the new title and URL of your link?
How To Identify If Underlying Disk is HDD or SSD?
Copy Markdown
Open in ChatGPT
Open in Claude
Problem
How to identify if the underlying disk on the system is HDD or SSD?
Environment
- Platform9 Managed OpenStack - All Versions
- Platform9 Managed Kubernetes - All Versions
- CentOS
- Ubuntu
Procedure
- Use the
lsblkcommand to identify the type of disk attached to the server. In ROTA column the output '1' indicates the type of disk is HDD, for the SSD the value will be '0'.
Bash
xxxxxxxxxx# lsblk -o NAME,ROTANAME ROTAsda 0├─sda1 0├─sda2 0│ └─md126 0└─sda3 0 └─md125 0sdb 0├─sdb1 0├─sdb2 0│ └─md126 0└─sdb3 0 └─md125 0sdc 1└─360000000000000000e00000000010001 1sdd 1sde 1- It can be also identified using the file rotational file in sys filesystem as below to confirm if the disk is hdd or ssd.
Bash
xxxxxxxxxx# cat /sys/block/<sda/vda>/queue/rotationalAdditional Information
On a KVM guest virtual machine, the drive letter would be vda. The result will vary depend on the bus type selected during the virtual machine creation
VariableType to search · ESC to discard
GlossaryType to search · ESC to discard
InsertType to search · ESC to discard
No matches
Last updated on
Was this page helpful?
Discard Changes
Do you want to discard your current changes and overwrite with the template?
Archive Synced Block
Message
Create new Template
What is this template's title?
Delete Template
Message