Visit Jeremy's Blog.
Go Back > Forums > Linux Forums > Linux - General
User Name
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.


  Search this Thread
Old 05-28-2007, 05:33 PM   #1
Steve Riley
Registered: Jan 2005
Location: Dallas
Distribution: Suse
Posts: 94

Rep: Reputation: 15
* 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?

Old 05-28-2007, 05:36 PM   #2
Registered: Mar 2007
Distribution: Fedora
Posts: 81

Rep: Reputation: 15
raid 5 must have a minimum of 3 devices.
Old 05-29-2007, 07:40 AM   #3
Steve Riley
Registered: Jan 2005
Location: Dallas
Distribution: Suse
Posts: 94

Original Poster
Rep: Reputation: 15
problem creating RAID partitions

I'm making this RAID 1.


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

Similar Threads
Thread Thread Starter Forum Replies Last Post
Question on creating more partitions than default ones, i.e. /home,/root partitions casmac SUSE / openSUSE 1 12-20-2006 05:02 PM
Problem with superblock when creating a software raid 5 array halfjack Linux - Server 0 10-18-2006 08:06 AM
Creating Partitions / image partitions ELEGANCE Linux - General 1 05-17-2006 07:37 AM
Create software RAID partitions first, then create filesystem partitions on top of th stefanlasiewski Linux - Software 1 04-28-2004 04:12 PM
Creating multiple partitions in a software RAID heiseltc Linux - Hardware 1 05-31-2003 08:52 PM > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 09:11 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
Open Source Consulting | Domain Registration