Thanks Peter,

as I understand it when I created the original drbd device(s) on my local nodes this metadata was automatically created and placed at the end of the underlying LVM volume.  Clearly this is not happening when creating the drbd device on the third node.  So being stacked I believe I need the meta data from the lower resource and then create-md will add the required metadata for the stacked resource.

How do I get that original metadata on my underlying volume so that is can do so?  I tried taking a snapshot of the underlying LVM volume on trk-kvm-01 (lower resource primary) and used dd to copy that to the underlying volume on trk-kvm-03 (third node upper resource) but I get the same error.

So what do I need to do to get this metadata there so I can create this drbd device on the third node?

*Paul O'Rorke*



On 2018-02-05 11:45 PM, Peter Schwindt wrote:
Paul,

On 2018-02-05 19:27, Paul O'Rorke wrote:

     root@trk-kvm-03:~# drbdadm create-md convirt-U
     open(inetrnal) failed: No such file or directory
     open(inetrnal) failed: No such file or directory
            ^^^^^^^^

[...]

What file is it looking for that it fails to find?

The resource is defined with this:

[...]
             on trk-kvm-03 {
                     device          /dev/drbd120;
                     disk            /dev/trk-kvm-03-vg/convirt;
                     address         192.168.0.201:7899;
                     meta-disk       inetrnal;
                                       ^^^^^^^^

Best,
Peter



_______________________________________________
drbd-user mailing list
drbd-user@lists.linbit.com
http://lists.linbit.com/mailman/listinfo/drbd-user

_______________________________________________
drbd-user mailing list
drbd-user@lists.linbit.com
http://lists.linbit.com/mailman/listinfo/drbd-user

Reply via email to