Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > Linux Forums > Installation/Configuration

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 11th June 2006, 15:53
TheRudy TheRudy is offline
Senior Member
 
Join Date: Dec 2005
Posts: 215
Thanks: 1
Thanked 7 Times in 5 Posts
Default RAID 1, debian, installation small problem

Hey

Well my sata disks are recognized by installer and now i'm in the next painfull step of creating RAID 1.

Using this tutorial: http://www.howtoforge.com/linux_software_raid it stops for me when it tries to create an array.
"No RAID partitions available"

All four partitions for 1 disk in total 8 partitions are set for RAID!

So i went to console (ALT+F2) and typed:

mknod /dev/md0 b 9 0
mdadm --create -l 1 -n 2 /dev/md0 /dev/sda1 /dev/sdb1

and array was successfully created:
cat /proc/mdstat gives me an md0 array..

Now i wanted to do this for all other 3 partitions (in total i have 4) using same steps:
mknod /dev/md1 b 9 0
mdadm --create -l 1 -n 2 /dev/md1 /dev/sda2 /dev/sdb2

It asks me for creating array, i type 'yes' and then it gives me an error:
mdadm: SET_ARRAY_INFO failed for /dev/md1: Invalid argument

Going back to first console, installation still gives me "no raid partitions available". Anyone knows what's going on here? Some hints would be appriciated..

Last edited by TheRudy; 11th June 2006 at 15:57.
Reply With Quote
Sponsored Links
  #2  
Old 11th June 2006, 16:31
TheRudy TheRudy is offline
Senior Member
 
Join Date: Dec 2005
Posts: 215
Thanks: 1
Thanked 7 Times in 5 Posts
Default

*bangs his head against the wall*

i should use:
mknod /dev/md1 b 9 1

for second and '9 2' for third and so on...
Reply With Quote
  #3  
Old 11th June 2006, 17:05
TheRudy TheRudy is offline
Senior Member
 
Join Date: Dec 2005
Posts: 215
Thanks: 1
Thanked 7 Times in 5 Posts
Default

Or i should use 'expert' mode and choose mdadm to be loaded lol an easier way

Sorry falko and other guys for spamming so much but i'm learning.. Plus maybe this will help someone...
Reply With Quote
  #4  
Old 12th June 2006, 11:32
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,735 Times in 2,571 Posts
Default

I don't know if you understand German, but this tutorial is in German (and it's working, I tried ): http://debiandox.barties.de/howtos/1...8/schritt1.htm
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
  #5  
Old 12th June 2006, 11:38
TheRudy TheRudy is offline
Senior Member
 
Join Date: Dec 2005
Posts: 215
Thanks: 1
Thanked 7 Times in 5 Posts
 
Default

Oh lol, i forgot to post that i managed to do it using the above lines... I didn't use the expert mode in installation so i created raid arrays during installation in console..

It's up and running, sync process took 1 hour to do it...

Today i'll just test this by disconnecting the second drive and if it works, i'll try to disconnect the first one. Just to test in case one of the drives dies on me..

Did learn a lot doing this on my own for the first time! It took only 2 days to get debian fully working on my server with sata
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

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 On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
sending e-mail using mail() function linuxuser1 HOWTO-Related Questions 38 21st April 2009 12:20
How to setup Debian linux on a Dell server with RAID 1 Hans HOWTO-Related Questions 7 11th May 2006 00:10
I have a small problem with this tutorial :Building A Debian DNS System ajoian HOWTO-Related Questions 1 25th February 2006 12:28
e-mail problem!!! Debian 3.1 maroonworks Installation/Configuration 18 6th December 2005 14:42
Installation problem xma Installation/Configuration 15 26th September 2005 13:22


All times are GMT +2. The time now is 08:49.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.