Get Paid to Participate - up to $1 per post!     Twitter     Facebook     Google+
Hosting Discussion
 

Hosting Discussion > Web Hosting Forums > VPS, Dedicated & Colocation Hosting > How to Find Out if a Drive is a SSD or an HDD
forgot password?



Reply


Old
  Post #1 (permalink)   11-14-2016, 07:31 PM
HD Newbie
 
Join Date: Nov 2016
Posts: 8
Send a message via Skype™ to 24x7CSM

Status: 24x7CSM is offline
in order to check if you have received SSD or HDD try the below method

On the latest kernels the SSD disks are automatically detected.

To fine Hard drive path

use

fdisk -l

Replace sda with your hard drive path.

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

The result of the command will be a number

1 means you have a HDD
0 means you have a SSD

Enjoy!!!
__________________
||Eminds Infotech Pvt. Ltd ||9th Year of Server Management||
||Cpanel Server Management ||24x7 Technical Support||Migration Experts||
||info at 24x7cloudservermanagement.com||Skype-live:info_535562||
||https://www.24x7cloudservermanagement.com||

Last edited by 24x7CSM : 11-14-2016 at 07:47 PM.
 
 
 


Old
  Post #2 (permalink)   12-03-2016, 07:08 PM
HD Newbie
 
Join Date: Jun 2016
Posts: 27

Status: stackltd is offline
You can use smartctl or hdparm tool to find out the exact model of hard drive.
__________________
Stack Network Ltd
Asia Optmized Virtual Private Servers, Dedicated Servers and Colocation! Low Latency and Helpful Support!
 
 


Old
  Post #3 (permalink)   01-11-2017, 12:20 AM
HD Newbie
 
Join Date: Apr 2013
Posts: 25

Status: HostNIT is offline
Hmm...Any word on if the server is using hardware raid? Because its coming back false positive with the code above.
__________________
===================
Host NIT Inc
Powering cPanelhosting.com
Shared | Reseller | VPS | Dedicated
 
 
 


Old
  Post #4 (permalink)   01-18-2017, 08:20 AM
HD Addict
 
Join Date: Sep 2014
Location: India
Posts: 112
Send a message via Skype™ to 24x7server

Status: 24x7server is offline
Hi,

You can also test the below commands:

#lsblk -d -o name,rota
--> output will be as "1 if SSD, 0 if HDD"

# lsblk -t

For Hardware RAID, try something as below. May be based on the model you can find information:
# tw_cli show
# tw_cli /c2 show
__________________
www.24x7servermanagement.com
Server Management, Server Security, Server Monitoring.
Network Monitoring Team !! Skype: techs24x7
 
 
Reply

Thread Tools

New Post New Post   Old Post Old Post
Posting Rules:
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Sponsored By: