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] drbd on lvm

To: Brock Palen <brockp@xxxxxxxxx>
Subject: Re: [Xen-users] drbd on lvm
From: Cristian Zamfir <zamf@xxxxxxxxxxxxx>
Date: Fri, 15 Dec 2006 16:37:48 +0000
Cc: xen-users@xxxxxxxxxxxxxxxxxxx
Delivery-date: Fri, 15 Dec 2006 08:37:17 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <53EB2CD9-4738-4232-BB05-DFE90D5D0823@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: <53EB2CD9-4738-4232-BB05-DFE90D5D0823@xxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Thunderbird 1.5.0.8 (X11/20061117)

Brock Palen wrote:
Has anyone ever used DRBD on top of LVM devices ? Has anyone had a problem with this? Such that can grow and move around partiions etc, and not have to use NFS on top of DRBD with spare files for storage. Or can someone recomened a better way of doing with with no attached shared storage.

Each server has its own hard drive, and should mirror each other.


I am not sure if this is what you mean, but yes, you can use drbd on top of LVM. Your domU should be configured with something like disk=['phy:drbd1,hda1,w'] and drbd should have something like this in
/etc/drbd.conf for both your hosts

on yourhost {
.....
device     /dev/drbd1;
disk       /dev/vgn/vm;
....
}

I don't think you should have any problems resizing your volumes but I didn't try it.

Cristian

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

<Prev in Thread] Current Thread [Next in Thread>