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] Consistent VM image backups

To: Mike Sun <msun@xxxxxxxxxx>
Subject: Re: [Xen-users] Consistent VM image backups
From: "Fajar A. Nugraha" <list@xxxxxxxxx>
Date: Fri, 28 Jan 2011 09:02:08 +0700
Cc: XEN Mailing List <xen-users@xxxxxxxxxxxxxxxxxxx>
Delivery-date: Thu, 27 Jan 2011 18:03:12 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <AANLkTikQug9MeVX4vskCfd5pc5sh0oC7NV6nic4+2BAW@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/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: <AANLkTikQug9MeVX4vskCfd5pc5sh0oC7NV6nic4+2BAW@xxxxxxxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
On Fri, Jan 28, 2011 at 5:00 AM, Mike Sun <msun@xxxxxxxxxx> wrote:
> Hi,
>
> If a VM is using a file backed disk through the means of a loop-back
> device, is there a risk that the image file may not be consistent
> given that dom0 which does the loop-back mount of the file may be
> caching certain portions of that file?

There are problems with loopback driver, but I don't think it's one of them.

>  For example, if on dom0 I have
> a disk.img and I configure my domU to use that file as it's virtual
> disk through a loop back device driver, while domU is running or even
> paused, it's virtual disk may not be completely synced with the actual
> image file backing that disk, right?  Does the use of the blktap
> driver eliminate this problem?

See "Advantages" on http://wiki.xensource.com/xenwiki/blktap

-- 
Fajar

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