LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 06-04-2008, 08:57 AM   #1
johnfman
LQ Newbie
 
Registered: Sep 2007
Posts: 13

Rep: Reputation: 0
Question How to determine type of existing disk


I need to buy a disk to add to a customer box. The box (a Dell) is running CentOS 4.4. I dont want to get one that's incompatible with the existing disk(s) (that's happened once already to another customer). How do I determine what kind of disk (SATA, ATA, IDE, etc) is already installed.

Note: 'dmesg' returns a bunch of messages about an 'aacraid' device, and nothing else. Existing disk(s) is/are /dev/sda.

Thanks!

John F
 
Old 06-04-2008, 09:25 AM   #2
alan_ri
Senior Member
 
Registered: Dec 2007
Location: Croatia
Distribution: Debian GNU/Linux
Posts: 1,733
Blog Entries: 5

Rep: Reputation: 127Reputation: 127
Try hwinfo --disk,lshw or hdparm.Also you can check your /proc directory,for example cat /proc/pci.If that doesn't help try lsdev,lshal,lspci or lsscsi.You can check if you have hwdiag script,if not,it should be in the repos.

Last edited by alan_ri; 06-04-2008 at 09:41 AM. Reason: adding info
 
Old 06-04-2008, 12:32 PM   #3
taylorkh
Senior Member
 
Registered: Jul 2006
Location: North Carolina
Distribution: CentOS 6, CentOS 7 (with Mate), Ubuntu 16.04 Mate
Posts: 2,127

Rep: Reputation: 174Reputation: 174
sda originally refered to a SCSI drive although SATA drives also are named sda, sdb etc.

If you have access to the PC hit the F2 key when booting up and look at what the BIOS is recognizing. My Dell PC shows 2 SATA drives and a IDE/ATA DVD drive.

You basically have 3 types of disk ATA (aka PATA, IDE), SATA and SCSI. The third is most common in servers. Or pop the cover - ATA has a 40 or 80 wire ribbon data cable attached, SATA has as very small data cable attached.

If it is SCSI you should see a SCSI controller load at boot time. The cables are different although various styles are used. If you have a SCSI system... look at the label on the disk and let us know what model etc.

Ken

p.s. If you are actually running some sort of hardware RAID - that is a little out of my league.
 
  


Reply



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
Determine files type banajah Linux - Newbie 3 10-08-2007 06:00 PM
How to determine memory type? swagger Linux - Hardware 3 04-17-2006 08:15 PM
How to determine partition type? halturata Linux - General 2 08-11-2005 02:07 PM
How to determine partition type? halturata Linux - General 3 08-11-2005 03:11 AM
How do I determine file system type? lowpro2k3 Linux - General 5 07-09-2005 03:40 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 02:41 PM.

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