LinuxQuestions.org
Go Job Hunting at the LQ Job Marketplace
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Suse/Novell
User Name
Password
Suse/Novell This Forum is for the discussion of Suse Linux.

Notices

Reply
 
Search this Thread
Old 04-29-2005, 03:49 AM   #1
Jimi_l
Member
 
Registered: Jul 2003
Location: Dover, NH
Distribution: Suse
Posts: 30

Rep: Reputation: 15
Creating Software Raid1


Hi all,

I have two WD 250GB SATA drives, one of which has SUSE E.S. on it and the other having nothing.

I wish to build a RAID1 array using this second drive but for the life of me cannot understand the manual or find any tutprials online that make any sense. RAID1 should be a mirror, having the exact same data on both drives yet all the manuals refer to things like-

"For RAID 0 and RAID 1, at least two partitions are needed for RAID 1, usually exactly two and no more."

And

"The RAID partitions should be stored on various hard disks"

HUH??

Using Yast or the partition manager I can make RAID partitions but what kind (the manual does not say) logical or extended and where? One would think make two partitions identical to the drive with the O/S on it and build the array on it OR turn the O/S partitions into RAID partitions but I really don't feel like trying 30 different combonations to find out.

Any ideas or tutorials would be appreciated.

Jimi_l
 
Old 04-29-2005, 04:37 AM   #2
jschiwal
Guru
 
Registered: Aug 2001
Location: Fargo, ND
Distribution: SuSE AMD64
Posts: 15,733

Rep: Reputation: 654Reputation: 654Reputation: 654Reputation: 654Reputation: 654Reputation: 654
Raid 1 is the mirroring raid. However if the partitions are not of type raid, I don't know if you can convert. Normally what you do in yast, is create a partition, do not format, and select the raid type in the drop down box. Then create an identical parition on the second drive. Once this is done, you can go to the bottom of the Yast partition program and select to create a Raid partition. At this point you will add the partitions you just made to the raid device. Then you format the raid partition itself.
 
Old 04-29-2005, 04:41 AM   #3
Jimi_l
Member
 
Registered: Jul 2003
Location: Dover, NH
Distribution: Suse
Posts: 30

Original Poster
Rep: Reputation: 15
I can start over with a new install, that is no big deal. I still am a little fuzzy on the concept.

So you are saying that essentally RAID becomes a new partition? So I would have a swap, a main partition and a RAID partition and on both disks?

Format the RAID partition after? How and why?

Thanks,

Jimi_l

Last edited by Jimi_l; 04-29-2005 at 04:42 AM.
 
Old 04-29-2005, 04:54 AM   #4
jschiwal
Guru
 
Registered: Aug 2001
Location: Fargo, ND
Distribution: SuSE AMD64
Posts: 15,733

Rep: Reputation: 654Reputation: 654Reputation: 654Reputation: 654Reputation: 654Reputation: 654
After you create a raid partition, it shows up in the graphical partitioner probably as md0 for the first raid parition. Select it and format it as if it were a regular parition.
You probably don't want you /boot parition on a raid device. Since it is small, what I did was create the /boot partition on the first drive, and an equal sized swap partition on the second drive. You might want to make sure you back up this partition in case you need to restore it.
The swap partition(s) also isn't(aren't) raid.
 
  


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
linux software raid1 porlock Linux - Newbie 1 03-18-2013 06:40 PM
Software RAID1 monitoring Sushy Slackware 1 10-05-2005 08:52 AM
Software RAID1 problems robbow52 Debian 7 11-15-2004 10:52 AM
IDE Software RAID1 (RH9) hoover93 Linux - Hardware 1 08-13-2004 10:37 PM
Software RAID1 problems robbow52 Linux - Software 1 07-28-2004 09:32 AM


All times are GMT -5. The time now is 09:47 PM.

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