LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 09-09-2020, 01:05 PM   #1
hazel
LQ Guru
 
Registered: Mar 2016
Location: Harrow, UK
Distribution: LFS, AntiX, Slackware
Posts: 8,207
Blog Entries: 20

Rep: Reputation: 4758Reputation: 4758Reputation: 4758Reputation: 4758Reputation: 4758Reputation: 4758Reputation: 4758Reputation: 4758Reputation: 4758Reputation: 4758Reputation: 4758
How do I find out what kind of hard drive I have


Today I was testing e2fsprogs as part of an LFS build. The tests are said to take a certain time (which would be about 36 minutes on my machine) when using a magnetic drive and about a quarter of that with an SSD drive. It seems that I have the latter. I didn't know that! How can I find out more about this?

PS /dev/disk/by-id calls it ata-WDC_WD5000AAKX-08U6AA0_WD-WCC2ECK7NNDE, which is Greek to me.

Last edited by hazel; 09-10-2020 at 04:16 AM.
 
Old 09-09-2020, 01:22 PM   #2
EdGr
Senior Member
 
Registered: Dec 2010
Location: California, USA
Distribution: I run my own OS
Posts: 1,058

Rep: Reputation: 492Reputation: 492Reputation: 492Reputation: 492Reputation: 492
Western Digital 500GB hard drive. https://www.amazon.com/Western-Digit.../dp/B000O78HRC
Ed
 
1 members found this post helpful.
Old 09-09-2020, 01:23 PM   #3
teckk
LQ Guru
 
Registered: Oct 2004
Distribution: Arch
Posts: 5,384
Blog Entries: 7

Rep: Reputation: 1946Reputation: 1946Reputation: 1946Reputation: 1946Reputation: 1946Reputation: 1946Reputation: 1946Reputation: 1946Reputation: 1946Reputation: 1946Reputation: 1946
Quote:
WDC_WD5000AAKX-08U6AA0_WD-WCC2ECK7NNDE
That a Western Digital 500GB (Blue) hard drive.
https://www.amazon.com/Western-Digit.../dp/B00Y3DSLD8
 
1 members found this post helpful.
Old 09-09-2020, 09:48 PM   #4
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 21,359

Rep: Reputation: 4180Reputation: 4180Reputation: 4180Reputation: 4180Reputation: 4180Reputation: 4180Reputation: 4180Reputation: 4180Reputation: 4180Reputation: 4180Reputation: 4180
Code:
cat /sys/block/sda/queue/rotational
1 means yes so HDD, 0 means no so SSD.
 
2 members found this post helpful.
Old 09-10-2020, 03:01 AM   #5
elcore
Senior Member
 
Registered: Sep 2014
Distribution: Slackware
Posts: 1,856

Rep: Reputation: Disabled
Platters do make a sound every time they read/write, ssd never does.
WD page on wikipedia notes the color codes also, I did some research on that long time ago when I was looking for high performance drive.
I do a lot of archiving it's I/O intensive so I went to get WD Black, thought about raptor but it was too expensive at the time.

Another thing they do these days is they integrate a SSD into the drive to serve as some sort of cache.
So it's probably worth to check the specs before getting a new one, it's a trade-off between longetivity and performance I guess.
 
Old 09-10-2020, 04:19 AM   #6
hazel
LQ Guru
 
Registered: Mar 2016
Location: Harrow, UK
Distribution: LFS, AntiX, Slackware
Posts: 8,207

Original Poster
Blog Entries: 20

Rep: Reputation: 4758Reputation: 4758Reputation: 4758Reputation: 4758Reputation: 4758Reputation: 4758Reputation: 4758Reputation: 4758Reputation: 4758Reputation: 4758Reputation: 4758
So it is a normal hard drive after all.
Code:
$ cat /sys/block/sda/queue/rotational
1
I can hear the noise quite clearly when it starts up. But I wonder why my tests ran so fast. They all passed too.
 
Old 09-10-2020, 05:42 AM   #7
EdGr
Senior Member
 
Registered: Dec 2010
Location: California, USA
Distribution: I run my own OS
Posts: 1,058

Rep: Reputation: 492Reputation: 492Reputation: 492Reputation: 492Reputation: 492
Quote:
Originally Posted by hazel
But I wonder why my tests ran so fast. They all passed too.
The OS caches the most recently-used disk blocks in memory. Caching reduces the number of disk reads and makes the computer less sensitive to disk performance (after the first run).
Ed
 
1 members found this post helpful.
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
how do I find out what kind of graphics card I have? freethemushrooms Linux - Newbie 7 02-09-2015 05:25 AM
Find out what kind of Network card you have installed from command line Derage Linux - Hardware 2 08-19-2013 04:36 PM
Find out what kind of memory devices I have xpucto Linux - Newbie 1 03-11-2007 05:38 AM
How do I find out what kind of sound card I have (lspci didn't work) yimboli General 3 01-03-2006 10:32 PM
how can i find out what kind of hard drive i have? slinky2004 Linux - Hardware 3 11-04-2005 07:45 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 10:28 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration