Visit the LQ Articles and Editorials section
Go Back > Forums > Linux Forums > Linux - Hardware
User Name
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?


  Search this Thread
Old 05-23-2004, 12:33 PM   #1
Brian Puccio
LQ Newbie
Registered: May 2004
Posts: 5

Rep: Reputation: 0
Adding RAID array LSI 150-6 to exisiting Debian install

(Yes, i've searched, yes, I've googled.)

I've just put in a 5x250GB SATA RAID 5 array into my Debian (unstable) system. I'm a bit new to linux, I'm familiar with it as a server, but it's new to me as a desktop OS. That being said, I've never added a drive. so far, I fdisk'd it to create a primary partition:

Command (m for help): p
Disk /dev/sdb: 1003.9 GB, 1003982159872 bytes
255 heads, 63 sectors/track, 122060 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
   Device Boot      Start         End      Blocks   Id  System
/dev/sdb1               1      122060   980446918+  83  Linux
Command (m for help):
This seems correct (one drive lost for parity) to me.

Next, I should use mke2fs, correct? I tried it (with the j switch to it's ext3) and it said that it was not a partition, but rather an entire device. Rather than screw something up, here I am. I do want to mke2fs -j /dev/sdb, right?

After that, I need to edit /etc/fstab, correct? Here is what it currently reads:

alpha:/etc# cat fstab
# /etc/fstab: static file system information.
# <file system> <mount point>   <type>  <options>       <dump>  <pass>
proc            /proc           proc    defaults        0       0
/dev/sda5       none            swap    sw              0       0
/dev/sda1       /               ext3    defaults,errors=remount-ro 0       1
/dev/scd0       /media/cdrom    iso9660 ro,user,noauto  0       0
/dev/scd0       /media/cdrom0   iso9660 ro,user,noauto  0       0
/dev/scd1       /media/cdrom1   iso9660 ro,user,noauto  0       0
/dev/scd0       /cdrom          iso9660 ro,user,noauto  0       0
My current SCSI disk has numbers after it, 5 and 1, where did those numbers come from and should sdb have numbers as well (I'm assuming each number is a parttion)?

So the entry I should add should read:

/dev/sdb        /tb             ext3    defaults,errors=remount-ro 0       1
And that will let me access the drive at /tb, correct? After which I can put a link from my home directory to that for quick and easy access?


EDIT: If Debian has some automagic way to do this (which would rock) I'd like to go that way. I know Debian has it's own ways of doings things sometimes.

Last edited by Brian Puccio; 05-23-2004 at 12:35 PM.
Old 05-23-2004, 01:20 PM   #2
Senior Member
Registered: Oct 2003
Location: Zurich, Switzerland
Distribution: Debian/unstable
Posts: 1,357

Rep: Reputation: 47
Replace every /dev/sdb with /dev/sdb1 and you are in business.

The /dev/sdb represents the whole drive, /dev/sdb1 is first partition in it. With fdisk you have successfully created the partition (containing the whole drive). Now you have to create a filesystem for the partition: 'mke2fs -j /dev/sdb1' should do it. Next, to have a permanent mountpoint, you have to create a directory /tb (eg. mkdir /tb) and have a line in fstab; similar to the one you suggested, but with /dev/sdb1.

In fact, creating a partition is not necessary in a strict sense in linux, but *strongly* recommended.

If you have a one TB of space, I would recommend using LVM and reiserfs with it. YMMV.
Old 05-23-2004, 03:52 PM   #3
Brian Puccio
LQ Newbie
Registered: May 2004
Posts: 5

Original Poster
Rep: Reputation: 0
Thanks for the info, that clears things up. I'll give it a shot once I get back home.


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
LSI MegaRAID Sata 150-2 + Debian 3.1 lil_drummaboy Linux - Hardware 1 08-19-2005 10:07 AM
Problems adding Highpoint 1520 Raid 1 array to working RH9 spifl Linux - Hardware 3 07-16-2005 09:47 AM
Trying to install Debian (woody) on IBM x335 w/LSI u320 JIZ Linux - Hardware 1 10-07-2004 04:14 PM
How do Install to system with 3 disks, 2 of which are RAID array ? Raptor Ramjet Slackware 1 09-28-2003 10:07 AM
need help installing debian on highpoint raid array sev_v2 Linux - Distributions 2 08-23-2002 05:57 PM

All times are GMT -5. The time now is 09:36 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration