LinuxQuestions.org
View the Most Wanted LQ Wiki articles.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Red Hat
User Name
Password
Red Hat This forum is for the discussion of Red Hat Linux.

Notices

Reply
 
Search this Thread
Old 03-16-2009, 07:17 AM   #1
bharatlalgupta
Member
 
Registered: Aug 2008
Posts: 79
Blog Entries: 1

Rep: Reputation: 16
Question sata hard disk is showing hd device


hi
i use RHEL5.0,
i'm using sata hdd on my pc, but when i execute this following command.
#fdisk -l
my hdd address is /dev/hda{1,2,3,4,5}
how this is possible that my hard disk is sata but showing hd device..
i read in one linux book that
only ide device show as hd device.
sata,scsi,usb device show as sd device ..
so plz,
post your advice for this topic..


sorry, for my bad english...
 
Old 03-16-2009, 07:36 AM   #2
GlennsPref
Senior Member
 
Registered: Apr 2004
Location: Brisbane, Australia
Distribution: Mageia Studio-13.37 Kubuntu.
Posts: 3,325
Blog Entries: 33

Rep: Reputation: 199Reputation: 199
Hi, I have two sata disks, the output of fdisk -l is...

Code:
[root@GamesBox bin]# fdisk -l

Disk /dev/sda: 250.0 GB, 250059350016 bytes
255 heads, 63 sectors/track, 30401 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0xdff1dff1

   Device Boot      Start         End      Blocks   Id  System
/dev/sda1   *           1        2805    22531131    7  HPFS/NTFS
/dev/sda2            2806       30401   221664870    f  W95 Ext'd (LBA)
/dev/sda5            2806        2876      570276   83  Linux
/dev/sda6            2877        3782     7277413+  83  Linux
/dev/sda7            3783        7391    28989261   83  Linux
/dev/sda8            7392        9981    20804143+  83  Linux
/dev/sda9            9982       12592    20972826   83  Linux
/dev/sda10          12593       13101     4088511   83  Linux
/dev/sda11          13102       15667    20611363+   c  W95 FAT32 (LBA)
/dev/sda12          15668       17740    16651341   83  Linux
/dev/sda13          17741       23471    46034226   83  Linux
/dev/sda14          23472       24747    10249438+  83  Linux
/dev/sda15          24748       30401    45415723+  83  Linux

Disk /dev/sdb: 160.0 GB, 160041885696 bytes
255 heads, 63 sectors/track, 19457 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x2ecb425f

   Device Boot      Start         End      Blocks   Id  System
/dev/sdb1   *         510       19457   152199810    f  W95 Ext'd (LBA)
/dev/sdb2               1         509     4088511   82  Linux swap / Solaris
/dev/sdb5             510        1528     8185086   83  Linux
/dev/sdb6            1529        5426    31310653+  83  Linux
/dev/sdb7            5427        7344    15406303+  83  Linux
/dev/sdb8            7345        9915    20651526    c  W95 FAT32 (LBA)
/dev/sdb9            9916       11672    14113071    c  W95 FAT32 (LBA)
/dev/sdb10          11673       18083    51496326   83  Linux
/dev/sdb11          18084       18772     5534361   83  Linux
/dev/sdb12          18773       19457     5502231   83  Linux

Partition table entries are not in disk order
[root@GamesBox bin]#
Is your bios set to use ahci or sata for the hd's?

I use ahci for both windows and GNU/Linux.

What kernel version do you run? type uname -a for the result...
Code:
[root@GamesBox bin]# uname -a
Linux GamesBox.GlennsPref.net 2.6.28-Preempt-0.rc8.1mnb #1 SMP PREEMPT Wed Mar 11 14:23:21 EST 2009 x86_64 AMD Athlon(tm) 64 X2Dual Core Processor 5600+ GNU/Linux
Hope that helps.

btw, LQ has a fantastic search function that may save you time waiting for an answer, or double posting your questions.

Cheers, Glenn

Last edited by GlennsPref; 03-16-2009 at 07:36 AM. Reason: spelling
 
Old 03-16-2009, 07:56 AM   #3
jschiwal
Guru
 
Registered: Aug 2001
Location: Fargo, ND
Distribution: SuSE AMD64
Posts: 15,733

Rep: Reputation: 654Reputation: 654Reputation: 654Reputation: 654Reputation: 654Reputation: 654
What are your kernel boot options? Which kernel version do you use? As of late, even ide drives show up as a scsi device.

There may be a BIOS option to present SATA drives as IDE drives.

Last edited by jschiwal; 03-16-2009 at 08:00 AM.
 
Old 03-16-2009, 02:06 PM   #4
lazlow
Senior Member
 
Registered: Jan 2006
Posts: 4,362

Rep: Reputation: 171Reputation: 171
RHEL/Cento5.x still uses the hdX designations for pata and the sdX designations for sata(normally). It will do so throughout its life cycle(assuming no customizations). RHEL6.X may make the switch to straight sdX designations for all, if the transfer speed bugs (among others) can be worked out.

GlennsPref is most likely on the right track. You probably have the bios set to emulate pata.
 
Old 03-17-2009, 01:15 AM   #5
anaspk
LQ Newbie
 
Registered: May 2006
Posts: 3

Rep: Reputation: 0
Quote:
Originally Posted by bharatlalgupta View Post
hi
i use RHEL5.0,
i'm using sata hdd on my pc, but when i execute this following command.
#fdisk -l
my hdd address is /dev/hda{1,2,3,4,5}
how this is possible that my hard disk is sata but showing hd device..
i read in one linux book that
only ide device show as hd device.
sata,scsi,usb device show as sd device ..
so plz,
post your advice for this topic..


sorry, for my bad english...
This problem is specific to the ahci driver, the driver was not initializing
all the dma buffers properly in ahci_port_start, would you please verify the
kernel-2.6.18-104.el5.RHEL5.3.sata and let me know as soon as possible. Thanks.
 
Old 03-17-2009, 01:40 AM   #6
bharatlalgupta
Member
 
Registered: Aug 2008
Posts: 79
Blog Entries: 1

Original Poster
Rep: Reputation: 16
Post kernel version

my linux kernel version is kernel-2.6.18-8.el5
thanks for reply
 
  


Reply

Tags
device, identification, sata


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
sata hard disk is showing hd device bharatlalgupta Linux - General 1 03-16-2009 11:08 AM
mounting linux files from another hard disk(IDE) to current hard disk(sata) the lord protector Linux - Hardware 5 05-04-2008 11:30 AM
SATA Hard disk(Windows) MBR corrupted by IDE hard disk(Linux) Peter_APIIT Fedora 6 07-07-2007 12:20 AM
Hitachi SATA Hard Drive not showing in Disks List in QTParted Elim_Garak Linux - Hardware 3 03-04-2007 03:20 PM
Hard disk size not showing correctly niranjan_mr Linux - Software 4 01-29-2005 06:10 AM


All times are GMT -5. The time now is 06:24 AM.

Main Menu
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