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

xen-users

[Top] [All Lists]

Re: [Xen-users] Xen Backup Method

To: Kevin Fox <Kevin.Fox@xxxxxxx>
Subject: Re: [Xen-users] Xen Backup Method
From: Javier Guerra <javier@xxxxxxxxxxx>
Date: Tue, 7 Apr 2009 16:32:53 -0500
Cc: Tait Clarridge <Tait.Clarridge@xxxxxxxxxxxx>, Umut Arus <umuta@xxxxxxxxxxxxxxx>, xen-users@xxxxxxxxxxxxxxxxxxx
Delivery-date: 2009年4月07日 14:33:35 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <1239138775.8471.56.camel@xxxxxxxxxxxxxxxxxxx>
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: <49D4C940.6090807@xxxxxxxxxxxxxxx> <90eb1dc70904020806k3b65018eh9378f7554295eb45@xxxxxxxxxxxxxx> <EBEEB3C8FBD6B0448AEDF986B303BEB60ED883D9@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx> <1239130017.8471.34.camel@xxxxxxxxxxxxxxxxxxx> <90eb1dc70904071230n98b98cdudbf78db6f4ee3ed6@xxxxxxxxxxxxxx> <1239138775.8471.56.camel@xxxxxxxxxxxxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
On Tue, Apr 7, 2009 at 4:12 PM, Kevin Fox <Kevin.Fox@xxxxxxx> wrote:
> So, in a single kernel (2.6.29+), lvm can tell the file system using the
> block device to freeze so it can take its snapshot, and then tell it to
> unfreeze. How hard would this be to extend this so that an LVM sitting
> in Dom0 could forward the freeze calls to DomU? Say, through the virtual
> block devices. You could then run your backups in Dom0 instead of every
> DomU. This would save you on per client licensing fees.
AFAICT, it has nothing to do with the block device. it's a new
feature that some filesystems might choose to implement, to establish
a point in time where the filesystem is safely snapshottable without
preserving RAM state.
XFS has had this feature (and some extra bells/whistles) for years; i
don't know if any non-SGI backup system uses it.
in any case, if you want it to be initiated on Dom0, it has to signal
the DomU to do all the freezing. also, it might not flush caches to
the blockdevice, since it might assume that the snapshot is done over
the cache layer (ie. by LVM in the same machine, not the Dom0 'beneath
it').
>> 2: it does nothing about complex applications with their own caches
>> and file structures: IOW, databases.  if you get an 'in VM' snapshot
>> capability, you still have to flush caches and suspend operations for
>> the snapshot.
>
> A lot of backup systems I've seen tough, largely just save the files, or
> ignore them if they are written while saving. They don't bother to flush
> caches and suspend. It doesn't work for everything (databases), but for
> most applications it is fine. One example use case would be each users
> desktop session gets a virtual machine. You could backup the users data
> without needing to have a backup client in the vm.
if you're willing to forgive databases and similar loads, a simple LVM
snapshot is more than enough. any current journal FS will easily
regain integrity.
heck, for desktop users' data just do rsync to a central location and
be done! (extra points if using rsnapshot to keep several 'snapshots')
-- 
Javier
_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users
<Prev in Thread] Current Thread [Next in Thread>
Previous by Date: [Xen-users] xen pv_ops: tty0 console , jon.hart
Next by Date: [Xen-users] Xen install doesn't recognize iso image as local cdrom , Stephen Carville
Previous by Thread: Re: [Xen-users] Xen Backup Method , Kevin Fox
Next by Thread: Re: [Xen-users] Xen Backup Method , Kevin Fox
Indexes: [Date] [Thread] [Top] [All Lists]

Copyright ©, Citrix Systems Inc. All rights reserved. Legal and Privacy
Citrix This site is hosted by Citrix

AltStyle によって変換されたページ (->オリジナル) /