mrB
1
Following “NFS High Availability with Pacemaker & DRBD - LINBIT” to create a testing cluster and all goes well until I call drbdadm create-md ha_nfs
drbd.d/global_common.conf:13: Parse error: 'an option keyword' expected,
but got 'on-no-quorum'
vi global_common.conf
resource "ha_nfs" {
volume 0 {
device "/dev/drbd1000";
disk "/dev/nfs_vg/ha_nfs_internal_lv";
meta-disk internal;
}
volume 1 {
device "/dev/drbd1001";
disk "/dev/nfs_vg/ha_nfs_exports_lv";
meta-disk internal;
}
options {
on-no-quorum suspend-io;
quorum majority;
}
on "node-0" {
address 10.170.2.146:7788;
node-id 0;
}
on "node-1" {
address 10.170.2.133:7788;
node-id 1;
}
on "node-2" {
volume 0 {
disk none;
}
volume 1 {
disk none;
}
address 10.170.2.135:7788;
node-id 2;
}
connection-mesh {
hosts "node-0" "node-1" "node-2";
}
}
Any ideas what is the issue?
Thanks in advance.
What version of the drbd kernel module and drbd-utils do you have installed?
mrB
3
[root@p01-uks ~]# rpm -qa drbd*
drbd-selinux-9.28.0-1.el9.x86_64
drbd-utils-9.28.0-1.el9.x86_64
drbd-udev-9.28.0-1.el9.x86_64
drbd-9.28.0-1.el9.x86_64
[root@p01-uks ~]# drbdadm --version
DRBDADM_BUILDTAG=GIT-hash:\ ba2ce9037989b6141222c7901d1219cf852949f1\ build\ by\ mockbuild@buildhw-x86-07.iad2.fedoraproject.org\,\ 2024-08-24\ 21:30:23
DRBDADM_API_VERSION=1
DRBD_KERNEL_VERSION_CODE=0x000000
DRBDADM_VERSION_CODE=0x091c00
DRBDADM_VERSION=9.28.0
[root@p01-uks ~]# uname -a
Linux p01-uks 6.12.0-1.23.3.2.el9uek.x86_64 #1 SMP PREEMPT_DYNAMIC Tue May 13 17:24:00 PDT 2025 x86_64 x86_64 x86_64 GNU/Linux
[root@p01-uks ~]# cat /etc/os-release
NAME="Oracle Linux Server"
VERSION="9.6"
ID="ol"
ID_LIKE="fedora"
VARIANT="Server"
VARIANT_ID="server"
VERSION_ID="9.6"
PLATFORM_ID="platform:el9"
PRETTY_NAME="Oracle Linux Server 9.6"
ANSI_COLOR="0;31"
CPE_NAME="cpe:/o:oracle:linux:9:6:server"
HOME_URL="https://linux.oracle.com/"
BUG_REPORT_URL="https://github.com/oracle/oracle-linux"
ORACLE_BUGZILLA_PRODUCT="Oracle Linux 9"
ORACLE_BUGZILLA_PRODUCT_VERSION=9.6
ORACLE_SUPPORT_PRODUCT="Oracle Linux"
ORACLE_SUPPORT_PRODUCT_VERSION=9.6