[DRBD-user] drbd 9.0.9 - drbd-utils 9.1.0 : "drbdadm adjust" segfaults

Roland Kammerer roland.kammerer at linbit.com
Fri Sep 8 10:45:53 CEST 2017

Note: "permalinks" may not be as permanent as we would like,
direct links of old sources may well be a few messages off.


On Fri, Sep 08, 2017 at 09:17:18AM +0200, Roberto Resoli wrote:
> Il 07/09/2017 21:13, Roberto Resoli ha scritto:
> > I have just updated to drbd 9.0.9 - drbd-utils 9.1.0 from the proxmox4 repo.
> ...
> > Symptoms:
> > 
> > Issuing a "drbdadm adjust" command results in a segfault:
> > 
> > For instance:
> > 
> > # drbdadm down vm-105-disk-1
> > # drbdadm adjust vm-105-disk-1
> > Segmentation fault
> 
> Interestingly, segfault happens even in dry-run mode:
> 
> # drbdadm -d adjust vm-105-disk-1
> drbdsetup new-resource vm-105-disk-1 2
> drbdsetup new-minor vm-105-disk-1 143 0
> drbdsetup new-peer vm-105-disk-1 1 --_name=pve1 --cram-hmac-alg=sha1
> --shared-secret=EIUhGoz9e+FUY+XB/wX3 --allow-two-primaries=yes
> drbdsetup new-peer vm-105-disk-1 0 --_name=pve2 --cram-hmac-alg=sha1
> --shared-secret=EIUhGoz9e+FUY+XB/wX3 --allow-two-primaries=yes
> drbdsetup new-path vm-105-disk-1 1 ipv4:10.1.1.3:7006 ipv4:10.1.1.1:7006
> drbdsetup new-path vm-105-disk-1 0 ipv4:10.1.1.3:7006 ipv4:10.1.1.2:7006
> drbdsetup peer-device-options vm-105-disk-1 1 0 --set-defaults
> --c-min-rate=10000 --c-fill-target=100000 --c-plan-ahead=10
> --c-max-rate=150000 --resync-rate=120000
> drbdsetup peer-device-options vm-105-disk-1 0 0 --set-defaults
> --c-min-rate=10000 --c-fill-target=100000 --c-plan-ahead=10
> --c-max-rate=150000 --resync-rate=120000
> Segmentation fault

It would be great if you could post the *.res file. So far I was not
able to reproduce that in my setup (with the given versions and
peer-device options). The res file should be at:
/var/lib/drbd.d/drbdmanage_vm-105-disk-1.res

Thanks, rck



More information about the drbd-user mailing list