Originally Posted by nsic
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
root@host# mdadm --create /dev/md0 --level=1 --raid-devices=2 /dev/sdb1 /dev/sdc1
Confrim with either...
root@host# cat /proc/mdstat
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
root@host# mkfs.ext4 /dev/md0
You can now "mount" it just like any other disk
root@host# mount /dev/md0 /data
To keep it persistem upon reboots; you must edit the correct files...
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