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

[Xen-users] Re: how to find the underlying device of an block-attached d

To: Ferenc Wagner <wferi@xxxxxxx>
Subject: [Xen-users] Re: how to find the underlying device of an block-attached device
From: vu pham <vu@xxxxxxxxxx>
Date: Thu, 15 Jan 2009 06:50:47 -0600
Cc: xen-users@xxxxxxxxxxxxxxxxxxx
Delivery-date: Thu, 15 Jan 2009 04:53:04 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <87y6xchnz8.fsf@xxxxxxxxxxxxx>
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: <496E5CCC.2000908@xxxxxxxxxx> <87y6xchnz8.fsf@xxxxxxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Thunderbird 2.0.0.18 (X11/20081119)
Ferenc Wagner wrote:
vu pham <vu@xxxxxxxxxx> writes:

I added several files as block devices to a domU. Now I am trying to
list which files I used for the attached devices.
xm block-list does not return the file names.

[root@xen2 xen]#  xm block-list vtest5
Vdev  BE handle state evt-ch ring-ref BE-path
51712    0    0     4      6      8
/local/domain/0/backend/tap/2/51712 51728    0    0     4      7
9     /local/domain/0/backend/tap/2/51728 51744    0    0     4      9
786   /local/domain/0/backend/tap/2/51744 51760    0    0     4
10     885   /local/domain/0/backend/tap/2/51760 51776    0    0     4
11     850   /local/domain/0/backend/tap/2/51776 51792    0    0     4
12     1004  /local/domain/0/backend/tap/2/51792


Where can I find those information ?

Try 'xm list --long vtest5' or 'xenstore-ls'.
Thanks, Ferenc. Both commands give me the results that I need.

Vu

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