LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Other *NIX Forums > *BSD
User Name
Password
*BSD This forum is for the discussion of all BSD variants.
FreeBSD, OpenBSD, NetBSD, etc.

Notices


Reply
  Search this Thread
Old 07-07-2006, 02:12 AM   #1
socceroos
Member
 
Registered: Aug 2005
Location: Australia
Distribution: Ubuntu, FreeBSD, Fedora
Posts: 125

Rep: Reputation: 16
Exclamation FreeBSD 6.1 wont install on RAID 0 Array!


Its a Hardware Raid Array, specifically, LSI Logic MegaRAID SATA controller.

While booting, FreeBSD detects the array properly and sees it as one logical hard drive.

FreeBSD installs properly as well, but when I reboot I get the error message:

### START ERROR MESSAGE ###

Not ufs
Not ufs
No /boot/loader

FreeBSD/i386 boot
Default: 0:ad(0,a)/boot/kernel/kernel
boot:
Not ufs
no /boot/kernel/kernel

FreeBSD/i386 boot
Default: 0:ad(0,a)/boot/kernel/kernel
boot:

### END ERROR MESSAGE ###

And it wont boot into FreeBSD. It just stops there.

Any help would be much appreciated!
 
Old 07-09-2006, 06:10 PM   #2
socceroos
Member
 
Registered: Aug 2005
Location: Australia
Distribution: Ubuntu, FreeBSD, Fedora
Posts: 125

Original Poster
Rep: Reputation: 16
The Raid Array has three disks, all 80Gb. The stripe size is 64Kb, but I have also tried to install FreeBSD with the stripe size at 128Kb (the maximum my RAID controller supports) still with the same errors.

But interestingly, when I changed the stripe size to 128Kb, FreeBSD didn't give me the "Not ufs" error but just hung with the spinning "/".
 
Old 07-09-2006, 06:44 PM   #3
socceroos
Member
 
Registered: Aug 2005
Location: Australia
Distribution: Ubuntu, FreeBSD, Fedora
Posts: 125

Original Poster
Rep: Reputation: 16
Just as an extra, while booting into CD1 of the FreeBSD 6.1 install, I noticed that three lines appeared (once for each disk) that said the following:

lsiv3 > 2 disk support untested!


Does this mean that I cannot install FreeBSD on my hardware RAID controller?
 
Old 07-09-2006, 06:54 PM   #4
frob23
Senior Member
 
Registered: Jan 2004
Location: Roughly 29.467N / 81.206W
Distribution: OpenBSD, Debian, FreeBSD
Posts: 1,450

Rep: Reputation: 48
Do you remember if FreeBSD saw your array as ad0 and that's where you installed it to? I have a feeling that it might not be looking at the right device to find the root filesystem. Of course, this is a hunch -- I don't have a hardware raid or experience with it.
 
Old 07-09-2006, 07:37 PM   #5
socceroos
Member
 
Registered: Aug 2005
Location: Australia
Distribution: Ubuntu, FreeBSD, Fedora
Posts: 125

Original Poster
Rep: Reputation: 16
The three disks are detected as ad4 ad6 and ad8. The RAID Array is detected as ar0 and the size (240Gb) is correct for the three disks.

FreeBSD gives me the options to install on the disks (ad[4,6,8]) OR on the array (ar0). I have tried installing it on just a disk and on the array but the same problem occurs.

To me, it seems as though FreeBSD doesn't know to look on the next disk for the next 128Kb of information, hence displaying the error "Not ufs" because it sees the disks individually and not as an array. But, then again, the install does seem to detect the array properly.

Its frustrating. I'm trying to get this server up and running ASAP because it is becoming my company's new database server. Does anyone know of a solution?
 
Old 07-09-2006, 08:07 PM   #6
frob23
Senior Member
 
Registered: Jan 2004
Location: Roughly 29.467N / 81.206W
Distribution: OpenBSD, Debian, FreeBSD
Posts: 1,450

Rep: Reputation: 48
Try typing
Code:
ar(0,a)/boot/kernel/kernel
At the prompt where it fails. That should boot it. Then, to make it stick, I'll have to get back to you on that. I'm sure it's just a matter of editing /boot/loader.conf but I forget how to do it.

Also note: from the prompt you can try lsdev to see all the possible devices (if for some reason ar isn't working).

Last edited by frob23; 07-09-2006 at 08:10 PM.
 
Old 07-09-2006, 08:51 PM   #7
socceroos
Member
 
Registered: Aug 2005
Location: Australia
Distribution: Ubuntu, FreeBSD, Fedora
Posts: 125

Original Poster
Rep: Reputation: 16
Thankyou, I'll give that a try.

At the moment it's telling me there is no boot device, so I can't even see the boot prompt anymore. So I'll try and fix that first.
 
Old 07-09-2006, 09:13 PM   #8
socceroos
Member
 
Registered: Aug 2005
Location: Australia
Distribution: Ubuntu, FreeBSD, Fedora
Posts: 125

Original Poster
Rep: Reputation: 16
Nope, the solution you suggested didn't work. It just gave me one system beep and then displayed the boot prompt again.

When I type in 'lsdev' at the boot prompt it just says:

Not ufs
No lsdev

FreeBSD/i386 boot
Default: 0:ad(0,a)lsdev
boot:

Hmmm, what to do...

Interestingly, the suggestion you gave doesn't give me any "Not ufs" or "No /boot/kernel/kernel" errors. But it didn't boot into FreeBSD either.

Last edited by socceroos; 07-09-2006 at 09:18 PM.
 
Old 07-09-2006, 09:24 PM   #9
socceroos
Member
 
Registered: Aug 2005
Location: Australia
Distribution: Ubuntu, FreeBSD, Fedora
Posts: 125

Original Poster
Rep: Reputation: 16
After some more fiddling at the "boot:" prompt I have noticed that when I type in "ad(1,a)/boot/kernel/kernel" it gives me the error:

error 8 lba 0
No /boot/kernel/kernel

Is that anything significant? Or am I chasing shadows?
 
Old 07-11-2006, 10:01 PM   #10
socceroos
Member
 
Registered: Aug 2005
Location: Australia
Distribution: Ubuntu, FreeBSD, Fedora
Posts: 125

Original Poster
Rep: Reputation: 16
Well, if not hardware raid, then how do I set up software raid?
 
  


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
Fedora Core 4 wont "see" my Promise Fastrak 378 IDE-RAID array as one drive. Justinr999 Linux - Hardware 0 07-19-2005 01:30 AM
Clariion External RAID Array wont work redwing25 Linux - Hardware 2 10-24-2004 08:09 PM
Adding RAID array LSI 150-6 to exisiting Debian install Brian Puccio Linux - Hardware 2 05-23-2004 02:52 PM
Install REd Hat 9.0 on ICH5r Raid array regorbro Linux - Hardware 3 03-29-2004 10:47 AM
How do Install to system with 3 disks, 2 of which are RAID array ? Raptor Ramjet Slackware 1 09-28-2003 09:07 AM

LinuxQuestions.org > Forums > Other *NIX Forums > *BSD

All times are GMT -5. The time now is 05:09 PM.

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