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

Re: [Xen-users] Using virt-install on LV


  • To: John Haxby <john.haxby@xxxxxxxxxx>
  • 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
  • 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=
  • List-id: Xen user discussion <xen-users.lists.xensource.com>

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


 


Rackspace

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