Monday, February 27, 2012

Error When Promoting DRBD Primary

I was having some issues today setting up DRBD on some new SANs. When I would try and promote one of the SANs to primary using this command:
sudo drbdadm -f primary r0

I would get this error:
0: State change failed: (-2) Need access to UpToDate data
Command 'drbdsetup 0 primary' terminated with exit code 17

Wednesday, February 1, 2012

Getting Shutdown/Reboot to Work in KVM/QEMU

I was having trouble getting shutdown/reboot in virt-manager to work with KVM/QEMU. I had to do a Force Off, which is basically like pulling the plug. It's actually pretty easy to fix.