Linux LVM users
 help / color / mirror / Atom feed
From: James Puellmann <superfueld@charter.net>
To: LVM general discussion and development <linux-lvm@redhat.com>
Subject: Re: [linux-lvm] LVM and Kickstart
Date: Wed, 01 Dec 2004 11:31:16 -0600	[thread overview]
Message-ID: <41ADFFE4.5050607@charter.net> (raw)
In-Reply-To: <DAE695E47B9BCC45996768956410A6A90E9187@dlee2k03.ent.ti.com>

Here's a snippet of my own kickstart which sets up a few logvols of 
its own. Don't know what's wrong with yours exactly, but this works 
fine for me - maybe you can mod it to your own purposes.

zerombr yes
clearpart --all

partition /boot --fstype ext3 --size=100
partition pv.01 --size=100 --grow
volgroup vg01 pv.01
logvol / --fstype ext3 --name=lvol1 --vgname=vg01 --size=2000
logvol /var --fstype ext3 --name=lvol2 --vgname=vg01 --size=2000
logvol /usr --fstype ext3 --name=lvol3 --vgname=vg01 --size=1000
logvol /tmp --fstype ext3 --name=lvol4 --vgname=vg01 --size=1000
logvol swap --fstype swap --name=lvol5 --vgname=vg01 --recommended
logvol /opt --fstype ext3 --name=lvol6 --vgname=vg01 --size 1000

Jim Owenby wrote:
> Is there any examples of using LVM on RedHat 3.x in a kickstart 
> script? I am trying to creat one large LVM partion accross 3 drives to 
> about 400G and I am not having any luck at it.
> 
> I have tired the following in the ks.cfg file:
> # partition information
> clearpart --all
>  part /boot --fstype ext3 --size=100 --ondisk=sda
>  part swap --size=8192 --ondisk=sda
>  part / --fstype ext3 --size=8192 --ondisk=sda
>  part pv.15 --size=100 --grow --ondisk=sdc
>  part pv.13 --size=100 --grow --ondisk=sdb
>  part pv.11 --size=100 --grow --ondisk=sda
>  volgroup Volume00 pv.11 pv.13 pv.15
>  logvol /tmp --fstype ext3 --name=LogVol00 --vgname=Volume00 
>  --pesize=16384 --size=354500
> 
> Jim Owenby
> Texas Instruments Inc
> P.O. Box 660199 M/S 8714
> Dallas, Tx. 75265
> Design Systems,Compute Team
> Unix/Linux Administrator
> Ph: 214.480.4082
> Cell: 214.882.3831
> Email: jowenby@ti.com
> 
> 
> _______________________________________________
> linux-lvm mailing list
> linux-lvm@redhat.com
> https://www.redhat.com/mailman/listinfo/linux-lvm
> read the LVM HOW-TO at http://tldp.org/HOWTO/LVM-HOWTO/
> 

  reply	other threads:[~2004-12-01 17:31 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-12-01 13:35 [linux-lvm] LVM and Kickstart Jim Owenby
2004-12-01 17:31 ` James Puellmann [this message]
  -- strict thread matches above, loose matches on Subject: below --
2004-12-02 14:39 Shea,Dan [CIS]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=41ADFFE4.5050607@charter.net \
    --to=superfueld@charter.net \
    --cc=linux-lvm@redhat.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox