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-devel

RE: [Xen-devel] Making snapshot of logical volumes handling HVM domUcaus

To: "Scott Garron" <xen-devel@xxxxxxxxxxxxxxxxxx>, <xen-devel@xxxxxxxxxxxxxxxxxxx>
Subject: RE: [Xen-devel] Making snapshot of logical volumes handling HVM domUcauses OOPS and instability
From: "James Harper" <james.harper@xxxxxxxxxxxxxxxx>
Date: Mon, 13 Sep 2010 10:15:28 +1000
Cc:
Delivery-date: Sun, 12 Sep 2010 17:16:18 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <4C8D2069.10609@xxxxxxxxxxxxxxxxxx>
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
References: <4C7864BB.1010808@xxxxxxxxxxxxxxxxxx> <4C7D44B0.9060105@xxxxxxxxxxxxxxxxxx> <4C80AC95.5080503@xxxxxxxxxxxxxxxxxx><201009121141.46734.joost@xxxxxxxxxxxx> <4C8D2069.10609@xxxxxxxxxxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
Thread-index: ActSq0XqML4pHG24QT2ZcX1Iwz/pYAALVQKA
Thread-topic: [Xen-devel] Making snapshot of logical volumes handling HVM domUcauses OOPS and instability
> > Another thing I notice, which might be of help to people who
> > understand this better then I do, in my backup-script, sometimes
step
> > "5" fails because the domU hasn't noticed the device is attached
> > again when I try to mount it. The domU-commands are run using
> > SSH-connections.
> 
>       That probably just has to do with variations in how long it
takes
> the guest kernel to poll or be notified of device changes, and how
long
> it takes for its udev to create the device files and whatnot.
> Introducing some sanity checks or just a longer delay in your backup
> script would likely get around that problem.  (I could be wrong,
though)
> 

I found that too. I just put the mount in a loop, breaking out when then
device actually appears in the DomU. It's just a timing thing and I
don't think its relevant to the problem at hand.

James

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