qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] -snapshot and tmpsfs
@ 2006-11-18 14:35 Ottavio Caruso
  2006-11-18 15:39 ` Michael McConnell
  2006-11-19  9:57 ` Mulyadi Santosa
  0 siblings, 2 replies; 4+ messages in thread
From: Ottavio Caruso @ 2006-11-18 14:35 UTC (permalink / raw)
  To: qemu-devel

Are the writes to tmpfs (in a *nix guest OS) recorded to the
snapshotted image?

Example: /var/run on tmpfs
OS writes to /var/run. Bigger temp file or not?

Thank you

Ottavio


 
____________________________________________________________________________________
Sponsored Link

Compare mortgage rates for today. 
Get up to 5 free quotes. 
Www2.nextag.com

^ permalink raw reply	[flat|nested] 4+ messages in thread
* Re: [Qemu-devel] -snapshot and tmpsfs
@ 2006-11-19 12:25 Ottavio Caruso
  0 siblings, 0 replies; 4+ messages in thread
From: Ottavio Caruso @ 2006-11-19 12:25 UTC (permalink / raw)
  To: qemu-devel


> From: Michael McConnell 
> On Sat, 18 Nov 2006, Ottavio Caruso wrote:
> 
> > Are the writes to tmpfs (in a *nix guest OS) recorded to the
> > snapshotted image?
> > 
> > Example: /var/run on tmpfs
> > OS writes to /var/run. Bigger temp file or not?
> 
> This isn't a guaranteed certain answer, but IIRC tmpfs uses system
> RAM and 
> swap as its storage.  Therefore a guest writing into its tmpfs
> space would 
> only touch the host filesystem if it were to use the swapfile.
> 
> As you say you're using the snapshot mode it would, if the swapfile
> is 
> touched, go into the snapshot temp file, otherwise it wouldn't.
> 
> -- Michael "Soruk" McConnell
>    Eridani Star System

As my guest OS (Debian) was filling /var/cache/apt/* with MB's of
stuff, I have modified /etc/fstab and mounted all /var/cache/apt and
children directories on tmpfs, then I have installed/uninstalled a
few packages. I have compared the size of the temp snapshot file with
the one generated before  and I have found no differences.
I wonder if that means something.

Ottavio Caruso


 
____________________________________________________________________________________
Sponsored Link

Mortgage rates near 39yr lows. 
$310k for $999/mo. Calculate new payment! 
www.LowerMyBills.com/lre

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

end of thread, other threads:[~2006-11-20  9:55 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-11-18 14:35 [Qemu-devel] -snapshot and tmpsfs Ottavio Caruso
2006-11-18 15:39 ` Michael McConnell
2006-11-19  9:57 ` Mulyadi Santosa
  -- strict thread matches above, loose matches on Subject: below --
2006-11-19 12:25 Ottavio Caruso

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).