[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-users] FAQ: How to backup for recovery?



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


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.