Difference between revisions of "User:Posde"
(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...) |
|||
Line 18: | Line 18: | ||
and try mdadm --create again. | and try mdadm --create again. | ||
− | Now we have the initial device for LinuxMCE. Look at the wiki page [[http://wiki.linuxmce.org/index.php/DVD_Install_And_Custom_Partitions]] regarding custom partitioning, and create the three relevant partitions within the device /dev/md0 instead of /dev/sda. | + | Now, wait for the array creation to finish. Watch it with |
+ | cat /proc/mdstat | ||
+ | |||
+ | Now we have the initial device for LinuxMCE. Look at the wiki page [[http://wiki.linuxmce.org/index.php/DVD_Install_And_Custom_Partitions]] regarding custom partitioning, and create the three relevant partitions within the device /dev/md0 instead of /dev/sda and the relevant file and dir. | ||
+ | |||
+ | Now it is time to install LinuxMCE as outlined in the above wiki. When done, come back here. | ||
+ | |||
+ | == Create a RAID-5 MD with LVM2 on top == | ||
+ | LinuxMCE is installed and Sarah did his show and dance, and most of the stuff is configured. Now we will setup the array for the media. This array will be the foundation for an LVM2. Ontop of LVM2 will be an xfs file system. This will ensure ease in growing our media repository. |
Revision as of 17:01, 1 May 2008
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, wait for the array creation to finish. Watch it with
cat /proc/mdstat
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 and the relevant file and dir.
Now it is time to install LinuxMCE as outlined in the above wiki. When done, come back here.
Create a RAID-5 MD with LVM2 on top
LinuxMCE is installed and Sarah did his show and dance, and most of the stuff is configured. Now we will setup the array for the media. This array will be the foundation for an LVM2. Ontop of LVM2 will be an xfs file system. This will ensure ease in growing our media repository.