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] FAQ: How to backup for recovery?

To: Christoph Purrucker <cp+ml-xen@xxxxxxxx>
Subject: Re: [Xen-users] FAQ: How to backup for recovery?
From: "Ulrich Windl" <ulrich.windl@xxxxxxxxxxxxxxxxxxxx>
Date: Thu, 12 Oct 2006 14:03:32 +0200
Cc: xen-users@xxxxxxxxxxxxxxxxxxx
Delivery-date: Thu, 12 Oct 2006 05:04:45 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <452D59D6.9000403@xxxxxxxx>
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/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
Organization: Universitaet Regensburg, Klinikum
Priority: normal
References: <200610110658.20075.javier@xxxxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
On 11 Oct 2006 at 22:53, Christoph Purrucker wrote:

> Hi Javier,
> 
> >> I'm using LVM for DomUs: On backup time, I create a LVM snapshot, mount
> >> the snapshot in Dom0 and running rdiff-backup to create a new increment.
> > 
> > i guess that if the snapshot is done while the DomU is running, mounting 
> > the 
> > snapshot would find it as 'not cleanly unmounted' and might require an 
> > fsck.  
> > have you encountered this issue?
> 
> of course, the filesystem was not cleanly unmounted. But as long as you 
> use a journaling filesystem, the log run on mount time will correct 

...and XEN preserves write ordering...

> nearly all errors: If you can mount the snapshot, if will be consistent. 
> If the DomU did some wired things during snapshot, and the journal will 
> not help to recover, I'd skip the backup and try it later. I'm doing 
> such backups with several ext3 and one xfs (a cyrus partition with lots 
> of files), and the snapshots always were mountable after journal recovery.

...mountable does not mean all the data is still tehre, however...

Ulrich

> 
> cu cp
> 
> _______________________________________________
> 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