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] restoring files to guest domains

To: xen-users@xxxxxxxxxxxxxxxxxxx
Subject: Re: [Xen-users] restoring files to guest domains
From: Jared <list-xen@xxxxxxxxxxx>
Date: Thu, 06 Mar 2008 10:18:28 -0600
Delivery-date: Thu, 06 Mar 2008 08:17:58 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <47CFAD37.8070401@xxxxxxxxx>
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: <47CF70A8.50803@xxxxxxxxxxx> <47CF84D0.9000305@xxxxxxxxx> <47CFAD37.8070401@xxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Thunderbird 2.0.0.12 (X11/20080227)
On 03/06/2008 02:37 AM, Nico Kadel-Garcia wrote:
Don't run the "mount". Use "xm" to export that LVM snapshot to the guest domain, and mount it *inside* the guest domain. Then unmount, unexport it, and flush the snapshot.

This sounds like an interesting approach. I'll have to look into it tonight and see if I can make it work. Thanks for the suggestion.

Alternatively, you can completely shut down the guest and mount both partitions and copy things to the old guest partition, but I don't think you want to do that.

Not at all.  :-)

By the way, why are you using partition based LVM images, rather than disk based LVM images?

No, they are disk-based. I'm just used to describing these things in terms of partitions. This is my first experience with LVM (obviously), so I just haven't adjusted to the new terminology yet.

--
Jared

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