WARNING - OLD ARCHIVES

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/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-users

Re: [Xen-users] About LV guest

To: Stephen Liu <satimis@xxxxxxxxx>
Subject: Re: [Xen-users] About LV guest
From: John Haxby <john.haxby@xxxxxxxxxx>
Date: Tue, 14 Oct 2008 09:32:07 +0100
Cc: xen-users@xxxxxxxxxxxxxxxxxxx
Delivery-date: Tue, 14 Oct 2008 01:32:46 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <557365.20849.qm@xxxxxxxxxxxxxxxxxxxxxxxxxxx>
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: <557365.20849.qm@xxxxxxxxxxxxxxxxxxxxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Thunderbird 2.0.0.16 (X11/20080723)
Stephen Liu wrote:
Host is installed on physical volume without partition nor in LVG.  Can
I create LV guests?

Yes, but you need a volume group in which to create the logical volumes. Basically you need an unused partition and then

   pvcreate <partition>
   vgcreate /dev/VG0 <partition>
   lvcreate -L 5000 -n g01 VG0

So long as that all works you'll be fine -- there's no real difference between a logical volume and a conventional disk partition for most purposes.

jch

_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users

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