LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
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.

Notices



Reply
 
Search this Thread
Old 05-28-2007, 06:33 PM   #1
Steve Riley
Member
 
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?

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

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

Original Poster
Rep: Reputation: 15
problem creating RAID partitions

I'm making this RAID 1.
 
  


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 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/Novell 1 12-20-2006 06:02 PM
Problem with superblock when creating a software raid 5 array halfjack Linux - Server 0 10-18-2006 09:06 AM
Creating Partitions / image partitions ELEGANCE Linux - General 1 05-17-2006 08:37 AM
Create software RAID partitions first, then create filesystem partitions on top of th stefanlasiewski Linux - Software 1 04-28-2004 05:12 PM
Creating multiple partitions in a software RAID heiseltc Linux - Hardware 1 05-31-2003 09:52 PM


All times are GMT -5. The time now is 07:58 PM.

Main Menu
Advertisement
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