Home documentation how tos system, RAID and LVM
SYSTEM, RAID and LVM PDF Print E-mail

We choosed to use Debian Lenny 64bit as VDD server OS. Three 10.000 rpm disks have been put in RAID 5, using Linux RAID software. The resulting device md0 has been then treated with LVM (Logical Volume Manager). Modifications to LVM (creation of volume groups and logical volumes) have been initially performed using a GUI and then with lvm shell commands. See also the Xen section for auto lv creation through xen-tools. Boot partition has been created outside RAID and LVM volumes.

root@serv1:~# apt-get install system-config-lvm


root@serv1:~# lvm help
root@serv1:~# lvm help <command>

Use the appropriate "make filesystem" command" to create different filesystems


root@serv1:~# mke2fs -j <device>
root@serv1:~# mkswap <device>

This is our resulting fstab file:

# /etc/fstab: static file system information.
# <file system> <mount point> <type> <options> <dump> <pass>
proc /proc proc defaults 0 0
/dev/mapper/serv1-serv1_debian / ext3 errors=remount-ro 0 1
/dev/sda1 /boot ext2 defaults 0 2
/dev/hdb /media/cdrom0 udf,iso9660 user,noauto 0 0
/dev/mapper/extra-host_swap none swap sw