Knowledge Base Hub

Browse through our helpful how-to guides to get the fastest solutions to your technical issues.

Home  >  How-Tos  >  How To Check If Disk Is SSD OR Normal HDD ?

How To Check If Disk Is SSD OR Normal HDD ?

 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.

Special Offer!
For our Knowledge Base visitors only
Get 10% OFF! on Premium Hosting
Offer Valid till:
59
MINS
59
SECS
STORYSAVER
Claim Your Discount
No thanks, I'll pass
Note: Copy the coupon code and apply it on checkout.