Note: "permalinks" may not be as permanent as we would like,
direct links of old sources may well be a few messages off.
Hello:
have installed DRBD 8.4 on CentOS 6.3 using the source route and set up a single resource which is working fine. I now wish to add a new volume so have changed my configuration to be :
resource r0 {
on vs1 {
address 10.0.0.10:7789;
volume 0 {
device /dev/drbd0;
disk /dev/mapper/vg_vs1-lv_data;
meta-disk internal;
}
volume 1 {
device /dev/drbd1;
disk /dev/mapper/vg_vs1-lv_vserver1;
meta-disk internal;
}
}
on vs2 {
address 10.0.0.11:7789;
volume 0 {
device /dev/drbd0;
disk /dev/mapper/vg_vs2-lv_data;
meta-disk internal;
}
volume 1 {
device /dev/drbd1;
disk /dev/mapper/vg_vs2-lv_vserver1;
meta-disk internal;
}
}
startup {
become-primary-on both;
}
net {
allow-two-primaries yes;
after-sb-0pri discard-zero-changes;
after-sb-1pri discard-secondary;
after-sb-2pri disconnect;
}
}
and following the manual I issued :
[root at vs1 drbd.d]# drbdadm new-minor r0 1
but it comes back with the message :
drbdadm: Unknown command 'new-minor'
What am I doing wrong please ?
[root at vs1 drbd.d]# modinfo drbd
filename: /lib/modules/3.4.18-vs2.3.3.8/updates/drbd.ko
alias: block-major-147-*
license: GPL
version: 8.4.2
description: drbd - Distributed Replicated Block Device v8.4.2
[root at vs1 drbd.d]# drbdadm --version
DRBDADM_BUILDTAG=GIT-hash:\ 7ad5f850d711223713d6dcadc3dd48860321070c\ build\ by\ root at vs1\,\ 2012-11-14\ 20:10:51
DRBDADM_API_VERSION=1
DRBD_KERNEL_VERSION_CODE=0x080402
DRBDADM_VERSION_CODE=0x080402
DRBDADM_VERSION=8.4.2
Thank you.