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-devel

RE: [Xen-devel] how to see the data changing in a running domain?

To: "aq" <aquynh@xxxxxxxxx>, "Xen-Devel" <xen-devel@xxxxxxxxxxxxxxxxxxxxx>
Subject: RE: [Xen-devel] how to see the data changing in a running domain?
From: "Ian Pratt" <m+Ian.Pratt@xxxxxxxxxxxx>
Date: Sun, 23 Jan 2005 14:22:59 -0000
Delivery-date: Sun, 23 Jan 2005 14:24:32 +0000
Envelope-to: xen+James.Bulpin@xxxxxxxxxxxx
List-archive: <http://sourceforge.net/mailarchive/forum.php?forum=xen-devel>
List-help: <mailto:xen-devel-request@lists.sourceforge.net?subject=help>
List-id: List for Xen developers <xen-devel.lists.sourceforge.net>
List-post: <mailto:xen-devel@lists.sourceforge.net>
List-subscribe: <https://lists.sourceforge.net/lists/listinfo/xen-devel>, <mailto:xen-devel-request@lists.sourceforge.net?subject=subscribe>
List-unsubscribe: <https://lists.sourceforge.net/lists/listinfo/xen-devel>, <mailto:xen-devel-request@lists.sourceforge.net?subject=unsubscribe>
Sender: xen-devel-admin@xxxxxxxxxxxxxxxxxxxxx
Thread-index: AcUBVEgIARaMCzCNRumo9EwZF4lJGgAADywA
Thread-topic: [Xen-devel] how to see the data changing in a running domain?
> I wonder how I can see the (on-disk) data changing in a running
> domainU. I tried to do it, but the data looking from outside remains
> intact, no matter what I modified inside the domainU.

Use NFS root, otherwise the caching (in both kernels) will stop you
seeing what's going on.

An alternative is to use GFS or OCFS2.

Ian
 
> I did it this way: I use a file-based rootfs (got from ttylinux), and
> created a domainU on that rootfs. Everything was fine. Then from
> domain0, I mounted that "rootfs" file in read-only mode, with this
> command: "mount -o loop -o ro rootfs /mnt". After that I could see the
> data inside the rootfs.
> 
> Then I suppose that from outside (domain0), I can watch for the data
> of domainU changing in realtime. To test, I just did a comand like
> this from inside domainU: "ls /etc > /root/etclist", and created a
> "etclist" in "/root". Then I supposed that from domain0, in a mounted
> "/mnt" above, I could see the new file created as "/mnt/root/etclist",
> but I was disappointed not to see anything at all.
> 
> So clearly everything made changed inside domainU cannot be seen from
> outside (domain0). Anybody can please explain to me why, and if
> possible, how could I watch data of domainU (in realtime) from
> domain0?
> 
> Thank you a lot,
> AQ
> 
> 
> -------------------------------------------------------
> This SF.Net email is sponsored by: IntelliVIEW -- Interactive 
> Reporting
> Tool for open source databases. Create drag-&-drop reports. Save time
> by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc.
> Download a FREE copy at http://www.intelliview.com/go/osdn_nl
> _______________________________________________
> Xen-devel mailing list
> Xen-devel@xxxxxxxxxxxxxxxxxxxxx
> https://lists.sourceforge.net/lists/listinfo/xen-devel
> 


-------------------------------------------------------
This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting
Tool for open source databases. Create drag-&-drop reports. Save time
by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc.
Download a FREE copy at http://www.intelliview.com/go/osdn_nl
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxxxx
https://lists.sourceforge.net/lists/listinfo/xen-devel