Hi, I have a growing Linux Debian 9 VM that I need to expand to 3 TB. I've expanded it from Proxmox interface and it correctly reports 3 TB size. But I'm unable to grow the partition over 2 TB because the virtual disk has a MBR. The VM is mission critical so I must carefully plan the operation: I guess that the steps are
Thank you so much!
- Make a backup to Proxmox Backup Server (of course)
- Log into the VM and convert MBR to GPT:
gdisk /dev/sda
adding a 1 MB partition (n
) with type "BIOS boot" (EF02) from sectors 34-2047 (current /dev/sda1 begins at 2048) and finally writing the new partition table to disk (w
) - Reload the partition table:
partprobe /dev/sda
- Rewrite the boot loader:
grub-install /dev/sda
- Reboot the VM and pray
Thank you so much!