[DRBD-user] pvcreate

Kelly Byrd kbyrd-drbd at memcpy.com
Mon Sep 10 15:07:20 CEST 2007

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

On Mon, 10 Sep 2007 07:48:10 -0500, James Wilson
<jwilson at transolutions.net> wrote:
> Hey All,
>     Wondering if someone could shed some light on the issue I am having.
> I have the latest version of DRBD running on my server. I installed DRBD
> under lvm and I was able to create a physical volume but when I do a
> pvscan I get this output. Is this normal or did I do something wrong?
> The volume I created is VolGroup01.
> pvscan output
> Found duplicate PV shoTy9QP4wdrIGS24mf7Hz6f1b2oqlxB: using
> /dev/cciss/c0d1 not /dev/drbd0
>   PV /dev/cciss/c0d0p2   VG VolGroup00   lvm2 [135.53 GB / 114.69 GB
>   PV /dev/cciss/c0d1     VG VolGroup01   lvm2 [273.44 GB / 273.44 GB

You need to setup your 'filter' lines in /etc/lvm/lvm.conf

 # By default we accept only drbd devices
    filter = [ "a|^/dev/drbd|", "r|.*|" ]

That might be a bit strict, but I only want lvm on my drbd devices.

More information about the drbd-user mailing list