LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > SUSE / openSUSE
User Name
Password
SUSE / openSUSE This Forum is for the discussion of Suse Linux.

Notices


Reply
  Search this Thread
Old 05-27-2012, 08:46 PM   #1
nsic
LQ Newbie
 
Registered: Aug 2005
Location: cebu,phillippines
Posts: 11

Rep: Reputation: 0
How to Setup Raid 1 Opensuse 11.1?


Hi everyone do anyone here knows how to setup raid 1 on opensuse 11.1 . I just cant' find tutorial for this one. Thanks.

Last edited by nsic; 05-27-2012 at 08:47 PM. Reason: spelling error
 
Old 05-28-2012, 01:51 PM   #2
custangro
Senior Member
 
Registered: Nov 2006
Location: California
Distribution: Fedora , CentOS , RHEL
Posts: 1,979
Blog Entries: 1

Rep: Reputation: 209Reputation: 209Reputation: 209
Quote:
Originally Posted by nsic View Post
Hi everyone do anyone here knows how to setup raid 1 on opensuse 11.1 . I just cant' find tutorial for this one. Thanks.
I assume you mean "software RAID"...

I think you can just used the mdadm commands...

Something like this:

Create the software raid using the "mdadm" command
Code:
 root@host# mdadm --create /dev/md0 --level=1 --raid-devices=2 /dev/sdb1 /dev/sdc1
Confrim with either...
Code:
root@host# cat /proc/mdstat
**OR**
Code:
 root@host# mdadm --verbose /dev/md0
You have to wait until it's "ready"

Now (as with any disks...logical or not); you need to format
Code:
root@host# mkfs.ext4 /dev/md0
You can now "mount" it just like any other disk
Code:
root@host# mount /dev/md0 /data
To keep it persistem upon reboots; you must edit the correct files...
Code:
root@host# cat /etc/fstab
          /dev/md0      /data   ext4    defaults        0       0
root@host# cat /etc/mdadm.conf
          ARRAY         /dev/md0        devices=/dev/sdb1,/dev/sdc1
Googled "mdadm OpenSUSE 11" and found this: http://youtu.be/0_dxuk7LZgY

Last edited by custangro; 05-28-2012 at 02:00 PM. Reason: added video link
 
Old 05-28-2012, 08:10 PM   #3
nsic
LQ Newbie
 
Registered: Aug 2005
Location: cebu,phillippines
Posts: 11

Original Poster
Rep: Reputation: 0
Thanks Custangro. yes I mean software raid. I'll try the link and post feedback later.
 
  


Reply

Tags
opensuse111, raid



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
Help recoving a failed MD RAID-5 on openSUSE 11.1 twinge Linux - Server 2 07-02-2009 11:33 AM
Opensuse 11 software RAID 5 failed: how to recover ? laufandreas Linux - Server 3 06-30-2009 04:51 AM
RAID 0 striping with openSUSE 11 - was I successful?? learning_curve Linux - General 10 05-07-2009 03:13 PM
Installing openSuSE 11 on Raid 0 mattyoly Linux - General 6 12-09-2008 01:46 AM
[SOLVED] OpenSuSE 11 on REAL raid / Dual Boot with Windows XP lpallard Linux - Laptop and Netbook 8 11-18-2008 07:20 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > SUSE / openSUSE

All times are GMT -5. The time now is 04:17 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