LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - General (https://www.linuxquestions.org/questions/linux-general-1/)
-   -   * sriley problem creating RAID partitions (https://www.linuxquestions.org/questions/linux-general-1/%2A-sriley-problem-creating-raid-partitions-557294/)

Steve Riley 05-28-2007 05:33 PM

* sriley problem creating RAID partitions
 
I'm using CentOS 5. I've created a partition on each of two different hard disks with parted. They are of the same size and of type "fd". Both parted and fdisk confirm they are raid devices.

But when I try to create a RAID device like this:

mdadm --create --auto=yes --level=1 --raid-devices=2 /dev/sda4 /dev/sdb2

I get the message "You haven't given enough devices to create this array"

Then I check the partitions:

mdadm -E /dev/sdb2

and for each of them I get the message "No md superblock detected".

Why is their no md superblock? I've tried creating the partitions with fdisk, but same result. I have also rebooted after creating the partitions and still get this result.

What step am I missing in creating these partitions?

Thanks

wendea 05-28-2007 05:36 PM

raid 5 must have a minimum of 3 devices.

Steve Riley 05-29-2007 07:40 AM

problem creating RAID partitions
 
I'm making this RAID 1.


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