User:Posde
From LinuxMCE
Revision as of 16:03, 1 May 2008 by Marie.o (Talk | contribs) (New page: == Create a RAID 0 == As the boot partition we will create a raid 0 array. First create partitions on two of the disks using fdisk fdisk /dev/sda n - new partition 1 - start of partitio...)
Create a RAID 0
As the boot partition we will create a raid 0 array. First create partitions on two of the disks using fdisk
fdisk /dev/sda n - new partition 1 - start of partition +80000M - we take about 80GB of space. Enough for the initial / of LinuxMCE and a couple of MDs t - change type of partition fd - to a raid array w - write changes to disk.
same for /dev/sdb.
Now we create the raid devices
mdadm --create /dev/md0 --level=1 --raid-devices=2 /dev/sda1 /dev/sdb1
If you receive an error, device /dev/md0 not found, make sure, the kernel module md is loaded, do
modprobe md
and try mdadm --create again.
Now we have the initial device for LinuxMCE. Look at the wiki page [[1]] regarding custom partitioning, and create the three relevant partitions within the device /dev/md0 instead of /dev/sda.