Go Back   { mindfrost82.com } > Gadget Corner > Tech Newsgroups > Linux > Gentoo

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 02-27-2008, 03:31 PM
Chris Imker
 
Posts: n/a
only one sata drive is recognized

I want to install Gentoo 64 on an AMD64X2 system that has two unformatted
SATA drives (RAID System wanted). When I enter the BIOS setup, both drives
are shown. When I boot the Gentoo Minimal installation CD, there is
only /dev/sda. What may be wrong?
Eggert
Reply With Quote
  #2 (permalink)  
Old 02-27-2008, 03:56 PM
pk
 
Posts: n/a
Re: only one sata drive is recognized

Chris Imker wrote:

> I want to install Gentoo 64 on an AMD64X2 system that has two unformatted
> SATA drives (RAID System wanted). When I enter the BIOS setup, both drives
> are shown. When I boot the Gentoo Minimal installation CD, there is
> only /dev/sda. What may be wrong?


Nothing, if you have a hardware RAID. You should provide more info about
your motherboard and SATA controller. What's the output of "lspci -v"?

Reply With Quote
  #3 (permalink)  
Old 02-27-2008, 04:23 PM
pk
 
Posts: n/a
Re: only one sata drive is recognized

pk wrote:

> Chris Imker wrote:
>
>> I want to install Gentoo 64 on an AMD64X2 system that has two unformatted
>> SATA drives (RAID System wanted). When I enter the BIOS setup, both
>> drives are shown. When I boot the Gentoo Minimal installation CD, there
>> is only /dev/sda. What may be wrong?

>
> Nothing, if you have a hardware RAID. You should provide more info about
> your motherboard and SATA controller. What's the output of "lspci -v"?


And keep in mind that you can install Gentoo using *any* liveCD, even
knoppix, ubuntu or whatever one you like most (the more recent the better).
Just pick one that you know for sure supports your hardware.

Reply With Quote
  #4 (permalink)  
Old 02-27-2008, 04:24 PM
AZ Nomad
 
Posts: n/a
Re: only one sata drive is recognized

On Wed, 27 Feb 2008 17:31:21 +0100, Chris Imker <chris@nickname.berlin.de> wrote:
>I want to install Gentoo 64 on an AMD64X2 system that has two unformatted
>SATA drives (RAID System wanted). When I enter the BIOS setup, both drives
>are shown. When I boot the Gentoo Minimal installation CD, there is
>only /dev/sda. What may be wrong?
>Eggert


what is in /proc/scsi/scsi?
Reply With Quote
  #5 (permalink)  
Old 02-27-2008, 06:03 PM
Chris Imker
 
Posts: n/a
Re: only one sata drive is recognized

Chris Imker wrote:

> I want to install Gentoo 64 on an AMD64X2 system that has two unformatted
> SATA drives (RAID System wanted). When I enter the BIOS setup, both drives
> are shown. When I boot the Gentoo Minimal installation CD, there is
> only /dev/sda. What may be wrong?
> Eggert

Thanks for answers. Yes it seems the controller supports hardware raid. I
enabled SATA mode=AHCI in the BIOS, now I see both devices.
Eggert
Reply With Quote
  #6 (permalink)  
Old 02-27-2008, 08:07 PM
AZ Nomad
 
Posts: n/a
Re: only one sata drive is recognized

On Wed, 27 Feb 2008 20:03:02 +0100, Chris Imker <chris@nickname.berlin.de> wrote:
>Chris Imker wrote:


>> I want to install Gentoo 64 on an AMD64X2 system that has two unformatted
>> SATA drives (RAID System wanted). When I enter the BIOS setup, both drives
>> are shown. When I boot the Gentoo Minimal installation CD, there is
>> only /dev/sda. What may be wrong?
>> Eggert

>Thanks for answers. Yes it seems the controller supports hardware raid. I
>enabled SATA mode=AHCI in the BIOS, now I see both devices.


Just to nitpick, unless you have a $500 motherboard, it won't be hardware
raid. It is just a bios screen of settings and a windows driver to do
raid in software.
Reply With Quote
  #7 (permalink)  
Old 02-28-2008, 09:01 AM
pk
 
Posts: n/a
Re: only one sata drive is recognized

Chris Imker wrote:

> Thanks for answers. Yes it seems the controller supports hardware raid. I
> enabled SATA mode=AHCI in the BIOS, now I see both devices.


Now that was the problem. You probably don't have a hardware raid.

Reply With Quote
  #8 (permalink)  
