[DRBD-user] failed exit code 1

Sebastian Blajszczak sebastian.blajszczak at addmore.de
Mon Apr 30 16:26:58 CEST 2018


Hi Yannis,

thank you very much. With updating from the repo it worked and I can start VMs again on this machine.

Thanks and with best regards,
Sebastian

Von: Yannis Milios <yannis.milios at gmail.com>
Gesendet: Montag, 30. April 2018 16:06
An: Sebastian Blajszczak <sebastian.blajszczak at addmore.de>
Cc: drbd-user at lists.linbit.com
Betreff: Re: [DRBD-user] failed exit code 1

There's a dedicated repo for PVE, you can use that one instead of building from source.
You can find more here: https://docs.linbit.com/docs/users-guide-9.0/#ch-proxmox

On Mon, Apr 30, 2018 at 2:12 PM, Sebastian Blajszczak <sebastian.blajszczak at addmore.de<mailto:sebastian.blajszczak at addmore.de>> wrote:
It failed, because I had to compile it manually:
[root at leia.comp.local~]$# dpkg -l | grep drbd-utils
ii  drbd-utils                           9.1.1+linbit-1                 amd64        RAID 1 over TCP/IP for Linux (user utilities)

I´m on debian 9. Is there an easier way to update it?

Wit best regards

Von: Yannis Milios <yannis.milios at gmail.com<mailto:yannis.milios at gmail.com>>
Gesendet: Montag, 30. April 2018 14:17
An: Sebastian Blajszczak <sebastian.blajszczak at addmore.de<mailto:sebastian.blajszczak at addmore.de>>
Cc: drbd-user at lists.linbit.com<mailto:drbd-user at lists.linbit.com>
Betreff: Re: [DRBD-user] failed exit code 1

When you say "it failed", how did it exactly failed ? Anything on the logs ?

I'm on PVE5 as well, but did not have any issues updating both utils and kmod.

dpkg -l | grep drbd-utils
ii  drbd-utils                           9.3.1-1                        amd64        RAID 1 over TCP/IP for Linux (user utilities)

dpkg -l | grep drbd-dkms
ii  drbd-dkms                            9.0.13-1                       all          RAID 1 over TCP/IP for Linux module source


On Thu, Apr 26, 2018 at 1:19 PM, Sebastian Blajszczak <sebastian.blajszczak at addmore.de<mailto:sebastian.blajszczak at addmore.de>> wrote:
Hello,

I tried to update the drbd-utils from 9.1.1 to 9.3
It failed, and I still on 9.1.1, for me OK, but:

Now when I trying to start a VM on this machine I´m getting this error:

kvm: -drive file=/dev/drbd/by-res/vm-106-disk-1/0,if=none,id=drive-virtio0,cache=writethrough,format=raw,aio=threads,detect-zeroes=on: Could not open '/dev/drbd/by-res/vm-106-disk-1/0': No such file or directory

start failed: command '/usr/bin/kvm -id 106 -name LDAP-FB -chardev 'socket,id=qmp,path=/var/run/qemu-server/106.qmp,server,nowait' -mon 'chardev=qmp,mode=control' -pidfile /var/run/qemu-server/106.pid -daemonize -smp '1,sockets=1,cores=1,maxcpus=1' -nodefaults -boot 'menu=on,strict=on,reboot-timeout=1000,splash=/usr/share/qemu-server/bootsplash.jpg' -vga std -vnc unix:/var/run/qemu-server/106.vnc,x509,password -cpu kvm64,+lahf_lm,+sep,+kvm_pv_unhalt,+kvm_pv_eoi,enforce -m 256 -device 'pci-bridge,id=pci.2,chassis_nr=2,bus=pci.0,addr=0x1f' -device 'pci-bridge,id=pci.1,chassis_nr=1,bus=pci.0,addr=0x1e' -device 'piix3-usb-uhci,id=uhci,bus=pci.0,addr=0x1.0x2' -device 'usb-tablet,id=tablet,bus=uhci.0,port=1' -device 'virtio-balloon-pci,id=balloon0,bus=pci.0,addr=0x3' -iscsi 'initiator-name=iqn.1993-08.org.debian:01:308de83551e6' -drive 'file=/dev/drbd/by-res/vm-106-disk-1/0,if=none,id=drive-virtio0,cache=writethrough,format=raw,aio=threads,detect-zeroes=on' -device 'virtio-blk-pci,drive=drive-virtio0,id=virtio0,bus=pci.0,addr=0xa,bootindex=100' -netdev 'type=tap,id=net0,ifname=tap106i0,script=/var/lib/qemu-server/pve-bridge,downscript=/var/lib/qemu-server/pve-bridgedown,vhost=on' -device 'virtio-net-pci,mac=E6:9D:26:C9:18:41,netdev=net0,bus=pci.0,addr=0x12,id=net0,bootindex=300'' failed: exit code 1

I´m on drbd 9.0.13
Proxmox 5

I can migrate VMs offline and start them on the other node2 (did not update node 2), all other things are running. Drbd is up to date and syncing.
How can I fix this error?

With best regards,
Sebastian



_______________________________________________
drbd-user mailing list
drbd-user at lists.linbit.com<mailto:drbd-user at lists.linbit.com>
http://lists.linbit.com/mailman/listinfo/drbd-user


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.linbit.com/pipermail/drbd-user/attachments/20180430/329b2691/attachment.htm>


More information about the drbd-user mailing list