resizing a FreeBSD-12.1 vm on Azure

Wei Hu weh at microsoft.com
Wed Dec 23 13:48:27 UTC 2020


Hello,

You can use resize option on Azure portal to increase the CPU and RAM of your VM. I believe you don't need to shut down the VM. Once you start the resizing, Azure will take care of rebooting the VM for you. The public IP will not change after the resizing.

If you want to grow the disk size, you will have to shut  down the VM. Find the disk for your VM on the portal. It should have option to grow the size. You may need to increase the FreeBSD filesystem size manually once the guest boots up again. I have not done this. I just heard from someone who has done this for Linux VM on Azure.

Thanks,
Wei


> -----Original Message-----
> From: owner-freebsd-virtualization at freebsd.org <owner-freebsd-
> virtualization at freebsd.org> On Behalf Of tech-lists
> Sent: Tuesday, December 15, 2020 11:57 AM
> To: freebsd-virtualization at freebsd.org
> Subject: resizing a FreeBSD-12.1 vm on Azure
> 
> Hello,
> 
> Has anyone ever resized a freebsd vm on Azure? I don't mean just the disks.
> Really the whole point is to have more CPU and RAM. I have the option to do
> this via their portal, just select whats required and hit 'resize' but I'm a bit
> hesitant. I guess it'll work on a windows VM but anything else?
> 
> If you did manage to do this, did you need to shut the VM down before resizing
> it? Was your external IP preserved or did it force you to have another one? Did
> you have to run anything else, like growfs?
> 
> The author of https://forums.freebsd.org/threads/azure-vm.62440/ tried to do
> this in 2017 but wasn't able to at the time.
> 
> thanks,
> --
> J.


More information about the freebsd-virtualization mailing list