Interesting question - the kickstart docs say:<br>"<a id="d0e22335" class="indexterm"><code class="command">--noformat</code> — Use an existing logical volume and do not format it.
                                                        "<br>but - you wouldn't have an "existing" lv to use.<br>Maybe a post-install task?<br></a><br><div class="gmail_quote">On Thu, Jun 18, 2009 at 1:23 PM, Madison Kelly <span dir="ltr"><<a href="mailto:linux-5ZoueyuiTZhBDgjK7y7TUQ@public.gmane.org">linux-5ZoueyuiTZhBDgjK7y7TUQ@public.gmane.org</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">Hi all,<br>
<br>
  I am setting up a kickstart file for a CentOS 5.3/Xen install and want to have it create a logical volume on a VG, but not format or mount it. The reason is, I will give the partition to a specific virtual machine, so would just has to unmount it and remove it's entry from fstab, which kind of defeats having it pre-built with the OS install as I can just as easy create it after the fact.<br>

<br>
  I've got:<br>
<br>
### LVM setup.<br>
raid pv.20 --fstype "physical volume (LVM)" --level=RAID1 --device=md2 raid.11 raid.21<br>
volgroup        vg0     --pesize=32768 pv.20<br>
logvol          /       --fstype ext3   --name=lv0 --vgname=vg0 --size=20000<br>
logvol          /vm     --fstype ext3   --name=lv1 --vgname=vg0 --size=250000<br>
<br>
  Could I simply add:<br>
<br>
logvol --name=lv2 --vgname=vg0 --size=1 --grow<br>
<br>
  Without the mount point or fstype being specified?<br>
<br>
  Thanks for any help! Google is failing me...<br>
<br>
Madi<br><font color="#888888">
--<br>
The Toronto Linux Users Group.      Meetings: <a href="http://gtalug.org/" target="_blank">http://gtalug.org/</a><br>
TLUG requests: Linux topics, No HTML, wrap text below 80 columns<br>
How to UNSUBSCRIBE: <a href="http://gtalug.org/wiki/Mailing_lists" target="_blank">http://gtalug.org/wiki/Mailing_lists</a><br>
</font></blockquote></div><br>