Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 23 Dec 2020 13:48:09 +0000
From:      Wei Hu <weh@microsoft.com>
To:        tech-lists <tech-lists@zyxst.net>, "freebsd-virtualization@freebsd.org" <freebsd-virtualization@freebsd.org>
Subject:   RE: resizing a FreeBSD-12.1 vm on Azure
Message-ID:  <SI2P153MB04251207EF761B33CFF4D36CBBDE9@SI2P153MB0425.APCP153.PROD.OUTLOOK.COM>
In-Reply-To: <X9g0BuJXucaYWLvE@bastion.zyxst.net>
References:  <X9g0BuJXucaYWLvE@bastion.zyxst.net>

next in thread | previous in thread | raw e-mail | index | archive | help
Hello,

You can use resize option on Azure portal to increase the CPU and RAM of yo=
ur VM. I believe you don't need to shut down the VM. Once you start the res=
izing, 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 gu=
est 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@freebsd.org <owner-freebsd-
> virtualization@freebsd.org> On Behalf Of tech-lists
> Sent: Tuesday, December 15, 2020 11:57 AM
> To: freebsd-virtualization@freebsd.org
> Subject: resizing a FreeBSD-12.1 vm on Azure
>=20
> Hello,
>=20
> Has anyone ever resized a freebsd vm on Azure? I don't mean just the disk=
s.
> 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?
>=20
> If you did manage to do this, did you need to shut the VM down before res=
izing
> it? Was your external IP preserved or did it force you to have another on=
e? Did
> you have to run anything else, like growfs?
>=20
> 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.
>=20
> thanks,
> --
> J.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?SI2P153MB04251207EF761B33CFF4D36CBBDE9>