LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
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 09-24-2009, 09:34 AM   #1
piyush.ml20
LQ Newbie
 
Registered: Aug 2008
Location: india
Distribution: rhel 5 server
Posts: 27

Rep: Reputation: 15
Question fdisk -l shows sata hdd as hda ??


i m using rhel5
the fdisk -l shows sata hdd as hda whereas usb drive as sda.
thx in adv.
 
Old 09-24-2009, 10:36 PM   #2
lazlow
Senior Member
 
Registered: Jan 2006
Posts: 4,363

Rep: Reputation: 172Reputation: 172
In some motherboards the bios has an option to treat sata drives like pata drives. I suspect yours is set this way.
 
Old 09-25-2009, 07:50 AM   #3
piyush.ml20
LQ Newbie
 
Registered: Aug 2008
Location: india
Distribution: rhel 5 server
Posts: 27

Original Poster
Rep: Reputation: 15
my mobo is intel q35.
the bios is set to treat sata as sata.
also why it is showing pendrive as sda.
it shuld show it as hdb i guess.
 
Old 09-25-2009, 08:48 AM   #4
lazlow
Senior Member
 
Registered: Jan 2006
Posts: 4,363

Rep: Reputation: 172Reputation: 172
Usb devices are normally treated as sdX type drives.
 
Old 09-25-2009, 08:55 AM   #5
piyush.ml20
LQ Newbie
 
Registered: Aug 2008
Location: india
Distribution: rhel 5 server
Posts: 27

Original Poster
Rep: Reputation: 15
on my frnd computer rhel5 is showing pendrive as hdb.
what hd and sd stands for.
also can we edit this naming scheme.
 
Old 09-25-2009, 10:06 AM   #6
ongte
Member
 
Registered: Jun 2009
Location: Penang, Malaysia
Distribution: Mageia, CentOS, Ubuntu
Posts: 468

Rep: Reputation: 72
For SATA hard drives to appear as sd* in RHEL5, the BIOS SATA controller must be set to AHCI mode. Instead of the usual ATA mode. This is usually in the BIOS somewhere. You should do it because using SATA drives in ATA mode limits it's performance.
 
Old 09-26-2009, 07:22 AM   #7
piyush.ml20
LQ Newbie
 
Registered: Aug 2008
Location: india
Distribution: rhel 5 server
Posts: 27

Original Poster
Rep: Reputation: 15
yes i also find it.below vista and linux kernel 2.6.19 doesnot support sata by default.
thx for ur help.
 
Old 09-26-2009, 07:35 AM   #8
lazlow
Senior Member
 
Registered: Jan 2006
Posts: 4,363

Rep: Reputation: 172Reputation: 172
You really cannot compare a RHEL .19 kernel with a vanilla .19 kernel. RH back patches their kernels to bring them up to current security levels and near current hardware support levels. So, yes the default RHEL 5.X kernels do support sata.

If you are happy with vista, then by all means use it.
 
Old 09-26-2009, 07:49 AM   #9
piyush.ml20
LQ Newbie
 
Registered: Aug 2008
Location: india
Distribution: rhel 5 server
Posts: 27

Original Poster
Rep: Reputation: 15
i m not comparing diff kernels.it's on wikipedia that kernel below 2.6.19 doesnot support ahci n raid support by default.
 
Old 09-26-2009, 09:52 AM   #10
lazlow
Senior Member
 
Registered: Jan 2006
Posts: 4,363

Rep: Reputation: 172Reputation: 172
Yes, but what you have to understand is that RH ADDS stuff to their kernels by back patching their kernels. Once any one version is released it will always have the same base kernel. In the RHEL5.X series it will always have a 2.6.19 based kernel, BUT they back patch that kernel to current security levels and near current hardware support levels (as close as they can come and still maintain compatibility). RHEL5.3's 2.6.18-164 is far closer to a vanilla .27 kernel than it is to a vanilla .19 kernel.
 
Old 09-26-2009, 10:15 AM   #11
piyush.ml20
LQ Newbie
 
Registered: Aug 2008
Location: india
Distribution: rhel 5 server
Posts: 27

Original Poster
Rep: Reputation: 15
chk this
"AHCI is fully supported out of the box for Microsoft Windows Vista and the Linux operating system from kernel 2.6.19" at

http://en.wikipedia.org/wiki/Advance...ller_Interface

i understand redhat 2.6.19 is different from vanilla 2.6.19.
but the statement i guess means any flavour of linux whose kernel version is 2.6.19 or greater will support ahci mode by default.that doesn't mean diff linux flavours have same kernel.

sorry maybe i m not getting your point or vice-versa.
 
Old 09-26-2009, 10:50 AM   #12
lazlow
Senior Member
 
Registered: Jan 2006
Posts: 4,363

Rep: Reputation: 172Reputation: 172
Because RH ADDS stuff(back patches) to their kernels without changing the revision number (.19 in RHEL5.X) it supports a LOT of things that are not supported in a vanilla .19 kernel. Therefore any statements about the limitations of a vanilla kernel (your wiki link) do not necessarily apply to a RH kernel. As I stated before:

Quote:
RHEL5.3's 2.6.18-164 is far closer to a vanilla .27 kernel than it is to a vanilla .19 kernel.
As I am currently running 5.3 on a sata drive I can assure you it does in fact support sata and has since at least 5.0.

Last edited by lazlow; 09-26-2009 at 10:53 AM.
 
Old 09-26-2009, 05:00 PM   #13
DrLove73
Senior Member
 
Registered: Sep 2009
Location: Srbobran, Serbia
Distribution: CentOS 5.5 i386 & x86_64
Posts: 1,118
Blog Entries: 1

Rep: Reputation: 129Reputation: 129
Here is what all the fuss is about:

Quote:
Originally Posted by piyush.ml20 View Post
yes i also find it.below vista and linux kernel 2.6.19 doesnot support sata by default.
thx for ur help.
piyush.ml20 wrote "below vista and linux kernel 2.6.19" and meant "below vista and (below) linux kernel 2.6.19" not below vista and (for) linux kernel 2.6.19.

So you both are saying the same thing.
 
Old 09-27-2009, 07:03 AM   #14
piyush.ml20
LQ Newbie
 
Registered: Aug 2008
Location: india
Distribution: rhel 5 server
Posts: 27

Original Poster
Rep: Reputation: 15
yes dr love u absolutely got my point.
i hope now lazlow will also understand.
 
Old 09-27-2009, 07:55 AM   #15
lazlow
Senior Member
 
Registered: Jan 2006
Posts: 4,363

Rep: Reputation: 172Reputation: 172
What I said about RH back patching kernels still applies. RHEL4.X runs a 2.6.9 based kernel and RHEL4.X's 2.6.9-89 (and earlier) kernel supports sata too.
 
  


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
fdisk: unable to open /dev/hda andykerouac Linux - Newbie 7 07-18-2008 07:49 AM
slax proc # fdisk hda Unable to open hda farhan Linux - General 1 03-18-2007 11:23 AM
fdisk /dev/hda not enough space jonnyblinux Linux - Software 7 10-05-2005 03:22 PM
fdisk -l shows external HD...can't mount tho dauphinfay Linux - Hardware 8 07-28-2005 01:56 PM
fdisk gives unable to read /dev/hda... mbr is gone... what can it be? slackie1000 Linux - Hardware 5 01-27-2004 04:29 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Red Hat

All times are GMT -5. The time now is 10:16 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
Open Source Consulting | Domain Registration