This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
Home Products Support Community News


Re: [Xen-users] Prevent partitioning on LVM

To: Michele <ftf@xxxxxxxxxxxx>
Subject: Re: [Xen-users] Prevent partitioning on LVM
From: Pasi Kärkkäinen <pasik@xxxxxx>
Date: Wed, 5 Aug 2009 17:10:56 +0300
Cc: xen-users@xxxxxxxxxxxxxxxxxxx
Delivery-date: Wed, 05 Aug 2009 07:11:40 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <2ff7902b0908050641s47011ab2x41452f9004fa2683@xxxxxxxxxxxxxx>
List-help: <mailto:xen-users-request@lists.xensource.com?subject=help>
List-id: Xen user discussion <xen-users.lists.xensource.com>
List-post: <mailto:xen-users@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
References: <2ff7902b0908050641s47011ab2x41452f9004fa2683@xxxxxxxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Mutt/1.5.13 (2006-08-11)
On Wed, Aug 05, 2009 at 03:41:39PM +0200, Michele wrote:
> Hi,
> I was wondering if there's a way to force a certain partitioning
> schema when using LVM.
> Let me explain: I would like to create two LVM volumes in the dom0,
> format one as ext3 and the other one as a swap partition. Then I'd
> like to install CentOS using the first one as the root partition and
> the second one as the swap partition. The problem is the installer
> wants to repartition both volumes. It says: "/dev/hda1 currently has a
> loop partition layout"
> Is there a way to create and format those volumes in a way that will
> be usable by the installer.

First of all you should present the LVM volumes as /dev/xvda1 and
/dev/xvda2, or even better as /dev/xvda and do the partitioning in the
CentOS installer in the domU.

-- Pasi

Xen-users mailing list

<Prev in Thread] Current Thread [Next in Thread>