[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-users] Creating vms with 3 partitions


  • To: xen-users@xxxxxxxxxxxxx
  • From: Alexandre Kouznetsov <alk@xxxxxxxxxx>
  • Date: Wed, 10 Oct 2012 16:10:02 -0500
  • Delivery-date: Wed, 10 Oct 2012 21:11:29 +0000
  • List-id: Xen user discussion <xen-users.lists.xen.org>

El 10/10/12 15:58, Thiago Parolin escribió:
I need to create one vm for web/apache with 3 partitions: /, swap and /var.
Using the --lvm=vg0 option and --size=10G and --swap=1024M, i can create
normally, but what the option in the command xen-create-image that i
would use to do the same, but with one more partition, /var in my case.

If xen-tools if what you are using to create your PV images, you can use "partitions = " directive in your xen-tools.conf. It shall point to a file in /etc/xen-tools/partitions.d . Check the existing examples for reference.

Config file is my preferred way to refine options for my new images, even if i use that options only once (i comment them out after). the same option may be used on command line.

--
Alexandre Kouznetsov


_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxx
http://lists.xen.org/xen-users


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.