Get your server issues fixed by our experts for a price starting at just 25 USD/Hour. Click here to register and open a ticket with us now!

Author Topic: Check whether a hard drive is SSD(Solid state Drive) or HDD(Hard disk drive  (Read 1960 times)

0 Members and 1 Guest are viewing this topic.

sanjaym

  • Guest
Storage options on servers can be SSD or HDD. Using the below command you can check whether a server uses SSD or HDD. 
 
[Replace sda with your hard drive path.]

$ cat /sys/block/sda/queue/rotational
1

Since it shows 1, it is not SSD. For SSD, the command output will show 0.