Q:

How to increase harddisk size of Azure VM

I am using Azure VM which is of type RHEL OS type. Currently I am using Standard D3 v2 size VM. I see only 32 hard disk storage available in VM. How do I increase the size of hard disk?
Filesystem      Size  Used Avail Use% Mounted on
/dev/sda2        32G   32G  185M 100% /
devtmpfs        6.9G     0  6.9G   0% /dev
tmpfs           6.9G     0  6.9G   0% /dev/shm
tmpfs           6.9G  8.4M  6.9G   1% /run
tmpfs           6.9G     0  6.9G   0% /sys/fs/cgroup
/dev/sda1       497M  117M  381M  24% /boot
/dev/sdb1       197G  2.1G  185G   2% /mnt/resource
tmpfs           1.4G     0  1.4G   0% /run/user/1000

Note: I am using unmanaged disk.

A:

If your Virtual Machine was created using the Azure Resource Manager (ARM) you can resize the OS disk or the data disk within the new Azure Portal.

Navigate to the Azure Resource Manager Virtual Machine that you want to resize the disk(s).
Shutdown the Virtual Machine from the Azure portal. Wait untill it's completely shutdown (de-allocated).
Select ‘Disks’ in the Settings blade (As in the below image). 

Disks settings blade

Select the OS or Data disk that you would like to resize.
On the new blade, enter the new disk size (1023GB or 1TB max per disk) (As in the below image).

Change disk size

Hit ‘Save’ on top.
Start the Virtual Machine again.

That’s it! You can login to the VM and check that you have the new selected size for the disk(s).

