<html>
<head>
<meta content="text/html; charset=utf-8" http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<div class="moz-cite-prefix">Rudolf, <br>
I've seen something similiar when the drbd utils is not in sync
with the drbd km, and sometimes when an accidental version mix
occurs. drbd 9.0.1 <i>and </i>drbd-utils-8.9.6, though this
insight isnt recent as I have yet to begin testing with that
combination on Centos 6.<br>
Start with a clean install by removing all traces of drbd
(resources/config are fine to leave) - use locate or find to make
sure you dont have a drbdsetup or drbdadmn floating around, then
build/install the package pair above. <br>
<br>
Hope this helps<br>
-Chuck<br>
<br>
<br>
On 2/12/2016 10:38 PM, Rudolf Kasper wrote:<br>
</div>
<blockquote cite="mid:cbd06073649b9b18400412ea2d606892@sonog.de"
type="cite">Hi,
<br>
<br>
i'm trying to install the latest drbd9.0.1.1 on debian 8.
<br>
Everything seems to run fine, but then when i added a new resource
i got this error message in syslog:
<br>
Feb 13 00:05:41 ha-storage-1 drbdadm[18206]: [
<br>
Feb 13 00:05:41 ha-storage-1 drbdadm[18206]: create res:
r0:failed(new-resource:20)
<br>
Feb 13 00:05:41 ha-storage-1 drbdadm[18206]: prepare disk:
[skipped:r0]
<br>
Feb 13 00:05:41 ha-storage-1 drbdadm[18206]: adjust disk:
[skipped:r0]
<br>
Feb 13 00:05:41 ha-storage-1 drbdadm[18206]: adjust net:
[skipped:r0]
<br>
Feb 13 00:05:41 ha-storage-1 drbdadm[18206]: ]
<br>
Feb 13 00:05:41 ha-storage-1 systemd[1]: drbd.service: main
process exited, code=exited, status=1/FAILURE
<br>
Feb 13 00:05:41 ha-storage-1 systemd[1]: Failed to start
Distributed Replicated Block Device.
<br>
Feb 13 00:05:41 ha-storage-1 systemd[1]: Unit drbd.service entered
failed state.
<br>
<br>
when i try to start the drbd-service:
<br>
/etc/init.d/drbd start
<br>
[....] Starting drbd (via systemctl): drbd.serviceJob for
drbd.service failed. See 'systemctl status drbd.service' and
'journalctl -xn' for details.
<br>
failed!
<br>
<br>
<br>
the status page displays the following:
<br>
/etc/init.d/drbd status
<br>
● drbd.service - Distributed Replicated Block Device
<br>
Loaded: loaded (/lib/systemd/system/drbd.service; enabled)
<br>
Active: failed (Result: exit-code) since Sa 2016-02-13 00:01:11
CET; 43s ago
<br>
Main PID: 626 (code=exited, status=1/FAILURE)
<br>
<br>
Feb 13 00:01:11 ha-storage-1 drbdadm[626]: [
<br>
Feb 13 00:01:11 ha-storage-1 drbdadm[626]: create res:
r0:failed(new-resource:20)
<br>
Feb 13 00:01:11 ha-storage-1 drbdadm[626]: prepare disk:
[skipped:r0]
<br>
Feb 13 00:01:11 ha-storage-1 drbdadm[626]: adjust disk:
[skipped:r0]
<br>
Feb 13 00:01:11 ha-storage-1 systemd[1]: drbd.service: main
process exited, code=exited, status=1/FAILURE
<br>
Feb 13 00:01:11 ha-storage-1 drbdadm[626]: adjust net:
[skipped:r0]
<br>
Feb 13 00:01:11 ha-storage-1 drbdadm[626]: ]
<br>
Feb 13 00:01:11 ha-storage-1 systemd[1]: Failed to start
Distributed Replicated Block Device.
<br>
Feb 13 00:01:11 ha-storage-1 systemd[1]: Unit drbd.service entered
failed state.
<br>
root@ha-storage-1:~# /etc/init.d/drbd start
<br>
<br>
<br>
<br>
<br>
running drbdsetup /dev/drbd0 primary --overwrite-data-of-peer
results in
<br>
API mismatch!
<br>
API version drbdsetup: 1 kernel: 2
<br>
header size drbdsetup: 8 kernel: 8
<br>
<br>
<br>
<br>
Would be nice if anyone can help me soon, the servers has to go
into production end of this week (today i've to define the
downtime we have to schedule tomorrow)
<br>
<br>
<br>
Thanks a lot
<br>
Kind regards
<br>
_______________________________________________
<br>
drbd-user mailing list
<br>
<a class="moz-txt-link-abbreviated" href="mailto:drbd-user@lists.linbit.com">drbd-user@lists.linbit.com</a>
<br>
<a class="moz-txt-link-freetext" href="http://lists.linbit.com/mailman/listinfo/drbd-user">http://lists.linbit.com/mailman/listinfo/drbd-user</a>
<br>
</blockquote>
<br>
</body>
</html>