linux-lvm.redhat.com archive mirror
 help / color / mirror / Atom feed
From: Mariano Gonzalvo <mgm@euddene.com>
To: LVM general discussion and development <linux-lvm@redhat.com>
Subject: Re: [linux-lvm] Configure lvm2 with drbd
Date: Tue, 24 Apr 2007 12:45:18 +0200	[thread overview]
Message-ID: <462DDFBE.2010104@euddene.com> (raw)
In-Reply-To: <462DDC87.5040808@redhat.com>

[-- Attachment #1: Type: text/plain, Size: 1265 bytes --]

Thanks so much! now it does work ok.

Best regards

Mariano
> Mariano Gonzalvo wrote:
>   
>> Hi,
>>
>>     I'm trying to configure lvm2 on top of drbd. I've configured drbd
>> (/dev/drbd0 and /dev/drbd1) and put them as primary node, but when I try
>> to create a physical volume this is what it does happens
>>
>>        pvcreate /dev/drbd0
>>           Physical volume "/dev/drbd0" successfully created
>>        pvdisplay
>>             --- NEW Physical volume ---
>>           PV Name               /dev/md4
>>           VG Name
>>           PV Size               129,45 GB
>>           Allocatable           NO
>>           PE Size (KByte)       0
>>           Total PE              0
>>           Free PE               0
>>           Allocated PE          0
>>           PV UUID               MtxjHy-8zfW-i9nq-TJA4-b6F9-jtcW-FkanLB
>>
>>     /dev/md4 is the raid device over was configured drbd0.
>>
>>     Why /dev/md4 it's taken as PV Name?
>>
>>     
>
> It's trying to be helpful! Normally people build MD devices out of other devices
> and so LVM uses the MD in preference to other devices it finds with the same UUID.
>
> You'll need to exclude the MD device in the /etc/lvm/lvm.conf filters entry.
> something like:
>
> filter =[ "r/md4/" ]
>
>
>   


[-- Attachment #2: Type: text/html, Size: 1606 bytes --]

  reply	other threads:[~2007-04-24 10:45 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-04-24 10:24 [linux-lvm] Configure lvm2 with drbd Mariano Gonzalvo
2007-04-24 10:31 ` Patrick Caulfield
2007-04-24 10:45   ` Mariano Gonzalvo [this message]
2007-04-24 10:40 ` Bryn M. Reeves

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=462DDFBE.2010104@euddene.com \
    --to=mgm@euddene.com \
    --cc=linux-lvm@redhat.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).