<div dir="ltr"><div>Looks like I do indeed has 8.4 installed but dkms appears to be version 9.</div><div><br></div><div># apt list --installed|grep drbd; cat /proc/drbd<br><br>WARNING: apt does not have a stable CLI interface. Use with caution in scripts.<br><br>drbd-dkms/unknown,now 9.0.15-1 all [installed]<br>drbd-utils/unknown,now 9.5.0-1 amd64 [installed]<br>drbdtop/unknown,now 0.2.1-1 amd64 [installed]<br>python-drbdmanage/unknown,now 0.99.18-1 all [installed]</div><div><br></div><div>version: 8.4.10 (api:1/proto:86-101)<br>srcversion: 17A0C3A0AF9492ED4B9A418 <br><br>1000: cs:Unconfigured<br></div></div><br><div class="gmail_quote"><div dir="ltr">On Tue, Aug 21, 2018 at 11:40 PM PG <<a href="mailto:penguin02007@gmail.com">penguin02007@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div><div>Hi,</div><div><br></div><div>I am trying to get Proxmox plugin working with Lisntor+zfs. Linstor works fine until it tried to create resources. It choked on drbdadm commands and syntax. Any thoughts?</div><div><br></div><div>Error #1</div><div><span class="m_-5514557754484371912gmail-gr_ m_-5514557754484371912gmail-gr_179 m_-5514557754484371912gmail-gr-alert m_-5514557754484371912gmail-gr_spell m_-5514557754484371912gmail-gr_inline_cards m_-5514557754484371912gmail-gr_run_anim m_-5514557754484371912gmail-ContextualSpelling" id="m_-5514557754484371912gmail-179" style="display:inline;border-bottom:2px solid transparent;background-repeat:no-repeat">drbdadm</span> -<span class="m_-5514557754484371912gmail-gr_ m_-5514557754484371912gmail-gr_180 m_-5514557754484371912gmail-gr-alert m_-5514557754484371912gmail-gr_spell m_-5514557754484371912gmail-gr_inline_cards m_-5514557754484371912gmail-gr_run_anim m_-5514557754484371912gmail-ContextualSpelling" id="m_-5514557754484371912gmail-180" style="display:inline;border-bottom:2px solid transparent;background-repeat:no-repeat">vvv</span> --max-peers 7 -- --force create-<span class="m_-5514557754484371912gmail-gr_ m_-5514557754484371912gmail-gr_178 m_-5514557754484371912gmail-gr-alert m_-5514557754484371912gmail-gr_spell m_-5514557754484371912gmail-gr_inline_cards m_-5514557754484371912gmail-gr_run_anim m_-5514557754484371912gmail-ContextualSpelling m_-5514557754484371912gmail-ins-del m_-5514557754484371912gmail-multiReplace" id="m_-5514557754484371912gmail-178" style="display:inline;border-bottom:2px solid transparent;background-repeat:no-repeat">md</span> r03/0<br><span class="m_-5514557754484371912gmail-gr_ m_-5514557754484371912gmail-gr_181 m_-5514557754484371912gmail-gr-alert m_-5514557754484371912gmail-gr_spell m_-5514557754484371912gmail-gr_inline_cards m_-5514557754484371912gmail-gr_disable_anim_appear m_-5514557754484371912gmail-ContextualSpelling" id="m_-5514557754484371912gmail-181" style="display:inline;border-bottom:2px solid transparent;background-repeat:no-repeat">drbdadm</span>: unrecognized option '--max-peers'<br></div><div><div>Error #2</div><div><div>/var/lib/drbd.d/r03.res:5: Parse error: 'protocol | on | disk | net | syncer | startup | handlers | ignore-on | stacked-on-top-of' expected,</div><div> but got 'template-file' (TK 282)</div></div><br class="m_-5514557754484371912gmail-Apple-interchange-newline"></div><div>---</div><div><div># drbdadm --version</div><div>DRBDADM_BUILDTAG=GIT-hash:\ ee126652638328b55dc6bff47d07d6161ab768db\ build\ by\ @buildsystem.linbit\,\ 2018-06-26\ 13:01:24</div><div>DRBDADM_API_VERSION=1</div><div>DRBD_KERNEL_VERSION_CODE=0x08040a</div><div>DRBDADM_VERSION_CODE=0x090500</div><div>DRBDADM_VERSION=9.5.0</div></div><div>---</div><div>Error #1 - Full</div><div><div>============================================================</div><div><br></div><div>Application: LINBIT® LINSTOR</div><div>Module: Satellite</div><div>Version: 0.2.3</div><div>Build ID: 4add04405ff1db47f51a156445197b69f5ab38aa</div><div>Build time: 2018-06-22T07:30:16+00:00</div><div>Error time: 2018-08-21 11:48:50</div><div><br></div><div>============================================================</div><div><br></div><div>Reported error:</div><div>===============</div><div><br></div><div>Description:</div><div> Operations on resource 'r03' were aborted</div><div>Cause:</div><div> Meta data creation failed because the execution of an external command failed</div><div>Correction:</div><div> - Check whether the required software is installed</div><div> - Check whether the application's search path includes the location</div><div> of the external software</div><div> - Check whether the application has execute permission for the external command</div><div><br></div><div>Category: LinStorException</div><div>Class name: ResourceException</div><div>Class canonical name: com.linbit.linstor.core.DrbdDeviceHandler.ResourceException</div><div>Generated at: Method 'createResourceMetaData', Source file 'DrbdDeviceHandler.java', Line #1254</div><div><br></div><div>Error message: Meta data creation for resource 'r03' volume 0 failed</div><div><br></div><div>Error context:</div><div> Meta data creation for resource 'r03' volume 0 failed</div><div><br></div><div>Call backtrace:</div><div><br></div><div> Method Native Class:Line number</div><div> createResourceMetaData N com.linbit.linstor.core.DrbdDeviceHandler:1254</div><div> createResource N com.linbit.linstor.core.DrbdDeviceHandler:983</div><div> dispatchResource N com.linbit.linstor.core.DrbdDeviceHandler:278</div><div> run N com.linbit.linstor.core.DeviceManagerImpl$DeviceHandlerInvocation:1197</div><div> run N com.linbit.WorkerPool$WorkerThread:179</div><div><br></div><div>Caused by:</div><div>==========</div></div><div><div>Description:</div><div> Execution of the external command 'drbdadm' failed.</div><div>Cause:</div><div> The external command exited with error code 1.</div><div>Correction:</div><div> - Check whether the external program is operating properly.</div><div> - Check whether the command line is correct.</div><div> Contact a system administrator or a developer if the command line is no longer valid</div><div> for the installed version of the external program.</div><div>Additional information:</div><div> The full command line executed was:</div><div> drbdadm -vvv --max-peers 7 -- --force create-md r03/0</div><div><br></div><div> The external command sent the following output data:</div><div><br></div><div><br></div><div> The external command sent the follwing error information:</div><div> drbdadm: unrecognized option '--max-peers'</div><div> try 'drbdadm help'</div><div><br></div><div><br></div><div>Category: LinStorException</div><div>Class name: ExtCmdFailedException</div><div>Class canonical name: com.linbit.extproc.ExtCmdFailedException</div><div>Generated at: Method 'execute', Source file 'DrbdAdm.java', Line #445</div><div><br></div><div>Error message: The external command 'drbdadm' exited with error code 1</div><div><br></div><div><br></div><div>Call backtrace:</div><div><br></div><div> Method Native Class:Line number</div><div> execute N com.linbit.drbd.DrbdAdm:445</div><div> simpleAdmCommand N com.linbit.drbd.DrbdAdm:396</div><div> createMd N com.linbit.drbd.DrbdAdm:217</div><div> createVolumeMetaData N com.linbit.linstor.core.DrbdDeviceHandler:966</div><div> createResourceMetaData N com.linbit.linstor.core.DrbdDeviceHandler:1246</div><div> createResource N com.linbit.linstor.core.DrbdDeviceHandler:983</div><div> dispatchResource N com.linbit.linstor.core.DrbdDeviceHandler:278</div><div> run N com.linbit.linstor.core.DeviceManagerImpl$DeviceHandlerInvocation:1197</div><div> run N com.linbit.WorkerPool$WorkerThread:179</div><div><br></div><div><br></div><div>END OF ERROR REPORT.</div></div><div>--- </div></div><div># Error #2</div><div><div># drbdadm connect r01</div><div>/var/lib/drbd.d/r03.res:5: Parse error: 'protocol | on | disk | net | syncer | startup | handlers | ignore-on | stacked-on-top-of' expected,</div><div> but got 'template-file' (TK 282)</div></div><div><br></div><div># cat /var/lib/drbd.d/r03.res </div><div># This file was generated by linstor(0.2.3), do not edit manually.</div><div><br></div><div>resource r03</div><div>{</div><div> template-file "linstor_common.conf";</div><div> net</div><div> {</div><div> cram-hmac-alg sha1;</div><div> shared-secret "2TMXUHZz/OYnMJD1D0KM";</div><div> }</div><div> on eth0-pve3-bos1</div><div> {</div><div> volume 0</div><div> {</div><div> disk /dev/zvol/datastore/r03_00000;</div><div> meta-disk internal;</div><div> device minor 1002;</div><div> }</div><div> address ipv4 <a href="http://192.168.20.13:7002" target="_blank">192.168.20.13:7002</a>;</div><div> node-id 1;</div><div> }</div><div> </div><div> on eth0-pve1-bos1</div><div> {</div><div> volume 0</div><div> {</div><div> disk /dev/drbd/this/is/not/used;</div><div> meta-disk internal;</div><div> device minor 1002;</div><div> }</div><div> address ipv4 <a href="http://192.168.20.11:7002" target="_blank">192.168.20.11:7002</a>;</div><div> node-id 0;</div><div> }</div><div> connection</div><div> {</div><div> host eth0-pve3-bos1;</div><div> host eth0-pve1-bos1;</div><div> }</div><div>}</div><div><br></div></div>
</blockquote></div>