When it comes to storing data in the cloud, organizations need flexible and scalable storage solutions that won’t impact live production workloads.
Azure offers this capability by making it possible to change the disk size of a virtual machine on the fly with live workloads, providing needed capacity without affecting user experience.
Ready to resize a disk in Azure? This blog will provide a step-by-step guide on the process of increasing the disk size in Azure without incurring any downtime.
Use the links here to jump down to the sections on:
Once a VM is created in Azure, you can update both its operating system and resize any data disks attached to it, making the disk size larger. But before you make any changes to your disk size, there are some important factors to consider first:
With those considerations out of the way, resizing a VM disk in Azure is a fairly straightforward process that can be done either via the Azure Portal, Azure CLI, or Azure PowerShell. It is a two-step process. The first part is to change the disk size itself. After that you need to make the disk available in the operating system so that applications hosted in the VM can start using the additional capacity.
The first step in an Azure Disk resize operation is to increase disk size. Follow the below steps to increase the data disk size of a VM in Azure. For this example we are using the Azure Portal, though the Azure CLI or Azure PowerShell can also be used.
After completing the Azure disk resize from the Azure Portal, you will need to make some additional configurations in your OS to expand the associated volume so that applications hosted in the VMs can use this capacity.
Follow the steps given below for updating Azure disk size in Windows and Linux virtual machines, respectively.
The following steps will show how to update the larger disk size in Windows. The method to resize the disk using Server Manager is shown below. Note that you can also do the same process from the command line using the DISKPART utility.
The following steps will show how to update a Linux operating system about a new larger disk size. The method shown below uses an Ubuntu server.
sudo fdisk -l
#sudo -s
#echo 1 > /sys/class/block/sda/device/rescan
There are more ways to scale up Azure storage than just Azure disk resize jobs. NetApp BlueXP Cloud Volumes ONTAP helps to bring the power of trusted NetApp ONTAP technology to Azure to meet growing capacity demands without compromising on storage efficiency.
With petabyte scalability, Cloud Volumes ONTAP can meet the capacity requirements for most demanding workloads in Azure VMs, such as databases, DevOps pipelines, file services, and more. The data volumes created in Cloud Volumes ONTAP can be connected to Azure using the protocol of your choice, whether it’s SMB, NFS, or iSCSI.
BlueXP Cloud Volumes ONTAP augments native Azure storage with NetApp proprietary storage efficiency features like thin provisioning, deduplication, compaction, and compression. The centralized management feature of BlueXP provides full visibility and control over your data volumes not just in Azure, but in other clouds as well as on-premises systems.
If you are looking for an enterprise class data management solution, with built-in flexibility to meet your data growth needs in the cloud, BlueXP Cloud Volumes ONTAP could be the perfect fit. To find out more, check out these Azure customer success stories.