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] How to make snapshot disk backup of Xen Guest Domain

To: xen-users@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-users] How to make snapshot disk backup of Xen Guest Domain
From: KC LO <kclo2000@xxxxxxxxx>
Date: Thu, 15 Apr 2010 11:49:13 +0800
Delivery-date: Wed, 14 Apr 2010 20:50:38 -0700
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:date:received:message-id :subject:from:to:content-type; bh=vKJ4JUwOgJ4Pf4UFmZDcExkGbcANwDxfWIO7xi4NxNI=; b=dAoCQ5XuteZSYfxOIiGHoYu1Y4rNkkabWoqzP5PMKNHoYzwGqD2H/JIfjb4KrE+twj 9MZ+WLqSvQyqrt4OhCrD4rYKnqwOD/HHAieE9TX5iPERZPBg63PQILKw+4vmauWpQA5I xv+PKQ9hi/SL31CQxZFzEq1dM1nPXMBrObsg8=
Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=NItfw0ZYTyvqBtqmYyAwBZ4iCVHvYeUU8fCCefg6mxDA4N0lcQksm+eAw7/PuxQQsh 7oT7l7LtRX+s5WUMI/7MqFVM0wGyrAiW1DtISOPoKgBweYs8DezNxcsgdW7KqtUKfCNY CGJg0c9zEHKG82iEKvlAW31oSMchFUd98dPEc=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
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>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx

Hi all,

I have created a DomU guest based on the following method :-
1) I create a LV with size 6GB : lvcreate -L 6G
2) I setup a new guest DomU with /dev/VolGroup00/vm1 as disk device
3) In DomU, I use /dev/hda as device to create partition for /boot, /,
and swap without using LVM
 fdisk -l /dev/hda

Disk /dev/hda: 10.7 GB, 10737418240 bytes
255 heads, 63 sectors/track, 1305 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

  Device Boot      Start         End      Blocks   Id  System
/dev/hda1   *           1          13      104391   83  Linux
/dev/hda2              14         521     4080510   83  Linux
/dev/hda3             522         782     2096482+  82  Linux swap / Solaris
 
I am now going to do snapshot disk backup at Dom0 for DomU.  I have read Internet that I can do
 
lvcreate -L 1G -s -n guest_snapshot /dev/VolGroup00/vm1
to create a Logical volume guest_snapshot.
 
How can I mount the partition(/dev/hda1, /dev/hda2) under this volume guest_snapshot to do backup
 
Thanks!
_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users
<Prev in Thread] Current Thread [Next in Thread>