LinuxQuestions.org
Visit the LQ Articles and Editorials section
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices

Reply
 
Search this Thread
Old 08-21-2006, 05:29 AM   #1
kikola
LQ Newbie
 
Registered: Aug 2006
Posts: 2

Rep: Reputation: 0
Angry Problems with setting up raid1 with mdadm on slackware


hello people I am having problems setting up raid1 with the mdadm tool. I tried the software howto to build a raid1 with mk raid but it didn't work also so I tried mdadm and it worked, but after that I realised that i am using incompatible hardware and I changed my HDDs ( Maxtor) with Western Digital. So now I have two 320G Western Digital HDDs and I am doing the same thing as before but the array just doesn't wants to be created. I've read and googled..... but nobody seems to have this kind of problem...
I just want to set up mirroring mode for the two disks.

Device Boot Start End Blocks Id System
/dev/sda1 * 1 38661 310544451 83 Linux
/dev/sda2 38662 38913 2024190 5 Extended
/dev/sda5 38662 38913 2024158+ 82 Linux swap

Device Boot Start End Blocks Id System
/dev/sdb1 * 1 38661 310544451 83 Linux
/dev/sdb2 38662 38913 2024190 5 Extended
/dev/sdb5 38662 38913 2024158+ 82 Linux swap

when I type in the next command

mdadm --create --verbose /dev/md0 --level=1 --raid-devices=2 /dev/sda1 /dev/sdb1


the following message comes out and I am stuck.....

mdadm: /dev/sda1 appears to contain a reiserfs file system
size = 310544448K
Continue creating array? yes
mdadm: ADD_NEW_DISK for /dev/sda1 failed: Invalid argument

I just cannot find a solution to the problem..... I would be pleased if somebody can help me out with this....
 
  


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


Similar Threads
Thread Thread Starter Forum Replies Last Post
using raid1 with mdadm to "restore" system to previous state predder Linux - Enterprise 0 08-08-2006 07:57 PM
Change raid1-mdadm disks Debian Suhy Linux - Software 1 07-03-2006 03:48 PM
raid1 using mdadm? help plz akadidm Linux - Hardware 3 06-09-2005 04:58 AM
help me setup software raid 1 on slackware with mdadm xrado Slackware 2 03-02-2005 05:50 AM
Setting up a RAID1 config (Disk Mirroring) ajpalm Linux - Newbie 1 11-18-2002 03:42 AM


All times are GMT -5. The time now is 08:53 AM.

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