[DRBD-user] LinStor exception on creating resource

Benjamin Knoth knoth at mpdl.mpg.de
Wed Aug 22 16:54:36 CEST 2018


Thank you Robert,

now it works.

The module from drbd 8 was loaded. After a restart the correct module
version was displayed and all other commands are working fine.

# cat /proc/drbd
version: 9.0.15-1 (api:2/proto:86-114)
GIT-hash: c46d27900f471ea0f5ba587592439a9ddde1d08b build by root at vm36,
2018-08-22 09:05:44
Transports (api:16): tcp (9.0.15-1)

My first drbd9 3 node cluster ist running.

Best regards
Benjamin

Am 22.08.2018 um 14:53 schrieb Robert Altnoeder:
> 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
> 
> _______________________________________________
> drbd-user mailing list
> drbd-user at lists.linbit.com
> http://lists.linbit.com/mailman/listinfo/drbd-user
> 

-- 
Benjamin Knoth
Max Planck Digital Library (MPDL)
Systemadministration
Amalienstrasse 33
80799 Munich, Germany
http://www.mpdl.mpg.de

Mail: knoth at mpdl.mpg.de
Phone:  +49 89 38602 211
Fax:    +49-89-38602-280

-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 5139 bytes
Desc: S/MIME Cryptographic Signature
URL: <http://lists.linbit.com/pipermail/drbd-user/attachments/20180822/de844e62/attachment-0001.bin>


More information about the drbd-user mailing list