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