All of lore.kernel.org
 help / color / mirror / Atom feed
* how to see the data changing in a running domain?
@ 2005-01-23 14:01 aq
  2005-01-23 14:32 ` Mark Williamson
  0 siblings, 1 reply; 5+ messages in thread
From: aq @ 2005-01-23 14:01 UTC (permalink / raw)
  To: Xen-Devel

hello,

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.

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

^ permalink raw reply	[flat|nested] 5+ messages in thread
* RE: how to see the data changing in a running domain?
@ 2005-01-23 14:22 Ian Pratt
  2005-01-23 14:37 ` aq
  0 siblings, 1 reply; 5+ messages in thread
From: Ian Pratt @ 2005-01-23 14:22 UTC (permalink / raw)
  To: aq, Xen-Devel

> 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@lists.sourceforge.net
> 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

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2005-01-23 14:37 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-01-23 14:01 how to see the data changing in a running domain? aq
2005-01-23 14:32 ` Mark Williamson
  -- strict thread matches above, loose matches on Subject: below --
2005-01-23 14:22 Ian Pratt
2005-01-23 14:37 ` aq
2005-01-23 14:35   ` Mark Williamson

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.