qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: Ottavio Caruso <pr0f3ss0r1492@yahoo.com>
To: qemu-devel@nongnu.org
Subject: Re: [Qemu-devel] -snapshot and tmpsfs
Date: Sun, 19 Nov 2006 04:25:58 -0800 (PST)	[thread overview]
Message-ID: <614652.96880.qm@web52615.mail.yahoo.com> (raw)


> 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

             reply	other threads:[~2006-11-19 12:26 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-11-19 12:25 Ottavio Caruso [this message]
  -- strict thread matches above, loose matches on Subject: below --
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

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=614652.96880.qm@web52615.mail.yahoo.com \
    --to=pr0f3ss0r1492@yahoo.com \
    --cc=qemu-devel@nongnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).