LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Debian (https://www.linuxquestions.org/questions/debian-26/)
-   -   RAID 1, debian, installation small problem (https://www.linuxquestions.org/questions/debian-26/raid-1-debian-installation-small-problem-453699/)

TheRudy 06-11-2006 08:54 AM

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..

TheRudy 06-11-2006 09:27 AM

ah stupid me, i should use:
mknod /dev/md1 b 9 1

for second and '9 2' for third and so on...


All times are GMT -5. The time now is 11:35 PM.