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] Can I mount the xen image file while vm is running

To: mukul <mkl1983@xxxxxxxxxxxxxx>
Subject: Re: [Xen-users] Can I mount the xen image file while vm is running
From: "Fajar A. Nugraha" <fajar@xxxxxxxxx>
Date: Thu, 19 Aug 2010 19:40:22 +0700
Cc: xen-users@xxxxxxxxxxxxxxxxxxx
Delivery-date: Thu, 19 Aug 2010 05:43:14 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <20100819112613.30737.qmail@xxxxxxxxxxxxxxxxxxxxxxxxxxxxx>
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: <20100819112613.30737.qmail@xxxxxxxxxxxxxxxxxxxxxxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
On Thu, Aug 19, 2010 at 6:26 PM, mukul <mkl1983@xxxxxxxxxxxxxx> wrote:
> If i mount one of the images manually while the machine is running will it 
> make any differnce to the
> Running VM  ? ?

That will most likely cause data corruption.
You need something like LVM snapshot (if using phy:/ with LVM-backed
storage) or use some storage-specific snapshot method (like vhd
snapshot, which is not available on Centos 5.5:
http://lxr.xensource.com/lxr/source/tools/blktap2/README). If you have
snapshot (using whatever method), then you should be able to safely
mount the snapshot on dom0, while domU continues to access the
original storage.

-- 
Fajar

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