From: Tracy R Reed <treed@ultraviolet.org>
To: Anthony Liguori <aliguori@us.ibm.com>
Cc: xen-devel <xen-devel@lists.xensource.com>
Subject: Re: Domain saving and filesystem corruption
Date: Mon, 26 Jun 2006 15:05:48 -0700 [thread overview]
Message-ID: <44A05A3C.5040503@ultraviolet.org> (raw)
In-Reply-To: <44A04DDC.2000600@us.ibm.com>
Anthony Liguori wrote:
> You really ought to avoid save/restore/migrate when not using network or
> checkpointable storage. You will almost certainly eventually get some
> sort of corruption.
No doubt. Thing is, I didn't realize it was doing this. The machine so
rarely gets rebooted that I never noticed it saving out the state of the
domains to disk. I am impressed with how fast it does it though.
> I didn't realize xend actually tries to save domains on shutdown. Seems
> like a bad idea to me. Is this correct? Is this only for domains
> started with /etc/init.d/xendomains?
On RedHat (I run FC5 in my domain0 and CentOS 4.3 in my domains) you can
look in /etc/sysconfig/xendomains to see how this all works. It looks
like by default it will try to save the state of all domains unless you
set XENDOMAINS_AUTO_ONLY to true. It is set to false by default.
One odd thing I see is this:
# Directory to save running domains to when the system (dom0) is
# shut down. Will also be used to restore domains from if
# XENDOMAINS_RESTORE
# is set (see below). Leave empty to disable domain saving on shutdown
# (e.g. because you rather shut domains down).
# If domain saving does succeed, SHUTDOWN will not be executed.
#
#XENDOMAINS_SAVE=/var/lib/xen/save
So XENDOMAINS_SAVE is commented out by default. So it should be "". So
why are the domains being saved? It looks like it should not have
defaulted to trying to save all of the domains but it should have
skipped saving them since XENDOMAINS_SAVE is not defined and it should
have executed the commands in XENDOMAINS_SHUTDOWN. I am not in front of
my Xen console right now where I can play with this but I will try to
look into it tonight when I am.
--
Tracy R Reed http://ultraviolet.org
A: Because we read from top to bottom, left to right
Q: Why should I start my reply below the quoted text
next prev parent reply other threads:[~2006-06-26 22:05 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-06-25 0:32 Domain saving and filesystem corruption Tracy R Reed
2006-06-26 20:59 ` Keir Fraser
2006-06-26 21:13 ` Anthony Liguori
2006-06-26 22:05 ` Tracy R Reed [this message]
2006-06-27 2:45 ` Eric Peterson
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=44A05A3C.5040503@ultraviolet.org \
--to=treed@ultraviolet.org \
--cc=aliguori@us.ibm.com \
--cc=xen-devel@lists.xensource.com \
/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 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.