RHES 5 kickstart and LVM on ks.cfg question

Ask Bjørn Hansen ask-LxHg3dlN6iy+XT7JhA+gdA at public.gmane.org
Tue Aug 7 06:46:48 EDT 2007


On Jun 27, 2007, at 5:16 PM, Dave Peters wrote:

> How to add LVM on the ks.cfg?

The easiest way is to just leave that stuff out of your ks.cfg on the  
first install and then use VNC to setup the disks as you want them.   
When it's done then look in /root/anaconda-ks.cfg for the recipe for  
what you did.

> Do I need setup raid before to add LVM? I found the
> doc  the setup like this:

> part raid 11 --szie 1 --grow  --ondrive=sda
> part raid 12 --szie 1 --grow  --ondrive=sda

You're missing a dot between "raid" and the number and --size is  
misspelled.   You probably also meant to make one of the --ondrive  
versions "sdb".

> raid pv.01 --fstype ext3 --device md4 --level=RAID1

This should be something like

raid pv.01 --fstype "physical volume (LVM)" --level=RAID1 -- 
device=md1 raid.11 raid.12


   - ask

> raid.11 raid.12
>
> volgroup sysvg pv.01
> logvol /    --vgname=sysvg --size=8000  --name=/
> logvo2 /home --vgname=sysvg --szie=10000 --name=/home
> logvo3 /tmp  --vgname=sysvg --szie=8000  --name=/tmp



-- 
http://develooper.com/ - http://askask.com/



-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.






More information about the Discuss mailing list