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] Yet another backup proposal (file based vbd's & lvm)

To: "Roger Lucas" <roger@xxxxxxxxxxxxx>
Subject: Re: [Xen-users] Yet another backup proposal (file based vbd's & lvm)
From: "Kenneth Kalmer" <kenneth.kalmer@xxxxxxxxx>
Date: Wed, 18 Oct 2006 23:36:15 +0200
Cc: xen-users@xxxxxxxxxxxxxxxxxxx
Delivery-date: Wed, 18 Oct 2006 14:37:03 -0700
Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=OikVo/XHugEWPo9I5y4DSSMC4vZ1D9abY630t9wQMqk7Td7HHs/LIpCIfVQT5EQLDmVV/rsMQCbItkduN6btQoIYzmRJ3TgDaSWwch1rWwLQEep8X3VNcmGlOu6p8oXSYA2xukiUpnblq0AC8PZUdFSeRDzOtUwDOqMsfk6mf0g=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <20061018083643.9DF2A12EEA@xxxxxxxxxxxxxxxxxxxxxxx>
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: <fad9d4840610172233v42e571f7hb1064b35c7aeebeb@xxxxxxxxxxxxxx> <20061018083643.9DF2A12EEA@xxxxxxxxxxxxxxxxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
On 10/18/06, Roger Lucas <roger@xxxxxxxxxxxxx> wrote:
Hi Ken,

> I'll definitely look into this setup. I was trying to avoid LVM two
> reasons (Roger, this one's for you), the apparent snapshot issue that
> everyone seems to complain about throughout the list and the issue of
> live migrations between hosts. But this is only using LVM as a backend
> for the domU's. I use LVM on the NAS with ext3 for the ability to grow
> my partitions as needed and resize the ext3 fs on top of the volumes,
> and it works beautifully.
>
> Luke, I'll setup a test server here using read-only LVM snapshots and
> keep on backing them up to see if I get the lockups that the previous
> posts in the archive (and the kernel archives) mention. I'll report my
> successes here when I'm done.
>

If you are going to try LVM, I strongly recommend that you download the latest 
LVM code from RedHat and recompile it for your
system...

        http://sources.redhat.com/dm/
        http://sourceware.org/lvm2/

As you say, there have been lockup problems with LVM snapshots in the past, but 
these have been fixed in the recent releases.  We
are running Xen-3.0.2-2 on this server with the following:

root@hydra:~# uname -a
Linux hydra 2.6.16-xen #1 SMP Thu Apr 13 18:46:07 BST 2006 i686 GNU/Linux
root@hydra:~# lvm version
  LVM version:     2.02.07 (2006-07-17)
  Library version: 1.02.08 (2006-07-17)
  Driver version:  4.5.0
root@hydra:~#

So far, no LVM or Xen problems at all with an uptime of several months.  We use 
LVM snapshots daily both within the Dom-0 and also
within the Dom-Us (which use LVM on top of the VBDs) to take backups.

BR,

Roger

Thanks Roger, good to have confirmation that this does indeed work as
expected! It seems like the best solution, once we've completed our
tests I'll start the tedious process of migrating all our domU's to
LVM backends... Sigh


--

Kenneth Kalmer
kenneth.kalmer@xxxxxxxxx

Folding@home stats
http://fah-web.stanford.edu/cgi-bin/main.py?qtype=userpage&username=kenneth%2Ekalmer

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