> For the complete documentation index, see [llms.txt](https://platform9.com/kb/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://platform9.com/kb/generic/solution/how-to-identify-if-underlying-disk-is-hdd-or-ssd.md).

# How To Identify If Underlying Disk is HDD or SSD?

## 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

1. Use the`lsblk` command 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'.

{% tabs %}
{% tab title="Bash" %}

```bash
# lsblk -o NAME,ROTA
NAME                                                                   ROTA
sda                                                                       0
├─sda1                                                                    0
├─sda2                                                                    0
│ └─md126                                                                 0
└─sda3                                                                    0
 └─md125                                                                  0
sdb                                                                       0
├─sdb1                                                                    0
├─sdb2                                                                    0
│ └─md126                                                                 0
└─sdb3                                                                    0
 └─md125                                                                  0
sdc                                                                       1
└─360000000000000000e00000000010001                                       1
sdd                                                                       1
sde                                                                       1
```

{% endtab %}
{% endtabs %}

2. It can be also identified using the file rotational file in sys filesystem as below to confirm if the disk is hdd or ssd.

{% tabs %}
{% tab title="Bash" %}

```bash
# cat /sys/block/<sda/vda>/queue/rotational
```

{% endtab %}
{% endtabs %}

## Additional 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


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://platform9.com/kb/generic/solution/how-to-identify-if-underlying-disk-is-hdd-or-ssd.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
