Hi all,

New to DRBD9, so reading a much as I can. But stumped on the following, what on earth am I missing?!

Common config is default, Ubuntu 20.04 LTS. DRBD from standard repo. drbdadm version 9.16.0

Resource file:

resource r0 {
        net {
                protocol C;
                fencing resource-only;
        }
        disk {
                resync-rate 50M;
        }
        handlers {
                fence-peer "/usr/lib/drbd/crm-fence-peer.9.sh";
                unfence-peer "/usr/lib/drbd/crm-unfence-peer.9.sh";
        }
        on nfs01 {
                device    /dev/drbd0;
                disk      /dev/NFS-vg/NFS-lv;
                meta-disk internal;
                address   192.168.0.13:7789;
        }
        on nfs02 {
                device    /dev/drbd0;
                disk      /dev/NFS-vg/NFS-lv;
                meta-disk internal;
                address   192.168.0.14:7789;
        }
}

user@nfs01:~# sudo drbdadm create-md -vd r0
drbd.d/autofe_nfs_drbd.res:4: Parse error: 'an option keyword' expected,
        but got 'fencing'

user@nfs01:~# sudo lsmod | grep drbd
drbd                  389120  0
lru_cache              16384  1 drbd
libcrc32c              16384  3 btrfs,drbd,raid456

_______________________________________________
Star us on GITHUB: https://github.com/LINBIT
drbd-user mailing list
[email protected]
https://lists.linbit.com/mailman/listinfo/drbd-user

Reply via email to