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] identify blkback devices

To: Xen Users <Xen-users@xxxxxxxxxxxxxxxxxxx>
Subject: [Xen-users] identify blkback devices
From: Israel Garcia <igalvarez@xxxxxxxxx>
Date: Fri, 21 May 2010 11:55:30 +0200
Cc:
Delivery-date: Fri, 21 May 2010 02:57:00 -0700
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:date:message-id :subject:from:to:content-type; bh=Mh8eNs6TaVy5P9D87+5n+WPFWrWjb2Q5TkUW5sRaRRk=; b=g26UjxTn85P2yLmYFaA4bGqZ4EQ9VXNzO8McQuOer8sBiCr2KK1NWUcAH2DGoOYWRs HOP8OFtTEunrFJ+1tN0jxhkZoelGs8g/v+SIqmNrIqkO6+bpbPovI2syfxleoxKAnogm ukxP98LZUfYUbIrW0KmSc3VEpNx1qSOSDwfNc=
Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=lj7rpnJt2+Jz8xI2I6sBtiMszj01DCb15Zm0dJFVNtEWgWGqlFAw9FT+xjbKBK4gUu wOxgfSp4pIcuLErq/WRixyEqKCxkH5RwLSU2SxDxzJ4esjrhUU/JlpsayLJEuZCSmslr 1gemoyDG5YfGtBL6AaRsYSvwRKnL50CiimiL8=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
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>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
I have thie entry in cfg file:

root = '/dev/xvda2 ro'
disk = [
   'phy:/dev/vg0/domU1-swap,xvda1,w',  # --> domU swap
   'phy:/dev/vg0/domU2-disk,xvda2,w',   # --> domU /
         ]

I know from ps command this two block devices correspond to my domU.
13631 ?        S<     0:00  \_ [blkback.149.xvd]
13632 ?        S<     0:02  \_ [blkback.149.xvd]

Question is:
How can I identify the PID with the device from phy entry?

-- 
Regards;
Israel Garcia

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

<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-users] identify blkback devices, Israel Garcia <=