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

Re: [Xen-users] How to create an img.

  • To: maillists0@xxxxxxxxx
  • From: "Todd Deshane" <deshantm@xxxxxxxxx>
  • Date: Sat, 20 Dec 2008 16:40:36 -0500
  • Cc: xen-users mailing list <xen-users@xxxxxxxxxxxxxxxxxxx>
  • Delivery-date: Sat, 20 Dec 2008 13:41:54 -0800
  • Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:reply-to:to:subject:cc:in-reply-to :mime-version:content-type:content-transfer-encoding :content-disposition:references; b=rHIWeBgPl7fVngSea6rA9zXBl7Z1o44XKHLkYpXIAC27MA8Eo8cZEOCq4893TAOUie BIin6BEcdxgvrejK6DHbwbZNkkUKIm01rGmbZSmhM0wLPqVaPY9YLtfKbG6wkD0+CdCI nsnd6aazN6V3GnaOn7BY96DI4lAZV7mwxkJ4g=
  • List-id: Xen user discussion <xen-users.lists.xensource.com>

On Sat, Dec 20, 2008 at 4:37 PM,  <maillists0@xxxxxxxxx> wrote:
>> This should give you the pieces you are missing:
>> (kpartx is your friend here)
>> http://www.centos.org/docs/5/html/Virtualization-en-US/ch-virt-accessing-data.html

> Thanks! I have a question. I'm not sure what to use for "guest1" in this
> line: kpartx -av /dev/xen/guest1. In /dev/xen on my system, I have this list
> of devices:
> blktap0  blktap1  evtchn  tapctrlread1  tapctrlwrite1
> How do I know which one my guest is using?

Those instruction assume that you are working with logical volumes.
The kpartx should be applied to the disk image file, whatever that
may be. That will then make the partitions available in /dev/mapper.
If you are working with LVs either as the disk or on the disk, then
the standard LVM commands apply.

Hope that helps.


Todd Deshane

Xen-users mailing list



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