Old 02-28-2008, 10:29 AM
Aragorn
 
Posts: n/a
Re: only one sata drive is recognized

Chris Imker wrote:

> Chris Imker wrote:
>
>> I want to install Gentoo 64 on an AMD64X2 system that has two unformatted
>> SATA drives (RAID System wanted). When I enter the BIOS setup, both
>> drives are shown. When I boot the Gentoo Minimal installation CD, there
>> is only /dev/sda. What may be wrong?

>
> Thanks for answers. Yes it seems the controller supports hardware raid. I
> enabled SATA mode=AHCI in the BIOS, now I see both devices.


Normally, if you have a real hardware RAID, the hardware-based set-up tool
will allow you to see all disks and compose a RAID array from them, but to
the operating system, the entire array will be seen only as one disk.

This is how it's supposed to be, as the RAID hardware will manage the
RAID-specific operations, and all the operating system needs to know about
it is how to communicate with the RAID controller.

This said, and as both the posters known as AZ Nomad and pk have stated, you
most likely have a hardware-assisted RAID array, which is the most
prevalent on-board RAID solution offered for SATA.

RAID arrays on these devices are sofware RAID-based but have some hardware
support for certain RAID operations, provided that you use the motherboard
manufacturer's RAID driver, which will in practice always be a binary-only,
proprietary Windows driver. Linux will simply see both hard disks as
individual storage entities and a RAID set-up on these devices must for the
Linux kernel therefore always be set up using the typical /dmraid/ tools,
just as with hard disks attached to any other, non-RAID controllers.

Hope this helps. ;-)

--
Aragorn
(registered GNU/Linux user #223157)
Reply With Quote
  #9 (permalink)  
Old 02-28-2008, 11:04 AM
pk
 
Posts: n/a
Re: only one sata drive is recognized

Aragorn wrote:

> RAID arrays on these devices are sofware RAID-based but have some hardware
> support for certain RAID operations, provided that you use the motherboard
> manufacturer's RAID driver, which will in practice always be a
> binary-only, proprietary Windows driver.


Well there's actually the dm* stuff for that kind of fake raids under linux.
However, I wouldnt' advise my worst enemy to use that kludge :-),
especially since pure software raid as provided by linux kernel almost
always works better.

> Linux will simply see both hard disks as individual storage entities and a
> RAID set-up on these devices must for the Linux kernel therefore always be
> set up using the typical /dmraid/ tools, just as with hard disks attached
> to any other, non-RAID controllers.


ITYM mdraid (yes, I always confuse the two myself)/mdadm or raidtools.

For a good list of which SATA chips are true hw raid and which are fakeraid,
and linux support, these pages might help:

http://tinyurl.com/d6rn7
http://linux-ata.org

Regards

Reply With Quote
  #10 (permalink)  
Old 02-28-2008, 11:43 AM
Aragorn
 
Posts: n/a
Re: only one sata drive is recognized

pk wrote:

> Aragorn wrote:
>
>> RAID arrays on these devices are sofware RAID-based but have some
>> hardware support for certain RAID operations, provided that you use the
>> motherboard manufacturer's RAID driver, which will in practice always be
>> a binary-only, proprietary Windows driver.

>
> Well there's actually the dm* stuff for that kind of fake raids under
> linux. However, I wouldnt' advise my worst enemy to use that kludge :-),
> especially since pure software raid as provided by linux kernel almost
> always works better.


Well, I will admit to my taste being typically more along the expensive side
of things, but a fast, robust, multitasking, multi-user UNIX-style
operating system like GNU/Linux actually deserves true SCSI storage. ;-)

The machine I'm setting up Xen and Gentoo on has an Adaptec 32105 SAS RAID
PCIe controller, with 4 Hitachi UltraStar 147 GB 15k SAS disks, which is a
reliable and fast solution. ;-)

As a sidenote regarding that machine, when I installed the Xen hypervisor
and Xen tools, it took less time for Portage to fetch the sources - I did
an "emerge --sync" first - and then compile them and install them than I am
used to seeing via .rpm-based utilities on binary distributions. :p

I guess the Source is with me, Obi-Wan. :p

--
Aragorn
(registered GNU/Linux user #223157)
Reply With Quote
Reply

  { mindfrost82.com } > Gadget Corner > Tech Newsgroups > Linux > Gentoo


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are Off
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT. The time now is 10:22 AM.


Powered by vBulletin, Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.1.0 ©2007, Crawlability, Inc.
© 1999-2008 mindfrost82.com v11.0

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109