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

[Xen-users] Re: 100% safe way to backup domU: (was Yet another backup)

To: "Emiliano Gabrielli (aka AlberT)" <AlberT@xxxxxxxxxxxxxx>
Subject: [Xen-users] Re: 100% safe way to backup domU: (was Yet another backup)
From: Ligesh <myself@xxxxxxxxxx>
Date: Fri, 12 Jan 2007 02:58:30 +0530
Cc: xen-users@xxxxxxxxxxxxxxxxxxx
Delivery-date: Thu, 11 Jan 2007 13:18:50 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <200701111800.02320.AlberT@xxxxxxxxxxxxxx>
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>
References: <200610210406.25460.mark.williamson@xxxxxxxxxxxx> <45A626FA.17673.605718E@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx> <200701111800.02320.AlberT@xxxxxxxxxxxxxx>
Reply-to: Ligesh <myself@xxxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Mutt/1.5.6i
On Thu, Jan 11, 2007 at 06:00:02PM +0100, Emiliano Gabrielli (aka AlberT) wrote:
> On Thursday 11 January 2007 12:00, Ulrich Windl wrote:
> > when returning from the syscall the OS may still be
> > writing buffers, but I'm not too sure about that.
> 
> even if the OS has flushed his buffers the disk write cache may be still not 
> empty ...
> 
> cfr man 2 sync:
> According  to the standard specification (e.g., SVID), sync() schedules
>        the writes, but may return before the actual writing is done.  However,
>        since  version  1.3.20  Linux does actually wait.  (This still does not
>        guarantee data integrity: modern disks have large caches.)
> 

 The domU will be writing to the dom0, since ultimately the disk I/O has to be 
scheduled in the host kernel. So as far accessing the LVM from dom0 is 
concerned, a sync in the domU should ensure that the file system is consistent.

 Thanks.

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