Re: [Qemu-devel] -snapshot and tmpsfs
> 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 ___ Qemu-devel mailing list Qemu-devel@nongnu.org http://lists.nongnu.org/mailman/listinfo/qemu-devel
Re: [Qemu-devel] -snapshot and tmpsfs
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 MailStripper - http://www.MailStripper.eu/ - SMTP spam filter Mail Me Anywhere - http://www.MailMeAnywhere.com/ - Mobile email ___ Qemu-devel mailing list Qemu-devel@nongnu.org http://lists.nongnu.org/mailman/listinfo/qemu-devel
[Qemu-devel] -snapshot and tmpsfs
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 ___ Qemu-devel mailing list Qemu-devel@nongnu.org http://lists.nongnu.org/mailman/listinfo/qemu-devel