[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • To: "aq" <aquynh@xxxxxxxxx>, "Xen-Devel" <xen-devel@xxxxxxxxxxxxxxxxxxxxx>
  • 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
  • List-id: List for Xen developers <xen-devel.lists.sourceforge.net>
  • 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


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.