From: Patrick Caulfield <pcaulfie@redhat.com>
To: LVM general discussion and development <linux-lvm@redhat.com>
Subject: Re: [linux-lvm] Configure lvm2 with drbd
Date: Tue, 24 Apr 2007 11:31:35 +0100 [thread overview]
Message-ID: <462DDC87.5040808@redhat.com> (raw)
In-Reply-To: <462DDAC5.20100@euddene.com>
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/" ]
--
Patrick
Registered Address: Red Hat UK Ltd, Amberley Place, 107-111 Peascod Street,
Windsor, Berkshire, SL4 ITE, UK.
Registered in England and Wales under Company Registration No. 3798903
next prev parent reply other threads:[~2007-04-24 10:31 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 [this message]
2007-04-24 10:45 ` Mariano Gonzalvo
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=462DDC87.5040808@redhat.com \
--to=pcaulfie@redhat.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).