Note: "permalinks" may not be as permanent as we would like,
direct links of old sources may well be a few messages off.
I've discovered that: drbdsetup /dev/drbd0 primary pvscan -v vgscan -v on both nodes (allow-two-primaries is configured in /etc/drbd.conf) seems to do the trick! I hope it is correct! Jim On Tue, 2006-11-28 at 12:49 +0000, James Vanns wrote: > OKm, thought so. However, after doing this (and then a vgcreate) and > even though I can see through either dmesg or /proc/drbd shouldn't I be > able to do something like a pvscan -v and/or a vgscan -v on the other > node to see the same devices in use? Or a pvs/vgs? Or would I need to > replay the backup? Something like: > > vgcfgrestore -f /etc/lvm/backup/<VG name> <VG name> > > On the secondary node? Or would this only work when both have been > promoted to primary (like I know that you can't mount an FS on a DRBD > device on a secondary node etc.)? > > Jim > > On Tue, 2006-11-28 at 12:15 +0100, Ralf Gross wrote: > > James Vanns said: > > > This may be a silly question but with either a primary/secondary setup > > > or primary/primary (0.8) setup when issuing a pvcreate against the newly > > > initialised DRBD device - do I need to do that on both nodes? Or just on > > > one (the primary ;)? > > > > You have to do this only on one node. > > > > Ralf > > > > _______________________________________________ > > drbd-user mailing list > > drbd-user at lists.linbit.com > > http://lists.linbit.com/mailman/listinfo/drbd-user -- James Vanns Systems Programmer Framestore CFC Ltd.