Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
Go Back > Forums > Linux Forums > Linux - Distributions > Red Hat
User Name
Red Hat This forum is for the discussion of Red Hat Linux.


  Search this Thread
Old 11-08-2007, 12:23 PM   #1
Registered: Aug 2004
Location: Washington
Distribution: RHEL 5.0
Posts: 145

Rep: Reputation: 16
Kickstart & logical volumes

I am trying to get my ks.cfg (kickstart file) to configure logical volumes but it doesn't seem to be working.

Anyone familar with how to get kickstart to create such things?
What are the lines to look like in ks.cfg.

Old 11-08-2007, 12:45 PM   #2
Registered: Aug 2004
Location: Washington
Distribution: RHEL 5.0
Posts: 145

Original Poster
Rep: Reputation: 16
Here are the lines from my ks.cfg......

part pvt00 --fstype ext3 --size=100 --grow --asprimary
volgroup vg00 pvt00
logvol /vmaware --vgname=vg00 --size 32000 --name=lvl1
logvol /v --vgname=vg00 --size 32000 --name=lvl2
logvol /deploy --vgname=vg00 --size 12000 --name=lvl3
logvol /tmp --vgname=vg00 --size 32000 --name=lvl4
Where am I going wrong?

Old 11-14-2007, 01:03 PM   #3
Registered: Mar 2006
Location: Ohio, USA
Distribution: Red Hat, Fedora, Knoppix,
Posts: 545

Rep: Reputation: 33
Here is the disk section from one of my anaconda files.

It has two logical drives, sda and sdb
the clearpart will wipe all data from the disks.

clearpart --all --drives=sda,sdb
part /boot --fstype ext3 --size=102 --ondisk=sda
part pv.42 --size=550000 --ondisk=sda
part /usr --fstype ext3 --size=10240 --ondisk=sda
part /home --fstype ext3 --size=10240 --ondisk=sda
part swap --size=4096 --ondisk=sda
part / --fstype ext3 --size=4096 --ondisk=sda
part /var --fstype ext3 --size=2048 --ondisk=sda
part /tmp --fstype ext3 --size=2048 --ondisk=sda
part /log2 --fstype ext3 --size=100 --grow --ondisk=sdb
volgroup VolGroupLog1 --pesize=32768 pv.42
logvol /log1 --fstype ext3 --name=LogVol_log1 --vgname=VolGroupLog1 --size=549952


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
KDiskFree gets it wrong with Logical Volumes GTrax Linux - Software 3 11-12-2007 01:10 AM
finding and mounting logical volumes Steve Riley Fedora 5 04-14-2007 03:39 PM
Mounting Logical Volumes acidblue Fedora 6 01-28-2006 10:02 PM
I did not know about logical volumes gezi Linux - Newbie 5 04-27-2005 09:26 AM
how to read the output of df -k and about logical volumes commands jdara1 Linux - Software 3 05-23-2003 12:22 PM > Forums > Linux Forums > Linux - Distributions > Red Hat

All times are GMT -5. The time now is 01:13 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration