Rescan Disk: echo 1 | sudo tee /sys/class/block/sda/device/rescan
Expand Filesystem: sudo resize2fs /dev/sda1
But actually, just needed to stop the vm in azure portal, resize in azure portal, then start in azure portal - since it is the OS disk and we're rebooting, the changes are automatically noted.
Microsoft's documentation for Windows VM also notes this, lower down in this page.
No comments:
Post a Comment