How To Find If The Disk Is SSD Or HDD In Linux

6 Responses

  1. Jalal says:

    Hi,
    It was very useful

  2. drtffc says:

    And what if…
    lsblk -o name, rota
    says:
    sda 1

    and
    lsblk -D
    says:

    NAME DISC-ALN DISC-GRAN DISC-MAX DISC-ZERO
    sda 0 4K 1G 0

    It is an ssd but on a kvm guest…

  3. drtffc says:

    Dear sk, have you ever heard about trimmable hdd?
    As far as I know it is an ssd feature.

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.