LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
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 01-20-2010, 04:25 PM   #1
ayvazyan
LQ Newbie
 
Registered: Jan 2010
Location: Armenia, Yerevan
Distribution: CentOS
Posts: 2

Rep: Reputation: 0
/dev/sda (SATA) devices detected as /dev/hda Please help


Hi.

I have an issue with Hard Drives in GNU/Linux CentOS 5.3

I installed linux 5.3 frash copy to new SATA MAXTOR 1000GB Hdd.
And see the partitions is

Code:
SATA MAXTOR 1000GB (NEW INSTALLATION CentOS 5.3)

/dev/sda1 Boot
/dev/sda3 /

(/dev/sda2 is the SWAP)
Then pluged the old SATA HITACHI 500GB Hdd for backup files, etc.
NOTE: the HITACHI 500GB Hard drive cantains old linux installation files (CentOS 5.2 Upgrated to 5.3)

After loading linux I see the Partitions show as

Code:
SATA MAXTOR 1000GB (NEW INSTALLATION CentOS 5.3)

/dev/hda1
/dev/hda3

SATA HITACHI 50GB (OLD LINUX FILES Just Pluged)

/dev/hdc1
/dev/hdc2
etc..
instead of sda and/or sdb

And gmesg said .... timeout..{....} ... (Now i do not remember ...)

When reboot and unplug the 500GB Drive i get the /dev/sda, etc. (all partitions show as sda in new drive)

So what is the reason if the partitions show as hda when i plug another drive ?

P.S.

1) I Formated old drive
2) Removed grub from old drive
3) And Now no errors. But still the partitions show as /dev/hdaX when i plug the second hard drive.

Great Thanks !!!
 
Old 01-22-2010, 05:00 AM   #2
whansard
Senior Member
 
Registered: Dec 2002
Location: Mosquitoville
Distribution: RH 6.2, Gen2, Knoppix, 98,2000 + various
Posts: 3,171

Rep: Reputation: 52
It is that the old ide drivers are loading instead of the libata sata drivers. If you recompile the kernel without support for ide/mfm/whatever, then libata will can make all the drives sd<>.
It's the device drivers>> ATA/ATAPI/RLL/MFM section i think. Disable that.
 
Old 01-23-2010, 03:17 AM   #3
ayvazyan
LQ Newbie
 
Registered: Jan 2010
Location: Armenia, Yerevan
Distribution: CentOS
Posts: 2

Original Poster
Rep: Reputation: 0
Great thanks. I'll probe it.
 
  


Reply

Tags
centos, drive, hard, hda, hdd, sda


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
Is it /dev/hda or /dev/sda? in opensuse 10.3 BK2 Suse/Novell 3 11-29-2007 09:13 PM
Linux 2.6.21.5 to 2.6.22.3: /dev/sda becomes /dev/hda CalcAndCoffee Linux - Laptop and Netbook 10 08-26-2007 11:08 AM
Install lilo on external drive (/dev/sda), then boot as INTERNAL (/dev/hda)? slackware-elf Slackware 3 08-18-2007 05:51 PM
Where is my HD? - not /dev/hda or /dev/sda ?? BrianK Linux - Hardware 11 04-24-2007 06:35 PM
where did my SATA drive go? not /dev/hde or /dev/sda edman007 Linux - Hardware 1 01-16-2005 11:23 PM


All times are GMT -5. The time now is 06:45 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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration