[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-users] drbd on lvm




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


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.