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 rolerimary
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 rolerimary
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!
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 rolerimary
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 rolerimary
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!