[DRBD-user] Why isn't DRBD recognized as valid LVM PV?

Luciano Rocha strange at nsk.no-ip.org
Wed Mar 12 17:14:44 CET 2008

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


On Wed, Mar 12, 2008 at 04:27:55PM +0100, Ralph.Grothe at itdz-berlin.de wrote:
> Hello DRBD Users,
<snip>
> 
> I first thought to have found the reason in a misconfigured
> lvm.conf filter.
> But then the default "match all", which I had commented out,
> should have matched any drbd[0-9] anyway.
> 
> # grep -B3 '^ *filter' /etc/lvm/lvm.conf
>     # By default we accept every block device:
>     #filter = [ "a/.*/" ]
> 
>     filter = [ "a|^/dev/sd[ab][1-9]?$|", "a|^/dev/md[0-9]$|",
> "a|^/dev/drbd[0-9]$|", "r|.*|" ]

Could you try a filter that finds only the drbd devices? And others, if
you have other PVs, but not /dev/md4 (actually, just inserting "r|md4"
at the very beginning should be enough).

Then, pvcreate /dev/drbd...; pvscan; and vgcreate.

-- 
lfr
0/0
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <http://lists.linbit.com/pipermail/drbd-user/attachments/20080312/515e3a18/attachment.pgp>


More information about the drbd-user mailing list