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

Florian Haas florian.haas at linbit.com
Wed Mar 12 19:08:01 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.

You know, reading http://www.drbd.org/users-guide/ch-lvm.html (the whole 
chapter, not just the first section) would have saved you a lot of 
experimentation effort. ;-)

On Wednesday 12 March 2008 18:26:36 Ralph.Grothe at itdz-berlin.de wrote:
> # pvs
>   /dev/drbd0: open failed: Wrong medium type
>   PV         VG     Fmt  Attr PSize  PFree
>   /dev/md1   vg00   lvm2 a-    9.54G 3.91G
>   /dev/md3   vgdata lvm2 a-   27.94G 9.44G
>   /dev/md5   vgrh   lvm2 a-    9.54G 3.91G
> Oops, I wonder if "Wrong medium type" only disappears when drbd
> is completely shut down on this node?

Because when DRBD is in Secondary mode, "wrong medium type" is what the kernel 
tells you when you attempt to access the device. When DRBD is shut down, its 
block device nodes disappear and LVM doesn't scan them to begin with.


: Florian G. Haas 
: LINBIT Information Technologies GmbH
: Vivenotgasse 48, A-1120 Vienna, Austria

Please note: when replying, there is no need to CC my 
personal address. Replying to the list is fine. Thank you.

More information about the drbd-user mailing list