[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [Xen-users] how to find the underlying device of an block-attached device
Todd Deshane wrote: On Wed, Jan 14, 2009 at 4:44 PM, vu pham <vu@xxxxxxxxxx> wrote: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 ?Does the lsof command help here? I was not very clear in my qeustion, I guess. For example, I have the following commands in dom0: #xm block-attach vtest5 tap:aio://xen/images/vtest5_c.img /dev/xvdc w #xm block-attach vtest5 tap:aio://xen/images/vtest5_d.img /dev/xvdd w #xm block-attach vtest5 tap:aio://xen/images/vtest5_e.img /dev/xvde w #xm block-attach vtest5 tap:aio://xen/images/vtest5_f.img /dev/xvdf wLater, I would like to check which files ( in dom0 ) are corresponding to which devices ( in domU vtest5 ). I tried lsof but I cannot fint the connection between the two. Thanks, Vu _______________________________________________ Xen-users mailing list Xen-users@xxxxxxxxxxxxxxxxxxx http://lists.xensource.com/xen-users
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |