Linux LVM users
 help / color / mirror / Atom feed
* [linux-lvm] LVM and Kickstart
@ 2004-12-01 13:35 Jim Owenby
  2004-12-01 17:31 ` James Puellmann
  0 siblings, 1 reply; 3+ messages in thread
From: Jim Owenby @ 2004-12-01 13:35 UTC (permalink / raw)
  To: linux-lvm

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

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [linux-lvm] LVM and Kickstart
  2004-12-01 13:35 [linux-lvm] LVM and Kickstart Jim Owenby
@ 2004-12-01 17:31 ` James Puellmann
  0 siblings, 0 replies; 3+ messages in thread
From: James Puellmann @ 2004-12-01 17:31 UTC (permalink / raw)
  To: LVM general discussion and development

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/
> 

^ permalink raw reply	[flat|nested] 3+ messages in thread

* RE: [linux-lvm] LVM and Kickstart
@ 2004-12-02 14:39 Shea,Dan [CIS]
  0 siblings, 0 replies; 3+ messages in thread
From: Shea,Dan [CIS] @ 2004-12-02 14:39 UTC (permalink / raw)
  To: LVM general discussion and development

This is what we use.  Our 4 hard drives are in a raid 5 configuration, so only /dev/sda is seen.  Also it was decided to have /boot and / not under lvm.
Dan.

#Partition clearing information
clearpart --all --initlabel 
part /boot --fstype ext3 --size=100
part / --fstype ext3 --size=8000
part swap --size=4000
part pv.20 --size=100 --grow
volgroup npmu_vg01 pv.20
logvol /npmu_feed --fstype ext3 --name=lv_npmu_feed --vgname=npmu_vg01 --size=4000
## Change the process mount point to the HOSTNAME_process
logvol /einstein_process --fstype ext3 --name=lv_process --vgname=npmu_vg01 --size=5000
logvol /home --fstype ext3 --name=lv_home --vgname=npmu_vg01 --size=10000
logvol /usr --fstype ext3 --name=lv_usr --vgname=npmu_vg01 --size=10000
logvol /var --fstype ext3 --name=lv_var --vgname=npmu_vg01 --size=5000
logvol /tmp --fstype ext3 --name=lv_tmp --vgname=npmu_vg01 --size=1000
logvol /npmu_ops --fstype ext3 --name=lv_npmu_ops --vgname=npmu_vg01 --size=5000
logvol /npmu_storage --fstype ext3 --name=lv_npmu_storage --vgname=npmu_vg01 --size=40000
-----Original Message-----
From: linux-lvm-bounces@redhat.com
[mailto:linux-lvm-bounces@redhat.com]On Behalf Of Jim Owenby
Sent: Wednesday, December 01, 2004 8:36 AM
To: linux-lvm@redhat.com
Subject: [linux-lvm] LVM and Kickstart


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/

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2004-12-02 14:39 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-12-01 13:35 [linux-lvm] LVM and Kickstart Jim Owenby
2004-12-01 17:31 ` James Puellmann
  -- strict thread matches above, loose matches on Subject: below --
2004-12-02 14:39 Shea,Dan [CIS]

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox