LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Desktop
User Name
Password
Linux - Desktop This forum is for the discussion of all Linux Software used in a desktop context.

Notices


Reply
  Search this Thread
Old 04-20-2010, 02:21 AM   #1
yasir453
LQ Newbie
 
Registered: Jan 2010
Posts: 27

Rep: Reputation: 15
Post RAID level 0 issue


Dear All;
I am trying to impliment RAID level 0 on RHEL5 but i am facing the following issue.
i am following this link:http://www.spencerstirling.com/computergeek/raid.html

mknod -m 0660 /dev/md0 b 9 0
chgrp disk /dev/md0

after the above two commands when i impliment the following command
mdadm --create /dev/md0 --level=0 --raid-devices=2 /dev/sda1 /dev/sdb1
it gives errors
"mdadm: /dev/sda1 is too small: 0K
mdadm: create aborted"

when i change the above command
mdadm --create /dev/md0 --level=0 --raid-devices=2 /dev/sda /dev/sdb
its gives erros like this
mdadm: /dev/sda is too small: 0K
mdadm: /dev/sdb appears to contain an ext2fs file system
size=156250000K mtime=Thu Jan 1 05:00:00 1970
mdadm: create aborted

whta can be the issue?
i am stuck here
 
Old 04-20-2010, 04:34 AM   #2
deadeyes
Member
 
Registered: Aug 2006
Posts: 609

Rep: Reputation: 79
Code:
mknod -m 0660 /dev/md0 b 9 0
There is no need for this.

Just do this:
1. create 2 partitions
2. make them type fd (Linux Raid autodetect)
3. write config and make rhel reread partition table
Code:
mdadm --create /dev/md0 --level=0 --raid-devices=2 /dev/sda1 /dev/sdb1
Maybe you did not put it as type "fd"?
 
  


Reply



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



Similar Threads
Thread Thread Starter Forum Replies Last Post
RAID Level 1 and 5 Hi_This_is_Dev Linux - Server 1 10-07-2009 08:59 AM
Dell/Intel ICH7 soft-RAID and mdadm raid-level mistake PhilipTheMouse Linux - General 0 03-14-2009 05:59 PM
Ghost raid level 1 - following me! calabash Linux - Hardware 3 09-10-2008 09:50 PM
Raid Level 1 macadam Linux - Hardware 1 07-05-2006 09:19 PM
Raid Level 5 HELP!! Please... Daveinflorida Linux - Networking 3 01-20-2006 01:04 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Desktop

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