WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-users

RE: [Xen-users] Xen 4.0 feature request

To: "xen-users@xxxxxxxxxxxxxxxxxxx" <xen-users@xxxxxxxxxxxxxxxxxxx>
Subject: RE: [Xen-users] Xen 4.0 feature request
From: Nathan Eisenberg <nathan@xxxxxxxxxxxxxxxx>
Date: Tue, 7 Jul 2009 10:26:32 -0700
Accept-language: en-US
Acceptlanguage: en-US
Delivery-date: Tue, 07 Jul 2009 10:28:43 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <a06240812c677f1668fd4@xxxxxxxxxxxxxxxxxxxxxx>
List-help: <mailto:xen-users-request@lists.xensource.com?subject=help>
List-id: Xen user discussion <xen-users.lists.xensource.com>
List-post: <mailto:xen-users@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
References: <c31e4ce433b93e42c510b70dd1a383df@xxxxxxxxxxxx> <4A4F927C.90806@xxxxxxxxxxxxx> <cd4e9f58149e6eed7ae8064cb05c8f45@xxxxxxxxxxxx> <op.uwlnfnvhrtqp7s@xxxxxxxxx> <4A520C4C.90701@xxxxxxxxxx> <11B064048F34FD4094CBA16FC04BE21960645B38@ex01> <a06240812c677f1668fd4@xxxxxxxxxxxxxxxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
Thread-index: Acn+Z4WbY+bpXaMYRYed0J3J8E2g/AAv2+ag
Thread-topic: [Xen-users] Xen 4.0 feature request
The fact of the matter is that without flushing the buffers and cache, the 
snapshot is essentially the same as what would result if you pulled the power 
plug (sans the messy 'memory death' results that happen in the physical world 
in the nanoseconds after RAM loses power) -and while that's hardly ideal, it's 
good enough for many purposes - databases and filesystems  are generally robust 
enough to handle uncommitted transactions.

However, there are ways to get a better snapshot.  All you need is a quick 
script that logs in to the domU,  stops the database service, runs a sync, and 
then generates the snapshot and starts the database service again.

Best Regards
Nathan Eisenberg
Sr. Systems Administrator
Atlas Networks, LLC
support@xxxxxxxxxxxxxxxx
http://support.atlasnetworks.us/portal


-----Original Message-----
From: xen-users-bounces@xxxxxxxxxxxxxxxxxxx 
[mailto:xen-users-bounces@xxxxxxxxxxxxxxxxxxx] On Behalf Of Simon Hobson
Sent: Monday, July 06, 2009 11:26 AM
To: xen-users@xxxxxxxxxxxxxxxxxxx
Subject: RE: [Xen-users] Xen 4.0 feature request

Nathan Eisenberg wrote:

>Why can't you save only one VM with LVM snapshots?  Sounds like you 
>have an odd implementation, rather that there being a problem with 
>LVM.  We export two LVs per domU - 1 'data' and 1 'swap'.  I can 
>easily snapshot the 'data' LV of any single domU without a 
>performance problem.

How do you deal with the fact that you are snapshotting a dirty state 
? Unless you are using LVM inside the DomU (in which case Xen is 
irrelevant), then when you make a snapshot, it will NOT include any 
dirty blocks in the guests cache.

Unless you collaborate with the guest, get it to stop updating the 
filesystem, and flush it's cache - then you are pretty well 
guaranteed dirty (and probably corrupt) data.

-- 
Simon Hobson

Visit http://www.magpiesnestpublishing.co.uk/ for books by acclaimed
author Gladys Hobson. Novels - poetry - short stories - ideal as
Christmas stocking fillers. Some available as e-books.

_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users





_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users