I just resized a disk attached to a Linux VM (Ubuntu 18.04) on Azure, using the portal. Do I have to re-partition it now?
I deallocated the machine and set the disk size to 200 Gb in the "Configuration" box, then re-booted it. On the portal, the disk size now shows as 200 Gb. But when I run df -h on the VM, it still shows the disk's original size of 100 Gb ('/dev/sdb1', below).
I'm pretty ignorant about Linux disks and I don't know what Azure will take care of by default.
Thanks!
$ df -Th
Filesystem Type Size Used Avail Use% Mounted on
udev devtmpfs 28G 0 28G 0% /dev
tmpfs tmpfs 5.5G 1.2M 5.5G 1% /run
/dev/sda1 ext4 97G 32G 66G 33% /
tmpfs tmpfs 28G 8.0K 28G 1% /dev/shm
tmpfs tmpfs 5.0M 0 5.0M 0% /run/lock
tmpfs tmpfs 28G 0 28G 0% /sys/fs/cgroup
/dev/loop0 squashfs 40M 40M 0 100% /snap/hub/43
/dev/loop1 squashfs 94M 94M 0 100% /snap/core/9066
/dev/loop2 squashfs 13M 13M 0 100% /snap/hub/29
/dev/loop3 squashfs 98M 98M 0 100% /snap/core/9289
/dev/sdb1 ext4 99G 96G 0 100% /data
/dev/sdc1 ext4 1007G 792G 164G 83% /cdata
/dev/sdd1 ext4 334G 69M 317G 1% /mnt
tmpfs tmpfs 5.5G 28K 5.5G 1% /run/user/113
tmpfs tmpfs 5.5G 0 5.5G 0% /run/user/1003