LinuxQuestions.org
Review your favorite Linux distribution.
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 12-21-2005, 08:04 PM   #1
TomaCzar
Member
 
Registered: Dec 2003
Location: Roc City (Rochester-NY)
Distribution: Slacker 4 Life
Posts: 125

Rep: Reputation: 15
RAID Problem


I have a 9550SX-8LP I've installed and am trying to utilize. I have done the BIOS creation of the RAID Array and loaded the kernel with option CONFIG_SCSI_3W_9XXX=y. In /var/log/syslog I see:

Code:
3ware 9000 Storage Controller device driver for Linux v2.26.02.004.
3w-9xxx: scsi2: Found a 3ware 9000 Storage Controller at 0xe9005000, IRQ: 18.
3w-9xxx: scsi2: Firmware FE9X 3.02.00.012, BIOS BE9X 3.01.00.024, Ports: 8.
and in /var/log/messages I see:
Code:
scsi2 : 3ware 9000 Storage Controller
Vendor: AMCC      Model: 9550SX-8LP DISK   Rev: 3.02
Type:   Direct-Access                ANSI SCSI revision: 03
........................................................
SCSI device sdb: 976519168 512-byte hdwr sectors (499978 MB)
SCSI device sdb: drive cache: write back, no read (daft)
SCSI device sdb: 976519168 512-byte hdwr sectors (499978 MB)
SCSI device sdb: drive cache: write back, no read (daft)
  sdb: unknown partition table
Attached scsi disk sdb at scsi2, channel 0, id 0, lun 0
however no sdb or sdb1 are created in /dev. If I enable generic SCSI device handling a /dev/sg0 will be attached to the raid card but then I can't partition or make a filesystem on that dynamic link. Any help would be greatly appreciated.
 
Old 12-21-2005, 10:15 PM   #2
centauricw
Member
 
Registered: Dec 2005
Location: Lawrenceville GA
Distribution: Slackware, CentOS. Red Hat Enterprise Linux
Posts: 216

Rep: Reputation: 31
What version of Slackware and what kernel version are you using?
 
Old 12-21-2005, 11:30 PM   #3
TomaCzar
Member
 
Registered: Dec 2003
Location: Roc City (Rochester-NY)
Distribution: Slacker 4 Life
Posts: 125

Original Poster
Rep: Reputation: 15
Slackware current and 2.6.14.4 kernel. Also I've updated the BIOS on the RAID card.
 
Old 12-22-2005, 05:43 AM   #4
richcoosa19
Member
 
Registered: Nov 2002
Location: Rome, GA, USA
Distribution: Slackware 10.1 and Gentoo 2005.1 from Stage 1
Posts: 84

Rep: Reputation: 15
Give us a "cat /proc/partitions" and let's see of slackware sees any disks at all on the system. If it does then you will know what to run cfdisk on, format and blah, blah, blah. cat /proc/partitions sees all of my disks whether I have formatted them or not. Usually I try doing it this way if I have a windows disk that has failed and XP or 2000 will not read it, linux usually will.

BTW - kudos on the 3Ware card, I used to use those at the ISP I worked for.

Last edited by richcoosa19; 12-22-2005 at 05:45 AM.
 
Old 12-22-2005, 06:17 AM   #5
TomaCzar
Member
 
Registered: Dec 2003
Location: Roc City (Rochester-NY)
Distribution: Slacker 4 Life
Posts: 125

Original Poster
Rep: Reputation: 15
richcoosa19,

# cat /proc/partitions
major minor #blocks name

8 0 17921843 sda
8 1 8787523 sda1
8 2 48195 sda2
8 3 7036470 sda3
8 4 1 sda4
8 5 2048256 sda5
8 16 488259584 sdb

This is very confusing for me since sdb is listed. Where's the foul up, udev definitions?? I haven't been lost like this for a while. What would you reccomend for a path forward?? Thanx again for you assistance.

-Tomaczar

P.S. Did the research and the 3ware was the only way to go. I hate spending money but I hate spending money on technology that's outdated 6 months later even more. With computers it's better to save up and buy quality (IMHO).
 
Old 12-22-2005, 07:29 PM   #6
TomaCzar
Member
 
Registered: Dec 2003
Location: Roc City (Rochester-NY)
Distribution: Slacker 4 Life
Posts: 125

Original Poster
Rep: Reputation: 15
Holy Handgrenades it works!! Many thanks to richcoosa19 for proving to me that the OS saw the array properly which left me to hunt down the udev scenario. NOTED: I don't know why udev doesn't like my array, however after running the mknod script I found on the net:

Code:
cat /proc/partitions | grep "^ .* sd[a-z]" | sed -e 's/ \+/ /g;' |
while read line
do
  set $line
  echo "creating device node $4 ($1 $2)"
  /bin/mknod /dev/$4 b $1 $2 >/dev/null 2>&1
done
My /dev/sdb was properly created allowing me to cfdisk and mkresierfs like I need.

Also of note, I don't know if after a reboot it'll recognize the partition now that it's been formatted or if I'll have to rerun the mknod script until I can fix the udev rules. The whole reason for the RAID array is to allow me to do video editing for a project that I need to have done by Christmas (YEAH, EXACTLY) so now that I have it working I'll poke it with a stick later.

!NOTE! Just as a quickie benchmark I did a `hdparm -tT /dev/sdb` and these were my results:
Code:
# hdparm -tT /dev/sdb

/dev/sdb:
 Timing cached reads:   2032 MB in  2.00 seconds = 1015.14 MB/sec
 Timing buffered disk reads:  240 MB in  3.00 seconds =  79.91 MB/sec
# hdparm -tT /dev/sdb

/dev/sdb:
 Timing cached reads:   2000 MB in  2.00 seconds = 999.15 MB/sec
 Timing buffered disk reads:  246 MB in  3.01 seconds =  81.77 MB/sec
Am I being greedy or am I right to expect more from my 3 disk SATA II RAID 5?? Also here's another question, I add another disk of X size, is reiserfs going to be able to handle that or will I need to use a non-journaled filesystem that maybe doesn't keep track of such things??

Again, many thanks to all and to all a good nite!!

-TomaCzar
 
Old 12-29-2005, 07:17 AM   #7
richcoosa19
Member
 
Registered: Nov 2002
Location: Rome, GA, USA
Distribution: Slackware 10.1 and Gentoo 2005.1 from Stage 1
Posts: 84

Rep: Reputation: 15
For an answer on RAID 5 go here: http://www.pcguide.com/ref/hdd/perf/...eLevel5-c.html
As for reiserfs, it should handle it just fine. You will need to have raid tools installed I believe though. I believe the command you need to run is raidhotadd and some arguments. Just google it, google is your friend!
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Raid Problem Fedora Core 3, RAID LOST DISKS ALWAYS icatalan Linux - Hardware 1 09-17-2005 03:14 AM
RAID 0 Problem Quickdraw Slackware 1 12-24-2004 11:30 PM
Raid 1 problem gmanigault Linux - Software 2 12-08-2004 03:27 PM
RAID 1 problem danm Linux - General 1 12-30-2003 10:18 PM
raid problem peteyt83 Linux - General 1 08-14-2002 01:35 AM


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

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration