We have a managed OS disk attached to a Linux VM (Ubuntu) that have 64 GB in size, and it's using MBR partition table with azure vm generation 1, now we want to expand the disk space to 128 GB !
From the azure doc I found this article https://docs.microsoft.com/en-us/azure/virtual-machines/linux/resize-os-disk-gpt-partition, but it explains just the case of GPT partition table,
I know, I need to stop the machine and expand the disk from the azure portal and then do X steps to let the OS use the space added !
Can you please explain the X steps needed ?
PS: the application data is in the OS disk, no data disk is attached to the machine !
Update:
df -hT output
Filesystem Type Size Used Avail Use% Mounted on
udev devtmpfs 7.9G 0 7.9G 0% /dev
tmpfs tmpfs 1.6G 97M 1.5G 7% /run
/dev/sda1 ext4 59G 55G 3.3G 95% /
tmpfs tmpfs 7.9G 0 7.9G 0% /dev/shm
tmpfs tmpfs 5.0M 0 5.0M 0% /run/lock
tmpfs tmpfs 7.9G 0 7.9G 0% /sys/fs/cgroup
/dev/sdb1 ext4 32G 48M 30G 1% /mnt
tmpfs tmpfs 1.6G 0 1.6G 0% /run/user/1001
tmpfs tmpfs 1.6G 0 1.6G 0% /run/user/1000
Thanks in advance