Kickstart LVM partition examples

kent klnasveschuk at klnconsulting.net
Tue Jun 6 21:08:26 EDT 2006


Will try this tomorrow, thank you.

Kent N
 
On Tue, 2006-06-06 at 08:43 -0400, Matt Shields wrote:
> Here's what I use for my RHEL3 & RHEL4 servers.  You don't need the
> junkvol, I use that for some post install scripts, but is a good example
> of other partitions.
> 
> 
> bootloader --location=mbr
> autopart
> zerombr yes
> clearpart --all --drives=sda
> part /boot --fstype ext3 --size=200 --asprimary
> part swap --size=1000 --grow --maxsize=2000 --ondisk=sda
> part pv.01 --size=1024 --grow --ondisk=sda
> volgroup vg.01 pv.01
> logvol / --fstype ext3 --size=1024 --vgname=vg.01 --name=rootvol --grow
> logvol /opt --fstype ext3 --size=2048 --vgname=vg.01 --name=junkvol 
> 
> 
> Matthew Shields
> Sr Systems Administrator
> YesDirect, Inc.
> (P) 781-839-2828
> (C) 781-424-3531
> mshields at yesdirect.com
> page-mshields at yesdirect.com
> 
> www.yesdirect.com
> www.buydomains.com
> www.seeq.com
> www.purebusiness.com
> 
> Visit one of our 90 verticals at
> www.yesdirect.com
> 
> 
> -----Original Message-----
> From: discuss-bounces at blu.org [mailto:discuss-bounces at blu.org] On Behalf
> Of kent
> Sent: Tuesday, June 06, 2006 6:01 AM
> To: discuss at blu.org
> Subject: Kickstart LVM partition examples
> 
> Hello,
> Just wondering if anyone using kickstart for RedHat or Fedora has
> examples of setting up logical volumes in the config file.
> 
> This works but doesn't use logical volumes.
> 
> part /boot --bytes-per-inode=4096 --fstype="ext3" --ondisk=hda
> --size=100 --asprimary part / --bytes-per-inode=4096 --fstype="ext3"
> --grow --ondisk=hda
> --size=1 --asprimary
> part swap --size=512 --ondisk=hda --asprimary
> 
> I haven't had any success with examples I found on the Internet.
> 
> Kent N
> 
>  
> 
> _______________________________________________
> Discuss mailing list
> Discuss at blu.org
> http://olduvai.blu.org/mailman/listinfo/discuss
> 




More information about the Discuss mailing list