LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 08-13-2009, 03:05 PM   #1
SpoonXL
LQ Newbie
 
Registered: Sep 2005
Location: Portsmouth, Va.
Distribution: Ubuntu 9.02\Slackware Linux 12.2
Posts: 9

Rep: Reputation: 0
Setup Hardware RAID-0 on HP Proliant DL360 Gen 3


Hello, I'm a new slack user. I bought a used sever so that I can learn Slackware without screwing up my other boxes. Right now, I'm trying to install Slackware 12.2 and I am stuck at partitioning my drives. I'm trying to install on a hardware RAID-0 array. I've already
setup my two drives in the bios and loaded the hugesmp.s kernel at boot. When I get to using fdisk, I get a message stating that Slackware is "unable to open" my drives.

Here is my setup:
HP Proliant DL 360 Gen 3 Server (Dual 2.8 Ghz Xeon CPUs, 1U form factor Rack Server)
5 gigs of ram
HP Smart Array 5i Slot 0 (64 MB Vers. 2.58)
2x 146.8 Gb Ultra 320 SCSI drives set up in RAID-0
(The controller sees it as "Logical Drive # 1, RAID 0, 273.5 GB, OK")
Slackware 12.2 (Installing from CDs)
Using hugesmp.s kernel at the boot prompt.

I've tried using:
#fdisk /dev/rd/c0d0 and #fdisk /dev/ida/c0d0

I receive these messages for each command:
Unable to open /dev/re/c0d0
Unable to open /dev/ida/c0d0

I'm not sure what I'm doing wrong. What do you guys think?
 
Old 08-13-2009, 03:52 PM   #2
C-Sniper
Member
 
Registered: Dec 2006
Distribution: Slackware
Posts: 507

Rep: Reputation: 33
Have you tried looking at some of the documentation that comes with slackware with respect to RAID arrays?

Hint: README_RAID.txt

found here:http://slackware.cs.utah.edu/pub/sla...EADME_RAID.TXT

When in doubt, RTM.
 
Old 08-13-2009, 03:55 PM   #3
bgeddy
Senior Member
 
Registered: Sep 2006
Location: Liverpool - England
Distribution: slackware64 13.37 and -current, Dragonfly BSD
Posts: 1,810

Rep: Reputation: 232Reputation: 232Reputation: 232
Too see shat your disks are being recognized as you could try running this from the command line (before running setup or anything)
Code:
sfdisk -l
That will show what the disks are being recognized as. You may then proceed with cfdisk or whatever.
 
Old 08-13-2009, 04:36 PM   #4
rpedrica
Member
 
Registered: Nov 2008
Location: Cape Town
Distribution: Slackware64 -current
Posts: 281

Rep: Reputation: 42
Make sure as well that the output of 'dmesg' is showing the controller driver/module/support being loaded. If Slack is not picking of the controller then you won't see anything. I'm almost sure that the Smart controllers are supported ..
 
Old 08-13-2009, 10:02 PM   #5
SpoonXL
LQ Newbie
 
Registered: Sep 2005
Location: Portsmouth, Va.
Distribution: Ubuntu 9.02\Slackware Linux 12.2
Posts: 9

Original Poster
Rep: Reputation: 0
Gotcha trying it now

I did some searching around on the net earlier and found the dmesg command. I piped it with more and found it as "/dev/ccis/c0d0".
I tried setting it up like this:
2081.00 /Swap c0d0p1
2081.00 /Root c0d0p2
289455.83 /Home /var c0d0p3

I figured that it would give me 10 gigs for the first two.
I ran out of space when the program was installing to /etc toward the end. I'll etch-a-sketch the drives and just do a swap and linux partition. I'm curious, how do you guys like to do your partitions?

Thanks for the tips, I'm giving it a try now.
I'll let you know how it worked.

-Edit-
Doh! Realized that the 1st two were set for 2 gigs.. trying again.

Last edited by SpoonXL; 08-13-2009 at 10:09 PM. Reason: Update
 
Old 08-13-2009, 10:43 PM   #6
SpoonXL
LQ Newbie
 
Registered: Sep 2005
Location: Portsmouth, Va.
Distribution: Ubuntu 9.02\Slackware Linux 12.2
Posts: 9

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by C-Sniper View Post
Have you tried looking at some of the documentation that comes with slackware with respect to RAID arrays?

Hint: README_RAID.txt

found here:http://slackware.cs.utah.edu/pub/sla...EADME_RAID.TXT

