64 bit hardware raid boot failure

Status
Not open for further replies.

fischb22

Dabbler
Joined
Jul 6, 2012
Messages
11
i have a rackable systems 2U server, 4- 1 TB SATA drives in a RAID5 configuration, ive tried 2 different boot cds,

i get stuck at the spinning /-\ thing...


i was able to install windows 2008 server from the same usb drive.


anyone got any ideas?


thanks!
 

ProtoSD

MVP
Joined
Jul 1, 2011
Messages
3,348
Are you using hardware RAID?

It's possible there's not a driver for your controller....
 

jgreco

Resident Grinch
Joined
May 29, 2011
Messages
18,680
That's probably not hardware RAID then. Many cheap (read: Nvidia, etc) so-called "RAID" controllers are just SATA controllers with a little extra stuff that rely largely (i.e. mostly to completely) on software drivers to provide the RAID; the "RAID" aspect in many cases is just that there's enough BIOS-level support in the device's flash ROM that your system can boot from your RAID'd disks.

While booting, have you tried verbose mode? Might give a hint where it's hanging up.
 

fischb22

Dabbler
Joined
Jul 6, 2012
Messages
11
I don't get that far in the boot to select verbose mode

And it is full hardware raid, no software package involved. You define the array in the bios.(right after the post check, if your fast enough to hit f10 before it tries to boot.


When I get back home, I'll try to install FreeBSD and see if I have same issue,
 

jgreco

Resident Grinch
Joined
May 29, 2011
Messages
18,680
Just because you define an array in the BIOS doesn't mean it is hardware RAID. Can you maybe let us know something useful like what chipset it is?
 

jgreco

Resident Grinch
Joined
May 29, 2011
Messages
18,680
Software RAID. See my comment #6. It seems likely that it should allow FreeNAS to operate the ports as four regular SATA ports though.
 

fischb22

Dabbler
Joined
Jul 6, 2012
Messages
11
I was under the impression that since the os only sees one drive(the array, not the individual disks) that I have a true hardware array... Is this not correct?
 

jgreco

Resident Grinch
Joined
May 29, 2011
Messages
18,680
That is not correct.

On a hardware RAID card, the firmware on the card runs on a processor on the card, hopefully with a RAID-acceleration chip to do the computational work. What's presented to the OS appears to be a single drive, which the card then demultiplexes, mirrors, checksums, or whatever into the component channels that go to each drive. Crappy hardware RAID cards do the XOR computations on that processor on the card, better hardware RAID cards do the XOR computations on dedicated silicon controlled by the processor on the card (leaving the processor free to worry about other things). You seem like you generally understand this, so I won't get gory.

Almost all software RAID cards are "RAID optional", meaning that they are designed to be used as RAID, *OR* (often) as plain SATA controllers. Now think about what needs to happen. If you mark the card as being in RAID mode in the BIOS, it *has* to stop appearing to have SATA channels on it, or the OS might do something bad like try to format those "unformatted" disks out there. But now what happens next? The BIOS has to be smart enough to decipher the disks to load up the OS. But that's code running on your PC CPU. So the BIOS knows how to access the disks and read in your OS. Now comes the clever bit. Because modern CPU's are so damn fast, they're pretty much just as capable of doing RAID computations as cheap hardware RAID controllers are, and have been for a decade or more. So now the OS loads a special driver that ... looks at the controller, sees the disks, and turns around and presents a single drive to the OS. This feels no different than loading a special driver that's capable of talking to the processor on a hardware RAID card.

Your OS shouldn't see multiple disks in either case. You may be able to run a "RAID tools" package that shows the actual disks, but how do you tell the difference between using a device driver that is talking to an embedded processor (a hardware RAID card), and talking to a device driver that is actually managing the channels directly (software RAID)?

Anyways, the driver support doesn't exist in FreeBSD, which is no great loss since FreeNAS implements ZFS, which is better.

If you want to look at the current support in FreeBSD for software RAID, see man ataraid(4). It specifically lists NVIDIA MediaShield as a partially supported format, so I'd suggest not going that route.
 

fischb22

Dabbler
Joined
Jul 6, 2012
Messages
11
well, i turned off the raid option card in bios, and allow the 4 disks to be shown to freenas, it still freezes up in the same place.

any other ideas?
 

fischb22

Dabbler
Joined
Jul 6, 2012
Messages
11
ok, i turned off the sata controller in the bios completly

i was able to install FreeNAS to a 2 GB usb drive.

i booted from the drive.

i rebooted turning on the SATA controller (leaving the RAID controller off)

and it freezes at the same point.

i'm downloading the newest freebsd image, will try that later
 

jgreco

Resident Grinch
Joined
May 29, 2011
Messages
18,680
That's bad news, then. You can try to find out more information about the implementation that's used on your board, it's possible that there's some setting you can make to cause whatever's hanging to stop hanging, in case it isn't actually the SATA ports. However, there's no guarantee that the SATA ports are going to be compatible with FreeBSD. An external card may be a better bet.
 

fischb22

Dabbler
Joined
Jul 6, 2012
Messages
11
well this stinks, i played around with freenas on another PC and thought that it would work when i got a deal on this 2U rack :(
 
Status
Not open for further replies.
Top