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

RE: [Xen-users] drbd on lvm



Hi, I may have completely missed you point, so forgive me if that is the
case.  

I was just wondering why you want to put drbd on top of LVM. 6 months
ago I build a similar 2 node storage system.  To avoid a purely
active/passive arrangement I partitioned the storage space in each
machine into 2. Then I created two drbd devices which mirror each half
onto the other node.  

On each drbd device I then created a LVM system (different names) set
the LVM filters so that they are oblivious to the underlying block
device and made my own lvm start-up script that starts and stops
specific LVM resources.

By default each node has primary ownership of one of the halves and can
mount the LVM system on it.  In the event of a failure you can take
ownership of the other machine's drbd device and initiate the LVM system
on it.  I was using internal journaling or what ever the term is for
where the drbd data is stored within the partition reducing its size
slightly.

I am not sure if this provides the degree of control you are after but
it certainly works and massively reduces the number of drbd device you
will need.  It also gives you a clear upgrade path to using HA methods
and implementing an iscsi SAN.

Regards

Rob

-----Original Message-----
From: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
[mailto:xen-users-bounces@xxxxxxxxxxxxxxxxxxx] On Behalf Of Brock Palen
Sent: 15 December 2006 16:14
To: xen-users@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-users] drbd on lvm

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.

Brock Palen
Center for Advanced Computing
brockp@xxxxxxxxx
(734)936-1985



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


_______________________________________________
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®.