Knowledge Base
MilesWeb / How-Tos

How To Check If Disk Is SSD OR Normal HDD ?

Approx. read time : 1 min

If you wish to know if HDD connected to your server is SSD (Solid State Drive) OR a normal HDD, you can simply login to your server via SSH & execute below command.

[root@server ~]# cat /sys/block/sda/queue/rotational

You should get 1 for normal HDD & 0 for a SSD (Solid State Drive). Linux automatically detected the SSD (Solid State Drive) with kernel 2.6.29 and later.

With over 10+ years of experience in the web hosting industry, I have achieved extensive exposure to result-oriented methodologies. And expertise in different domains like Datacentre Services, Cloud computing technology, Web hosting industry and many more.