lvm + raid0 (soft)

Omer Faruk Sen omer at faruk.net
Mon Apr 10 19:14:52 UTC 2006


Hi,

I have asked today that raid0 (striping) is possible on installation
procedure. It seems that there is no way of doing this with LVM. But I
have found out that I can do it using softraid.. Here is my kickstart
configuration for the sake of archiving so anyone can benefit from it:

I create a /boot partition using raid1 (md0) (mirroring) and create a LVM
on the top of a RAID0 (md1) and the partitions goes in to that VG..

By the way I really want to hear feedbacks maybe I am missing something or
maybe I am totally following the wrong path ;) Additionally is there any
way to change blocksize for a partition using kickstart? Say in my example
I want to format /sql using 8192 block size.

part raid.7 --size=1000 --ondisk=sda
part raid.8 --size=1000 --ondisk=sdb
part raid.12 --size=100 --grow --ondisk=sdb
part raid.11 --size=100 --grow --ondisk=sda
raid /boot --fstype ext3 --level=RAID1  --device=md0 raid.7 raid.8
raid pv.13 --fstype "physical volume (LVM)" --device=md1  --level=RAID0
raid.11 raid.12
volgroup VolGroup00 --pesize=32768 pv.13
logvol swap --fstype swap --name=LogVol01 --vgname=VolGroup00 --size=8196
logvol /sql --fstype ext3 --name=LogVol03 --vgname=VolGroup00 --size=20480
logvol /tmp --fstype ext3 --name=LogVol00 --vgname=VolGroup00 --size=1024
logvol / --fstype ext3 --name=LogVol02 --vgname=VolGroup00 --size=6400 --grow



-- 
Omer Faruk Sen
http://www.faruk.net




More information about the users mailing list