[DRBD-user] pvcreate on /dev/drbd0 on both nodes?

Håkan drbdhberg at wayfinder.com
Tue Nov 28 14:41:43 CET 2006

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


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.)?
>   
If you're in primary/primary you'll need something that makes the lvm on
both machines simultaneously aware of the change, such as clvm. This is
however not a DRBD issue.

/Håkan



More information about the drbd-user mailing list