Software Raid

by Geethalakshmi 2010-05-30 03:26:32

Software Raid


1. Create devices:

root@host:/# mknod /dev/md0 b 9 0
root@host:/# mknod /dev/md1 b 9 1
[...]

2. Create partitions, partition type fd (Linux raid autodetect):

root@host:/# fdisk /dev/sda
root@host:/# fdisk /dev/sdb

3. Create filesystem:

root@host:/# mkreiserfs /dev/sda1
root@host:/# mkreiserfs /dev/sdb1
[...]

4. Cretate RAID:

root@host:/# mdadm --create /dev/md0 --level=1 --raid-devices=2 /dev/sda1 /dev/sdb1
root@host:/# mdadm --create /dev/md1 --level=1 --raid-devices=2 /dev/sda2 /dev/sdb2
[...]

Tagged in:

813
like
0
dislike
0
mail
flag

You must LOGIN to add comments