LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices

Reply
 
Search this Thread
Old 11-30-2004, 05:53 AM   #1
miggins
LQ Newbie
 
Registered: Nov 2004
Location: UK
Distribution: Debian, Ubuntu
Posts: 12

Rep: Reputation: 0
Question Setting up software RAID under sarge with a 2.6 kernel?


Hi,

I'm trying to set up a system with software RAID (probably 0, but maybe RAID-1) under sarge, which is running a 2.6.8-1 kernel, but I must admit that it's all new to me and a bit confusing. The machine's got 5 harddisks: an IDE one connected to the motherboard with the OS on it, and four others (identical) connected to a SATA controller (adaptec 1205SA, no h/w raid) which on installation were nominated as RAID disks. Now, I'd like to RAID those four disks but am not sure how to (google helps, but is not complete). From dmesg, these appear to have been set as SCSI devices sda, sdb, sdc and sdd, e.g:

scsi1 : sata_sil
Vendor: ATA Model: ST3160827AS Rev: 3.00
Type: Direct-Access ANSI SCSI revision: 05
SCSI device sda: 312581808 512-byte hdwr sectors (160042 MB)
SCSI device sda: drive cache: write back
/dev/scsi/host0/bus0/target0/lun0: p1 < p5 >
Attached scsi disk sda at scsi0, channel 0, id 0, lun 0

My question is: what do I have to do to get these four disks to work happily as a RAID resource? I presume I'm going to have to use mdadm, right? Any further clues?

I'm just a simple physicist who's been landed with this job...

m
 
Old 11-30-2004, 08:52 AM   #2
miggins
LQ Newbie
 
Registered: Nov 2004
Location: UK
Distribution: Debian, Ubuntu
Posts: 12

Original Poster
Rep: Reputation: 0
OK, I figured it out. It's actually pretty simple.
 
Old 12-30-2004, 08:16 AM   #3
rblampain
Member
 
Registered: Aug 2004
Location: Western Australia
Distribution: Debian 7
Posts: 833

Rep: Reputation: 35
Is that all?

You're also a shy physicist. Others might like to know your solution!
 
Old 01-19-2005, 05:32 PM   #4
rogerhc
LQ Newbie
 
Registered: Jan 2005
Posts: 2

Rep: Reputation: 0
Bootable Software RAID1 on Debian

Debian's Sarge rc2 Installer can create and install / on bootable Software RAID. I did it recently but when I installed a custom 2.6.9 kernel I couldn't boot with it and had to boot with the generic 2.4 kernel Sarge had installed.

BTW, here is a HowTo Install Debian on bootable RAID1 that I helped edit a year ago (that was before the Sarge installer could do it) that is quite complicated but might be helpful to some folks:
http://alioth.debian.org/project/sho...release_id=288
(choose the latest version of the doc from that page)

Roger Chrisman
 
  


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
Setting up sw RAID-5 during Sarge install elmu Debian 0 10-08-2005 12:53 PM
setting up software RAID 1 after install caddis Linux - Newbie 2 03-02-2005 12:18 AM
Debian sarge netinstall software raid major problem araldit Linux - Newbie 0 07-22-2004 05:58 PM
Setting up Software Raid 1 on a Remote Server retep Linux - Software 1 10-03-2003 07:01 PM
Need Help setting up software raid Redhat 8 cmisip Linux - General 5 01-14-2003 06:43 PM


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