Linux - NewbieThis 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
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
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.
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
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.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.