[DRBD-user] LinStor exception on creating resource
Robert Altnoeder
robert.altnoeder at linbit.com
Wed Aug 22 14:53:36 CEST 2018
On 08/22/2018 02:35 PM, Benjamin Knoth wrote:
> drbdadm -vvv --max-peers 7 -- --force create-md r0/0
> drbdadm: unrecognized option '--max-peers'
> try 'drbdadm help'
>
> If I use the Autoplace feature Linstor ends with drbdadm -vvv adjust r0
> /var/lib/linstor.d/r0.res:5: Parse error: 'protocol | on | disk | net
> | syncer | startup | handlers | ignore-on | stacked-on-top-of' expected,
> but got 'template-file' (TK 282)
Did you check whether the module that you installed,
> ii drbd-dkms
> 9.0.15-1ppa1~bionic1 all RAID 1 over TCP/IP for
> Linux module source
has been loaded into the running kernel?
e.g., the output of cat /proc/drbd should be something like:
version: 9.0.15-1 (api:2/proto:86-114)
GIT-hash: c46d27900f471ea0f5ba587592439a9ddde1d08b build by
@buildsystem, 2018-08-14 11:22:01
Transports (api:16): tcp (9.0.15-1)
Notice the 'version' information in the first line.
> drbd-overview
> NOTE: drbd-overview will be deprecated soon.
> Please consider using drbdtop.
>
> But drbdtop isn't available.
drbdtop is an optional package, available here:
https://github.com/LINBIT/drbdtop
To build from source, you need a Go compiler (golang from Google)
There are also binaries available for Linux on amd64 and arm64:
https://github.com/LINBIT/drbdtop/releases
Or you can also try 'drbdmon', which is normally included in drbd-utils
on somewhat modern Linux distributions.
br,
Robert
More information about the drbd-user
mailing list