SUSE / openSUSE This Forum is for the discussion of Suse Linux. |
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
04-29-2005, 03:49 AM
|
#1
|
Member
Registered: Jul 2003
Location: Dover, NH
Distribution: Suse
Posts: 30
Rep:
|
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
|
|
|
04-29-2005, 04:37 AM
|
#2
|
LQ Guru
Registered: Aug 2001
Location: Fargo, ND
Distribution: SuSE AMD64
Posts: 15,733
|
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.
|
|
|
04-29-2005, 04:41 AM
|
#3
|
Member
Registered: Jul 2003
Location: Dover, NH
Distribution: Suse
Posts: 30
Original Poster
Rep:
|
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.
|
|
|
04-29-2005, 04:54 AM
|
#4
|
LQ Guru
Registered: Aug 2001
Location: Fargo, ND
Distribution: SuSE AMD64
Posts: 15,733
|
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.
|
|
|
All times are GMT -5. The time now is 02:57 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|