Note: "permalinks" may not be as permanent as we would like,
direct links of old sources may well be a few messages off.
On Tue, Jan 19, 2016 at 07:54:51AM +0000, EDV at bauerfunken.de wrote: > Gesendet: Dienstag, 19. Januar 2016 03:08 > An: EDV at bauerfunken.de; drbd-user at lists.linbit.com > Betreff: Re: [DRBD-user] drbd lost lvm configuration > > >On 18/01/16 03:37 PM, EDV at bauerfunken.de wrote: > >> Hello to all, > >> > >> I've setup a drbd cluster of 2 nodes. Both nodes use a physical > >> partition type 8e (Linux LVM) and synced by drbd successfully. > >> The response of drbd-overview seems to be ok, because it say > >> UpToDate/UpToDate on both nodes. > >> > >> Now, when I create a logical volume by pvcreate, vgcreate and lvcreate > >> on this drbd-device it create this volume successfully too, but when > >> I check the configuration by th following way: > >> > >> Primary node: > >> > >> vgchange -a n <vg> > >> drbdadm secondary <drbd> > >> > >> Secondary node: > > >You need to 'drbdadm primary res' before anything can read the > >/dev/drbdX device. > > Sorry, but I did it before changing the state of this volumegroup. > > So I did: > > drbdadm primary <drbd> > vgchange -a y <vg> > > When I do a pvscan after changing the primary node, no pv's were found > and the same, by changing the primary again. stale lvm meta data cache (daemon)? try a pvscan --cache, see the man page for details. -- : Lars Ellenberg : http://www.LINBIT.com | Your Way to High Availability : DRBD, Linux-HA and Pacemaker support and consulting DRBD® and LINBIT® are registered trademarks of LINBIT, Austria. __ please don't Cc me, but send to list -- I'm subscribed