LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 10-27-2004, 03:33 PM   #1
Badfish
LQ Newbie
 
Registered: Aug 2002
Location: So-Cal
Distribution: RedHat 9.0
Posts: 27

Rep: Reputation: 15
Scsi 320 Raid5


Hi,
I have a rackmount server that i have installed a Ultra 320 Scsi card and
7 120 GB Scsi Drives. I also have a 160 GB IDE Hard Drive which i have installed
red hat 9.0 Kernal 2.4.20-31bigmem.

then i boot up and go into the scsi config (ctrl-a) and set up raid5.

however i still don't see the scsi drives in linux.

so my question is what do i need to install to get the scsi drive array installed?

thanks.
 
Old 10-27-2004, 09:30 PM   #2
hkb33
Member
 
Registered: Sep 2004
Location: Raleigh NC
Distribution: Fedora / RHEL
Posts: 171

Rep: Reputation: 30
If the drives aren't showing up then chances are the driver for the scsi card isn't loaded....do you know the make and model of the scsi card?
 
Old 10-28-2004, 10:08 AM   #3
Badfish
LQ Newbie
 
Registered: Aug 2002
Location: So-Cal
Distribution: RedHat 9.0
Posts: 27

Original Poster
Rep: Reputation: 15
Yes, the Scsi Card is an Adaptec 2230SLP.
I am using Red Hat 9.0
 
Old 10-28-2004, 11:34 AM   #4
Badfish
LQ Newbie
 
Registered: Aug 2002
Location: So-Cal
Distribution: RedHat 9.0
Posts: 27

Original Poster
Rep: Reputation: 15
I have installed the Module RPM that came with the Adaptec card.
and now i can see this when i do 'fdisk -l'

[root@bundy root]#fdisk -l


Disk /dev/sda: 733.9 GB, 733903585280 bytes
255 heads, 63 sectors/track, 89225 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

Disk /dev/sda doesn't contain a valid partition table

Disk /dev/hda: 122.9 GB, 122942324736 bytes
255 heads, 63 sectors/track, 14946 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

Device Boot Start End Blocks Id System
/dev/hda1 * 1 13 104391 83 Linux
/dev/hda2 14 14692 117909067+ 83 Linux
/dev/hda3 14693 14946 2040255 82 Linux swap


So now my question is this.
i can't mount this cause it does not have a partition, so how do i go about formatting this array?

****UPDATE******



Disk /dev/sda: 733.9 GB, 733903585280 bytes
255 heads, 63 sectors/track, 89225 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

Device Boot Start End Blocks Id System

Disk /dev/hda: 122.9 GB, 122942324736 bytes
255 heads, 63 sectors/track, 14946 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

Device Boot Start End Blocks Id System
/dev/hda1 * 1 13 104391 83 Linux
/dev/hda2 14 14692 117909067+ 83 Linux
/dev/hda3 14693 14946 2040255 82 Linux swap


so do i have to put a file system on these raid array?



thanks..

Last edited by Badfish; 10-28-2004 at 12:59 PM.
 
Old 10-28-2004, 01:18 PM   #5
hkb33
Member
 
Registered: Sep 2004
Location: Raleigh NC
Distribution: Fedora / RHEL
Posts: 171

Rep: Reputation: 30
You need to use the 'fdisk' command to create the partitions, for example:

fdisk /dev/sda

Type n to create the new partition.

Select Primary

set up the partition size...accep the default start cylinder size

next enter the size you wish to make the partition

type p to review the partition table

if everything is to your liking type w to write the changes and exit fdisk


Reboot the system so the partition table is re-read.

Then create the filesystem, for example....to create an ext 3 filesystem:

mke2fs -j /dev/sda1

Once the filesystem is created you need to mount it.

Create a mount point....

mkdir /storage (or whatever)

then mount the new disk:

mount /dev/sda1 /storage

Copy some files to the new mount point to verify it's working.

If you want the new disk to come up on every reboot you need to make a label and add an entry to /etc/fstab:

1) run the following command: umount /storage

2) then run: e2label /dev/sda1 /storage

3) open /etc/fstab in your preferred text editor and add the following line:

LABEL=/storage /storage ext3 defaults 1 2

Save /etc/fstab

mount the new filesystem again by running:

mount /storage

Last edited by hkb33; 10-28-2004 at 01:21 PM.
 
Old 11-01-2004, 07:08 PM   #6
Badfish
LQ Newbie
 
Registered: Aug 2002
Location: So-Cal
Distribution: RedHat 9.0
Posts: 27

Original Poster
Rep: Reputation: 15
hkb33,

Dude thank you so much.
that totally worked.

thanks.
 
Old 11-01-2004, 07:43 PM   #7
hkb33
Member
 
Registered: Sep 2004
Location: Raleigh NC
Distribution: Fedora / RHEL
Posts: 171

Rep: Reputation: 30
I'm glad I could help!
 
  


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
Mercury CC 320 webcam AxeZ Linux - Hardware 0 11-27-2004 07:43 PM
Neatcam 320 huh83 Linux - Hardware 0 11-17-2004 11:29 AM
Hotplug SCSI scanner or How to write to /proc/scsi/scsi from within a shell script. samac Linux - Hardware 1 08-30-2004 02:28 PM
Polaroid digital 320 akihandyman Mandriva 0 05-10-2004 12:58 AM
Slack 8.0 on an SGI 320 SLaCk_KiD Slackware 13 08-18-2003 06:55 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

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