LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   /dev/sda (SATA) devices detected as /dev/hda Please help (https://www.linuxquestions.org/questions/linux-newbie-8/dev-sda-sata-devices-detected-as-dev-hda-please-help-783581/)

ayvazyan 01-20-2010 03:25 PM

/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 !!!

whansard 01-22-2010 04:00 AM

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.

ayvazyan 01-23-2010 02:17 AM

Great thanks. I'll probe it.


All times are GMT -5. The time now is 12:02 AM.