# add partition to virtual machine witout one gnt-instance stop omp gnt-instance modify -t plain omp ## on node which hosts omp lvs -o name,tags | grep omp ./lv-insert-part.sh /dev/oscarvg/c796b71f-6d4b-412d-9fa9-2d546945f488.disk0_data ## on master node gnt-instance modify -H root_path=/dev/vda1 omp gnt-instance start omp ## on instance omp - check /etc/fstab and update rootfs using blkid or label apt-get install grub-pc grub-install /dev/vda - if there is error, wipe space up to first partition dd if=/dev/zero of=/dev/vda seek=1 count=2047 grub-install /dev/vda - modify /etc/default/grub to include serial console GRUB_CMDLINE_LINUX_DEFAULT="console=ttyS0,38400" GRUB_TERMINAL=serial update-grub ## on master - boot from disk gnt-instance modify -H initrd_path=,kernel_path= omp gnt-instance reboot omp - rebuild drbd gnt-instance stop omp gnt-instance modify -t drbd -n r1u32 omp gnt-instance start omp