When in doubt, RTM.
Thanks for the link C-Sniper. I looked at it earlier today. It only covers software raid. I haven't had any luck with finding one on hardware. Anychance that you might have a link?
 
Old 08-14-2009, 02:59 AM   #7
SpoonXL
LQ Newbie
 
Registered: Sep 2005
Location: Portsmouth, Va.
Distribution: Ubuntu 9.02\Slackware Linux 12.2
Posts: 9

Original Poster
Rep: Reputation: 0
I got it installed, so I thought that it would be appropiate to reply back on my Slack box.

After playing around with the partitions the system would still halt on the boot up process. *(It was like the drives had no OS on it.)

Each one was a different installation attempt: (Full Install)
-Tried once with option 1, 2nd time with install lilo to MBR.

10 Gig/Swap c0d0p1, Boot-10Gig/Root c0d0p2, Remainder/Home c0d0p3
10 Gig/Swap c0d0p1, Boot-Remainder/Root c0d0p2
Boot-Remainder of drive/Root c0d0p1, 10 Gig/Swap c0d0p2

For some reason I'm not able to boot from the drives after I ran the lilo setup. The system boots from the floppy fine though.
Do you guys have any ideas on where I went wrong?
 
Old 08-14-2009, 09:13 AM   #8
hua
Member
 
Registered: Oct 2006
Location: Slovak Republic
Distribution: Slackware 14.2, current
Posts: 461

Rep: Reputation: 78
Check out your lilo.conf (in /etc/lilo.conf). Something is wrong in it. Post it.

You do not have to repeat installation when the setup of bootmanger (lilo) fails.
You need to correct your lilo.conf and after this run lilo command.
Put in your boot media (cd, dvd or floppy) and when it shows the boot screen, boot right into your root partition. If you don't know what is your root partition (/dev/c0d0p2 or something else) just boot in from booting media then type cfdisk (no cfdisk /dev/xxx).
Quote:
boot: hugesmp.s root=/dev/c0d0p2 rdinit= ro
After this you should get into your newlly installed system. (This requires that the setup process was completed)

Last edited by hua; 08-14-2009 at 09:25 AM.
 
Old 08-14-2009, 03:23 PM   #9
SpoonXL
LQ Newbie
 
Registered: Sep 2005
Location: Portsmouth, Va.
Distribution: Ubuntu 9.02\Slackware Linux 12.2
Posts: 9

Original Poster
Rep: Reputation: 0
That worked like a charm, thanks hua!
I used "boot: hugesmp.s root=/dev/cciss/c0d0p1 rdinit= ro" to boot into the system. Sorry for the delay xterm kept crashing on me in kde 3.5 , I decided to save that issue for another time. lol

Here is my lilo config file.

# LILO configuration file
# generated by 'liloconfig'
#
# Start LILO global section
# Append any additional kernel parameters:
append=" vt.default_utf8=0"
boot = /dev/cciss/c0d0p1

# Boot BMP Image.
# Bitmap in BMP format: 640x480x8
bitmap = /boot/slack.bmp
# Menu colors (foreground, background, shadow, highlighted
# foreground, highlighted background, highlighted shadow):
bmp-colors = 255,0,255,0,255,0
# Location of the option table: location x, location y, number of
# columns, lines per column (max 15), "spill" (this is how many
# entries must be in the first column before the next begins to
# be used. We don't specify it here, as there's just one column.
bmp-table = 60,6,1,16
# Timer location x, timer location y, foreground color,
# background color, shadow color.
bmp-timer = 65,27,0,255

# Standard menu.
# Or, you can comment out the bitmap menu above and
# use a boot message with the standard menu:
#message = /boot/boot_message.txt

# Wait until the timeout to boot (if commented out, boot the
# first entry immediately):
prompt
# Timeout before the first entry boots.
# This is given in tenths of a second, so 600 for every minute:
timeout = 1200
# Override dangerous defaults that rewrite the partition table:
change-rules
reset
# VESA framebuffer console @ 1024x768x64k
vga = 791
# Normal VGA console
# vga = normal
# VESA framebuffer console @ 1024x768x64k
# vga=791
# VESA framebuffer console @ 1024x768x32k
# vga=790
# VESA framebuffer console @ 1024x768x256
# vga=773
# VESA framebuffer console @ 800x600x64k
# vga=788
# VESA framebuffer console @ 800x600x32k
# vga=787
# VESA framebuffer console @ 800x600x256
# vga=771
# VESA framebuffer console @ 640x480x64k
# vga=785
# VESA framebuffer console @ 640x480x32k
# vga=784
# VESA framebuffer console @ 640x480x256
# vga=769
# End LILO global section
# Linux bootable partition config begins
image = /boot/vmlinuz
root = /dev/cciss/c0d0p1
label = Linux
read-only
# Linux bootable partition config ends

