Skip to content

Commit 2183e72

Browse files
Merge pull request #226613 from roygara/minorUpdate
Minor update
2 parents 1a56b61 + 6370056 commit 2183e72

File tree

2 files changed

+13
-13
lines changed

2 files changed

+13
-13
lines changed

articles/virtual-machines/linux/expand-disks.md

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ author: pagienge
55
ms.service: storage
66
ms.collection: linux
77
ms.topic: how-to
8-
ms.date: 01/24/2023
8+
ms.date: 02/07/2023
99
ms.author: pagienge
1010
ms.subservice: disks
1111
ms.custom: references_regions, ignite-fall-2021, devx-track-azurecli
@@ -55,7 +55,7 @@ lrwxrwxrwx. 1 root root 13 Sep 9 21:54 lun2-part1 -> ../../../sde1
5555

5656
### Expand without downtime
5757

58-
You may be able to expand your managed disks without deallocating your VM.
58+
You can expand your managed disks without deallocating your VM. The host cache setting of your disk doesn't change whether or not you can expand a data disk without deallocating your VM.
5959

6060
This feature has the following limitations:
6161

@@ -65,7 +65,7 @@ This feature has the following limitations:
6565

6666
Make sure that you have the latest [Azure CLI](/cli/azure/install-az-cli2) installed and are signed in to an Azure account by using [az login](/cli/azure/reference-index#az-login).
6767

68-
This article requires an existing VM in Azure with at least one data disk attached and prepared. If you do not already have a VM that you can use, see [Create and prepare a VM with data disks](tutorial-manage-disks.md#create-and-attach-disks).
68+
This article requires an existing VM in Azure with at least one data disk attached and prepared. If you don't already have a VM that you can use, see [Create and prepare a VM with data disks](tutorial-manage-disks.md#create-and-attach-disks).
6969

7070
In the following samples, replace example parameter names such as *myResourceGroup* and *myVM* with your own values.
7171

@@ -79,7 +79,7 @@ In the following samples, replace example parameter names such as *myResourceGro
7979
```
8080
8181
> [!NOTE]
82-
> The VM must be deallocated to expand the virtual hard disk. Stopping the VM with `az vm stop` does not release the compute resources. To release compute resources, use `az vm deallocate`.
82+
> The VM must be deallocated to expand the virtual hard disk. Stopping the VM with `az vm stop` doesn't release the compute resources. To release compute resources, use `az vm deallocate`.
8383
8484
1. View a list of managed disks in a resource group with [az disk list](/cli/azure/disk#az-disk-list). The following example displays a list of managed disks in the resource group named *myResourceGroup*:
8585
@@ -114,7 +114,7 @@ In the following samples, replace example parameter names such as *myResourceGro
114114
115115
### Detecting a changed disk size
116116
117-
If a data disk was expanded without downtime using the procedure mentioned previously, the disk size will not be changed until the device is rescanned, which normally only happens during the boot process. This rescan can be called on-demand with the following procedure. In this example we have detected using the methods in this document that the data disk is currently `/dev/sda` and has been resized from 256GB to 512GB.
117+
If a data disk was expanded without downtime using the procedure mentioned previously, the disk size won't be changed until the device is rescanned, which normally only happens during the boot process. This rescan can be called on-demand with the following procedure. In this example we have detected using the methods in this document that the data disk is currently `/dev/sda` and has been resized from 256GB to 512GB.
118118
119119
1. Identify the currently recognized size on the first line of output from `fdisk -l /dev/sda`
120120
@@ -167,7 +167,7 @@ The following instructions apply to endorsed Linux distributions.
167167
168168
# [Ubuntu](#tab/ubuntu)
169169
170-
On Ubuntu 16.x and newer, the root partition of the OS disk and filesystems will be automatically expanded to utilize all free contiguous space on the root disk by cloud-init, provided there is a small bit of free space for the resize operation. For this circumstance the sequence is simply
170+
On Ubuntu 16.x and newer, the root partition of the OS disk and filesystems will be automatically expanded to utilize all free contiguous space on the root disk by cloud-init, provided there's a small bit of free space for the resize operation. For this circumstance the sequence is simply
171171
172172
1. Increase the size of the OS disk as detailed previously
173173
1. Restart the VM, and then access the VM using the **root** user account.
@@ -202,7 +202,7 @@ To increase the OS disk size in SUSE 12 SP4, SUSE SLES 12 for SAP, SUSE SLES 15,
202202
sudo -i
203203
```
204204
205-
1. Use the following command to install the **growpart** package, which will be used to resize the partition, if it is not already present:
205+
1. Use the following command to install the **growpart** package, which will be used to resize the partition, if it isn't already present:
206206
207207
```
208208
zypper install growpart
@@ -344,7 +344,7 @@ To increase the OS disk size in SUSE 12 SP4, SUSE SLES 12 for SAP, SUSE SLES 15,
344344
└─rootvg-rootlv xfs 4f3e6f40-61bf-4866-a7ae-5c6a94675193 /
345345
```
346346

347-
1. Check whether there is free space in the LVM volume group (VG) containing the root partition. If there is free space, skip to step 12.
347+
1. Check whether there's free space in the LVM volume group (VG) containing the root partition. If there's free space, skip to step 12.
348348

349349
```bash
350350
vgdisplay rootvg
@@ -370,7 +370,7 @@ To increase the OS disk size in SUSE 12 SP4, SUSE SLES 12 for SAP, SUSE SLES 15,
370370
VG UUID lPUfnV-3aYT-zDJJ-JaPX-L2d7-n8sL-A9AgJb
371371
```
372372

373-
In this example, the line **Free PE / Size** shows that there is 38.02 GB free in the volume group, as the disk has already been resized.
373+
In this example, the line **Free PE / Size** shows that there's 38.02 GB free in the volume group, as the disk has already been resized.
374374

375375
1. Install the **cloud-utils-growpart** package to provide the **growpart** command, which is required to increase the size of the OS disk and the gdisk handler for GPT disk layouts This package is preinstalled on most marketplace images
376376

@@ -435,7 +435,7 @@ To increase the OS disk size in SUSE 12 SP4, SUSE SLES 12 for SAP, SUSE SLES 15,
435435
PV /dev/sda4 VG rootvg lvm2 [<95.02 GiB / <70.02 GiB free]
436436
```
437437

438-
1. Expand the LV by the required amount, which does not need to be all the free space in the volume group. In the following example, **/dev/mapper/rootvg-rootlv** is resized from 2 GB to 12 GB (an increase of 10 GB) through the following command. This command will also resize the file system on the LV.
438+
1. Expand the LV by the required amount, which doesn't need to be all the free space in the volume group. In the following example, **/dev/mapper/rootvg-rootlv** is resized from 2 GB to 12 GB (an increase of 10 GB) through the following command. This command will also resize the file system on the LV.
439439

440440
```bash
441441
lvresize -r -L +10G /dev/mapper/rootvg-rootlv
@@ -623,4 +623,4 @@ foreach($vmSize in $vmSizes){
623623
}
624624
}
625625
}
626-
```
626+
```

articles/virtual-machines/windows/expand-os-disk.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ manager: roshar
66
ms.service: storage
77
ms.collection: windows
88
ms.topic: article
9-
ms.date: 12/09/2022
9+
ms.date: 02/07/2023
1010
ms.author: kirpas
1111
ms.subservice: disks
1212
ms.custom: devx-track-azurepowershell, references_regions, ignite-fall-2021
@@ -26,7 +26,7 @@ When you create a new virtual machine (VM) in a resource group by deploying an i
2626
2727
## Expand without downtime
2828

29-
You can now expand your data disks without deallocating your VM.
29+
You can expand data disks without deallocating your VM. The host cache setting of your disk doesn't change whether or not you can expand a data disk without deallocating your VM.
3030

3131
This feature has the following limitations:
3232

0 commit comments

Comments
 (0)