[DRBD-user] pvcreate

James Wilson jwilson at transolutions.net
Mon Sep 10 15:22:30 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.


I have 3 disks in this server /dev/cciss/c0d0, /dev/cciss/c0d1, 
/dev/cciss/c0d2. I only want DRBD on c0d1 and c0d2. Would this change 
the filter below?

Kelly Byrd wrote:
>
> 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
>>     
> free]
>   
>>   PV /dev/cciss/c0d1     VG VolGroup01   lvm2 [273.44 GB / 273.44 GB
>>     
> free]
>   
>>     
>
>
> 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.
>
>
> _______________________________________________
> drbd-user mailing list
> drbd-user at lists.linbit.com
> http://lists.linbit.com/mailman/listinfo/drbd-user
>
>   



More information about the drbd-user mailing list