[DRBD-user] drbd and LVM -> always getting duplicate volumes (was: can't use LVM2 on drbd devices)
Tomasz Chmielewski
mangoo at wpkg.org
Fri Jan 25 17:08:27 CET 2008
Rudolph Bott schrieb:
> A more general approach to the LVM config would be:
>
> filter = [ "a|drbd0|", "r/.*/" ]
>
> which simply means - reject all but scan drbd0 (or whatever drbd device
> you use or simply modify it to include drbd[0-9])
Which won't work if you have multiple PVs, and only some are replicated
using DRBD ;) (i.e., you have a separate LVM for swap and other
non-crucial data, which you don't need/want to replicate to a remote
data centre).
--
Tomasz Chmielewski
http://wpkg.org
More information about the drbd-user
mailing list