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] How to create an img.

To: maillists0@xxxxxxxxx
Subject: Re: [Xen-users] How to create an img.
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
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 :to:subject:cc:in-reply-to:mime-version:content-type :content-transfer-encoding:content-disposition:references; bh=Zh1iXouWq6AzJ48cBRjWzDuhR6Nk7cMfQPqzTxVjPig=; b=uAwT6zh12cGETFsGreWdOoVxm2ANk0bgrbDHrkE6QKhj5b7qxFgXO2aykRN+tFzfT3 Whhbw8XRTfxyUCJHaKZL8ikQ1waDjrBRyG/980Fx6HdZAXisG1Trdw5SLS+GIX9s1yti g+Uayci3rGKlmblDsQegzJ5uTjah5Qt+wjev4=
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=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <dc64e7230812201337i1bec7b31p6bdeec330a6d149b@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: <dc64e7230812200843k7675e8e8ve208ba044c61ef85@xxxxxxxxxxxxxx> <1e16a9ed0812201003o5ad52669ha4675aa2367b6f56@xxxxxxxxxxxxxx> <dc64e7230812201337i1bec7b31p6bdeec330a6d149b@xxxxxxxxxxxxxx>
Reply-to: deshantm@xxxxxxxxx
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
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.

Cheers,
Todd

-- 
Todd Deshane
http://todddeshane.net
http://runningxen.com

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

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