[DRBD-user] LVM PV on drbd block device

Juan Antonio Rodriguez pushakk at limbo.ari.es
Thu Nov 12 20:59:11 CET 2009

Note: "permalinks" may not be as permanent as we would like,
direct links of old sources may well be a few messages off.


Hello and thank you very much to yours Gianluca and Andreas.

which kind of cluster?
Only Primary - Secondary drbd cluster.

which kind of Linux distribution/release?
Debian lenny in both nodes.

which kind of usage then of the LVs/FS to be created?
LVs will be iscsi targets for a xen server.

I believe clvm will be useful.

Again, thank you very much Gianluca.

Gianluca Cecchi escribió:
> On Thu, Nov 12, 2009 at 4:49 PM, hans morbus2000 <morbus2000 at web.de
> <mailto:morbus2000 at web.de>> wrote:
>
>     [snip]
>
>     > Hello everyone, the first sorry about my poor english.
>     >
>     > I have configured an drbd8 cluster with two nodes so I have got a
>     > /dev/drbd1 device in both nodes. Later I sync the nodes with
>     "drbdadm --
>     > --overwrite-data-of-peer primary" and the last I did "pvcreate
>     /dev/drbd1"
>     > on primary node.
>     >
>     [snip]
>     on this node
>     # vgchange -a n vgontop
>     # drbdadm secondary drbdx
>
>     on the other node
>     # drbdadm primary drbdx
>     # vgchange -a y vgontop
>
>     --> now, lv on top of drbd to be available on both nodes
>
>     Regards
>     Andreas
>
>
>
> For Juan Antonio:
> which kind of cluster?
> which kind of Linux distribution/release?
> which kind of usage then of the LVs/FS to be created?
>
> For Andreas:
> this is ok for initialization.
> But then you have the same problems when you have to create LVs.
> You need to de-activate VG on one node, demote drbd role, and activate
> on the other... because LVM itslef is not cluster aware.
>
> Preferable, but depending also on the OS kind and licensing, to use
> drbd in dual primary mode AND Cluster LVM (with CLVMD that depends on
> cman and cluster-storage channel if using Red Hat, so with economical
> impact....)
>
> Gianluca
> ------------------------------------------------------------------------
>
> _______________________________________________
> drbd-user mailing list
> drbd-user at lists.linbit.com
> http://lists.linbit.com/mailman/listinfo/drbd-user
>   

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.linbit.com/pipermail/drbd-user/attachments/20091112/e6383b4c/attachment.htm>


More information about the drbd-user mailing list