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] Using virt-install on LV

To: John Haxby <john.haxby@xxxxxxxxxx>
Subject: Re: [Xen-users] Using virt-install on LV
From: Paola Salviato <psalviato@xxxxxxxxx>
Date: Mon, 23 Mar 2009 12:36:08 +0100
Cc: xen-users@xxxxxxxxxxxxxxxxxxx
Delivery-date: Mon, 23 Mar 2009 04:37:23 -0700
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:reply-to :user-agent:mime-version:to:cc:subject:references:in-reply-to :content-type:content-transfer-encoding; bh=R48FWEkCgISZO6DDz2nVUa2H6VZfdsZ1k5mIGcPciWY=; b=Rts6KAcS4tTy8ZPtqiS4cpfME9pR6xKXNV6qxxlnrBsbDIZJTh0O7VDpsNLsquS3py 9qbnGWQM507TbcPCQSVmIqeUhwGKSdXJBcob+jHP5B9gc3/XNL+H4yoA2duKJc7ieTq+ fWOQaf39I3xfHgqh5B87LqO+OoAApTZA9o6g4=
Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:reply-to:user-agent:mime-version:to:cc:subject :references:in-reply-to:content-type:content-transfer-encoding; b=bK6DQCJdRP+Lu7n83l76DgEqYwj9IjJo3swDGrjt/OfTt1Jc2cUg9m+U3nZcwR6zIR IpP5ILPaveQnMDCbdSzAwVQqTewA6BwkbrhGk4EHlZb1mpirvC/3T2Mqbyt9e33CtWSq l5RmzELE6MByE/Qc+i0augi5Rcs39ERI6mixA=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <49C77108.1090902@xxxxxxxxxx>
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: <975527.27895.qm@xxxxxxxxxxxxxxxxxxxxxxxxxxx> <051D29F4AF2640F285ED76DC045687FC@xxxxxxxxxxxxxxxxxxxxxxxxx> <49C7613D.6080908@xxxxxxxxx> <49C7632A.2020203@xxxxxxxxxx> <49C76EB5.7000002@xxxxxxxxx> <49C77108.1090902@xxxxxxxxxx>
Reply-to: psalviato@xxxxxxxxx
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Thunderbird 2.0.0.21 (X11/20090320)
No, I have created the volume group and the logical volume. Why does it have to be 16G (I gave it a lot of space)?

John Haxby wrote:
Paola Salviato wrote:
It doesn't work...  libvir: Remote error : No such file or directory
libvir: warning : Failed to find the network: Is the daemon running?

Ahh! virt-install doesn't create the logical volume for you. You need to create it yourself. If this is a "standard" Red Hat install and you didn't fiddle with the volume group name when you did the install then do something like this:

   lvcreate -L 16G -n guest VolGroup00
   virt-install -file /dev/VolGroup00/guest ....

Where "guest" is the name you want to give to the logical volume, "16G" is its size and "VolGroup00" is the name of the volume group you in which you want to create the logical volume.

jch


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