I also get a message that the file system couldn't be checked because it is set in read/write, but I see the read-only in the config file.


What do you guys think?
 
Old 08-14-2009, 04:02 PM   #10
bgeddy
Senior Member
 
Registered: Sep 2006
Location: Liverpool - England
Distribution: slackware64 13.37 and -current, Dragonfly BSD
Posts: 1,810

Rep: Reputation: 232Reputation: 232Reputation: 232
** WARNING ** I have been looking around for help for your problem and found this which advises NOT to install lilo to the MBR of a Proliant DL360 as setup code for the machine is stored there. Be aware of this before reading the following as it may cause you problems. ** WARNING **

I think you may need to change this :
Quote:
boot = /dev/cciss/c0d0p1
to this :
Quote:
boot = /dev/cciss/c0d0p
to install lilo to the MBR. As I said earlier - running this :
Quote:
su -c "sfdisk -l"
should show you this disk's partitions and device name. You want the bit after it reports
Quote:
Disk
at the top line to see what the disk itself is known as. It will probably be
Quote:
/dev/cciss/c0d0p
as already mentioned. Just change this in /etc/lilo.conf ans as root run:
Quote:
lilo -v
to fix.
** SEE WARNING **

Last edited by bgeddy; 08-14-2009 at 08:37 PM.
 
Old 08-14-2009, 07:33 PM   #11
hua
Member
 
Registered: Oct 2006
Location: Slovak Republic
Distribution: Slackware 14.2, current
Posts: 461

Rep: Reputation: 78
Did the cfdisk worked for you?
How is your disk partitioned now?
Do you have one of the partitions logged as bootable?
When you boot into your root partition - try reconfigure lilo with liloconfig . You get the same procedure as at the end of the installation. When the setup steps are complete you shouldn't get any errors.

As for KDE try startx. But be sure to run kde not as root.

Last edited by hua; 08-14-2009 at 07:37 PM.
 
Old 08-16-2009, 02:18 AM   #12
SpoonXL
LQ Newbie
 
Registered: Sep 2005
Location: Portsmouth, Va.
Distribution: Ubuntu 9.02\Slackware Linux 12.2
Posts: 9

Original Poster
Rep: Reputation: 0
Thanks everyone for your help!
The problem lies with the server itself.
The bios is all software instead of hardware.
After doing a lot of searching/reading, I found out that lilo won't work.
Its all in the way the bios works.
There is a boot limitation of 8 gigs, but that won't matter.
*(I've already tried it on a partition < 8 gigs.)
The HP website said to use Grub.
Most of the HP support is centered on Red Hat, the closest Slack flavor is Suse.
I've downloaded and installed the latest Proliant software/bios drivers.
I've installed and created new partitions with Ubuntu and grub and it now boots normally.
I've saved the root partition for Slack.
I'll set that up next.

Here's what my partitions look like now:
10 Gig /Swap c0d0p1
8 Gig /Root c0d0p2 (old Slack) Reiserfs
8 Gig /Root c0d0p3 (Ubuntu) *Bootable Ext4
133.5 Gig /Home c0d0p5 Ubuntu/Home Ext4 (Logical Partition)
133.5 Gig /Home c0d0p6 Slack/Home *Future Slack Reiserfs (Logical Partition)

I'm a little put out by way the server works. I've alwayed heared that "If you know Slack, then you know Unix".
I wanted to play around with Slack first before messing around with other distros.


Am I correct in thinking that I can re-install Slack and then choose to not install the bootloader, in order to, get Slack to load?
Thanks again for your help!

Last edited by SpoonXL; 08-16-2009 at 02:24 AM.
 
  


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
Boot failing on HP ProLiant DL360 G4 running Sabayon 3.4 orcberg Linux - Server 9 05-28-2008 12:42 PM
Proliant and hardware/software raid yogaboy Linux - Hardware 2 12-08-2006 01:31 PM
Install Fedora4 with hardware RAID on HP Proliant ML110 baddah Fedora 4 09-18-2006 03:26 AM
install RH EL4 on ProLiant DL360 G5 raggmopp1961 Linux - Hardware 0 09-07-2006 02:54 PM
Compaq ProLiant DL360 G1 & SuSE 9.0 gregorw Linux - Hardware 2 02-24-2004 05:21 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 12:14 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