Skip to content

Commit

Permalink
Updates.
Browse files Browse the repository at this point in the history
  • Loading branch information
roygara committed Aug 23, 2022
1 parent 846b853 commit b673711
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 11 deletions.
8 changes: 4 additions & 4 deletions articles/virtual-machines/linux/expand-disks.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ author: roygara
ms.service: storage
ms.collection: linux
ms.topic: how-to
ms.date: 08/02/2022
ms.date: 08/23/2022
ms.author: rogarana
ms.subservice: disks
ms.custom: references_regions, ignite-fall-2021, devx-track-azurecli
Expand All @@ -23,11 +23,11 @@ This article describes how to expand managed disks for a Linux virtual machine (
## Expand an Azure Managed Disk

### Expand without downtime (preview)
### Expand without downtime

You can now expand your managed disks without deallocating your VM.

The preview for this has the following limitations:
This feature has the following limitations:

[!INCLUDE [virtual-machines-disks-expand-without-downtime-restrictions](../../../includes/virtual-machines-disks-expand-without-downtime-restrictions.md)]

Expand All @@ -52,7 +52,7 @@ This article requires an existing VM in Azure with at least one data disk attach
In the following samples, replace example parameter names such as *myResourceGroup* and *myVM* with your own values.

> [!IMPORTANT]
> If you've enabled **LiveResize** and your disk meets the requirements in [Expand without downtime (preview)](#expand-without-downtime-preview), you can skip step 1 and 3.
> If you've enabled **LiveResize** and your disk meets the requirements in [Expand without downtime](#expand-without-downtime), you can skip step 1 and 3.
1. Operations on virtual hard disks can't be performed with the VM running. Deallocate your VM with [az vm deallocate](/cli/azure/vm#az-vm-deallocate). The following example deallocates the VM named *myVM* in the resource group named *myResourceGroup*:

Expand Down
14 changes: 7 additions & 7 deletions articles/virtual-machines/windows/expand-os-disk.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ manager: roshar
ms.service: storage
ms.collection: windows
ms.topic: article
ms.date: 08/02/2022
ms.date: 08/23/2022
ms.author: kirpas
ms.subservice: disks
ms.custom: devx-track-azurepowershell, references_regions, ignite-fall-2021
Expand All @@ -18,17 +18,17 @@ ms.custom: devx-track-azurepowershell, references_regions, ignite-fall-2021
When you create a new virtual machine (VM) in a resource group by deploying an image from [Azure Marketplace](https://azure.microsoft.com/marketplace/), the default operating system (OS) disk is usually 127 GiB (some images have smaller OS disk sizes by default). You can add data disks to your VM (the amount depends on the VM SKU you selected) and we recommend installing applications and CPU-intensive workloads on data disks. You may need to expand the OS disk if you're supporting a legacy application that installs components on the OS disk or if you're migrating a physical PC or VM from on-premises that has a larger OS disk. This article covers expanding either OS disks or data disks.

> [!IMPORTANT]
> Unless you use [Expand without downtime (preview)](#expand-without-downtime-preview), expanding a data disk requires the VM to be deallocated.
> Unless you use [Expand without downtime](#expand-without-downtime), expanding a data disk requires the VM to be deallocated.
>
> Shrinking an existing disk isn’t supported and may result in data loss.
>
> After expanding the disks, you need to [Expand the volume in the operating system](#expand-the-volume-in-the-operating-system) to take advantage of the larger disk.
## Expand without downtime (preview)
## Expand without downtime

You can now expand your data disks without deallocating your VM.

The preview for this has the following limitations:
This feature has the following limitations:

[!INCLUDE [virtual-machines-disks-expand-without-downtime-restrictions](../../../includes/virtual-machines-disks-expand-without-downtime-restrictions.md)]

Expand All @@ -47,9 +47,9 @@ Get-AzProviderFeature -FeatureName "LiveResize" -ProviderNamespace "Microsoft.Co
## Resize a managed disk in the Azure portal

> [!IMPORTANT]
> If you've enabled **LiveResize** and your disk meets the requirements in [Expand without downtime (preview)](#expand-without-downtime-preview), you can skip step 1. To expand a disk without downtime in the Azure portal, you must use the following link: [https://aka.ms/iaasexp/DiskLiveResize](https://aka.ms/iaasexp/DiskLiveResize)
> If you've enabled **LiveResize** and your disk meets the requirements in [Expand without downtime](#expand-without-downtime), you can skip step 1.
1. In the [Azure portal](https://aka.ms/iaasexp/DiskLiveResize), go to the virtual machine in which you want to expand the disk. Select **Stop** to deallocate the VM.
1. In the [Azure portal](https://portal.azure.com/), go to the virtual machine in which you want to expand the disk. Select **Stop** to deallocate the VM.
1. In the left menu under **Settings**, select **Disks**.

:::image type="content" source="./media/expand-os-disk/select-disks.png" alt-text="Screenshot that shows the Disks option selected in the Settings section of the menu.":::
Expand Down Expand Up @@ -102,7 +102,7 @@ $vm = Get-AzVM -ResourceGroupName $rgName -Name $vmName
```

> [!IMPORTANT]
> If you've enabled **LiveResize** and your disk meets the requirements in [expand without downtime (preview)](#expand-without-downtime-preview), you can skip step 4 and 6.
> If you've enabled **LiveResize** and your disk meets the requirements in [expand without downtime](#expand-without-downtime), you can skip step 4 and 6.
Stop the VM before resizing the disk:

Expand Down

0 comments on commit b673711

Please sign in to comment.