VM missing from DRBD1 list

RokModTwo

Member
Nov 11, 2015
14
12
23
While trying to correct a DRBD9 problem on PVE 4.2 2-node cluster, I did a drbdmanage -uninit and mangled my setup :) I have only test VM's so I am trying to recover without re-installing.

I rebuilt /var/lib/drbd.d/*.res files by hand

On both servers
# drbdadm create-md vm-100-disk-1
# drbdadm up vm-100-disk-1


then on the "good" server
# drbdadm -- --overwrite-data-of-peer primary vm-100-disk-1

and I watched the disk sync ok.
root@pve1:/# drbdadm status
.drbdctrl role:primary
volume:0 disk:UpToDate
volume:1 disk:UpToDate
PVE2 role:Secondary
volume:0 peer-disk:UpToDate
volume:1 peer-disk:UpToDate

vm-100-disk-1 role:primary
disk:UpToDate
PVE2 role:Secondary
peer-disk:UpToDate


Now the issue is that I cannot start the VM:
TASK ERROR: drbd error: Object not found
Q1: how can I find out more specifics about what object it could not find?

I noticed that the vm-xxxx-disk-x objects are not showing in my DRBD1 storage node!

Q2: Knowing that I re-initialized drbd9, what additional DRBD-related configuration or is an additional LVM command required to make the images appear again under my DRBD1?

reference articles:
https://pve.proxmox.com/wiki/DRBD9#Software_installation
also this article (tried the restarts, pvedaemon worked, apache2 not found on PVE4.2??)
https://forum.proxmox.com/threads/refresh-items-in-storage-list-and-hardware-kvm-import.3985/

Thanks!
 

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!