Skip to content

Commit 3165f9c

Browse files
committed
Staging changes.
1 parent f9b4093 commit 3165f9c

File tree

3 files changed

+8
-9
lines changed

3 files changed

+8
-9
lines changed

articles/virtual-machines/scripts/create-managed-disk-from-snapshot.md

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
---
22
title: Create managed disk from snapshot (Linux) - CLI sample
33
description: Azure CLI Script Sample - restore a disk from a snapshot and learn about the performance impact of restoring managed disk snapshots
4-
services: virtual-machines-linux
54
documentationcenter: storage
65
author: ramankumarlive
76
manager: kavithag
@@ -14,7 +13,7 @@ ms.devlang: azurecli
1413
ms.topic: sample
1514
ms.tgt_pltfrm: vm-linux
1615
ms.workload: infrastructure
17-
ms.date: 11/17/2023
16+
ms.date: 01/19/2024
1817
ms.author: ramankum
1918
ms.custom: mvc, devx-track-azurecli
2019
---
@@ -82,9 +81,9 @@ diskEncryptionSetId=$(az disk-encryption-set show --name $diskEncryptionSetName
8281
az disk create -g $resourceGroupName -n $diskName --source $snapshotId --disk-encryption-set $diskEncryptionSetID --location eastus2euap
8382
```
8483

85-
## Check disk status
84+
## Performance impact - copy process
8685

87-
When you create a managed disk from a snapshot, it starts a background copy process. You can attach a disk to a VM while this process is running but you will experience performance impact (4k disks experience read impact, 512e experience both read and write impact). For Ultra Disks and Premium SSD v2, you can check the status of the background copy process with the following commands:
86+
When you create a managed disk from a snapshot, it starts a background copy process. You can attach a disk to a VM while this process is running but you'll experience performance impact (4k disks experience read impact, 512e experience both read and write impact). For Ultra Disks and Premium SSD v2, you can check the status of the background copy process with the following commands:
8887

8988
> [!IMPORTANT]
9089
> You can't use the following sections to get the status of the background copy process for disk types other than Ultra Disk or Premium SSD v2. Other disk types will always report 100%.

articles/virtual-machines/scripts/virtual-machines-powershell-sample-create-managed-disk-from-snapshot.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ ms.topic: sample
1111
ms.tgt_pltfrm: vm-windows
1212
ms.custom: devx-track-azurepowershell
1313
ms.workload: infrastructure
14-
ms.date: 11/17/2023
14+
ms.date: 01/19/2024
1515
ms.author: ramankum
1616
---
1717

@@ -27,9 +27,9 @@ This script creates a managed disk from a snapshot. Use it to restore a virtual
2727

2828
[!code-powershell[main](../../../powershell_scripts/virtual-machine/create-managed-disk-from-snapshot/create-managed-disk-from-snapshot.ps1 "Create managed disk from snapshot")]
2929

30-
## Check disk status
30+
## Performance impact - copy process
3131

32-
When you create a managed disk from a snapshot, it starts a background copy process. You can attach a disk to a VM while this process is running but you will experience performance impact (4k disks experience read impact, 512e experience both read and write impact). For Ultra Disks and Premium SSD v2, you can check the status of the background copy process with the [Azure CLI](create-managed-disk-from-snapshot.md#check-disk-status). This isn't currently supported with the Azure PowerShell module.
32+
When you create a managed disk from a snapshot, it starts a background copy process. You can attach a disk to a VM while this process is running but you'll experience performance impact (4k disks experience read impact, 512e experience both read and write impact). For Ultra Disks and Premium SSD v2, you can check the status of the background copy process with the [Azure CLI](create-managed-disk-from-snapshot.md#check-disk-status). This isn't currently supported with the Azure PowerShell module.
3333

3434
> [!IMPORTANT]
3535
> You can't use the following sections to get the status of the background copy process for disk types other than Ultra Disk or Premium SSD v2. Other disk types will always report 100%.

includes/virtual-machines-disks-incremental-snapshots-restrictions.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
author: roygara
66
ms.service: virtual-machines
77
ms.topic: include
8-
ms.date: 11/17/2023
8+
ms.date: 01/19/2024
99
ms.author: rogarana
1010
ms.custom: include file
1111
---
@@ -28,7 +28,7 @@ Incremental snapshots of Premium SSD v2 and Ultra Disks have the following extra
2828
- When an incremental snapshot of either a Premium SSD v2 or an Ultra Disk is created, a background copy process for that disk is started. While a background copy is ongoing, you can have up to three total snapshots pending. The process must complete before any more snapshots of that disk can be created.
2929
- Incremental snapshots of a Premium SSD v2 or an Ultra disk can't be used immediately after they're created. The background copy must complete before you can create a disk from the snapshot. See [Check snapshot status](#check-snapshot-status) for details.
3030
- Taking increment snapshots of a Premium SSD v2 or an Ultra disk while the CompletionPercent property of the disk hasn't reached 100 isn't supported.
31-
- When you attach a Premium SSD v2 or Ultra disk created from snapshot to a running Virtual Machine while CompletionPercnet property hasn't reached 100, the disk suffers performance impact. Specifically, if the disk has a 4k sector size, it may experience slower read. If the disk has a 512e sector size, it may experience slower read and write. To track the progress of this background copy process, see the the check disk status section of either the Azure [PowerShell sample](../articles/virtual-machines/scripts/virtual-machines-powershell-sample-create-managed-disk-from-snapshot.md#check-disk-status) or the [Azure CLI sample](../articles/virtual-machines/scripts/create-managed-disk-from-snapshot.md#check-disk-status).
31+
- When you attach a Premium SSD v2 or Ultra disk created from snapshot to a running Virtual Machine while CompletionPercnet property hasn't reached 100, the disk suffers performance impact. Specifically, if the disk has a 4k sector size, it may experience slower read. If the disk has a 512e sector size, it may experience slower read and write. To track the progress of this background copy process, see the the check disk status section of either the Azure [PowerShell sample](../articles/virtual-machines/scripts/virtual-machines-powershell-sample-create-managed-disk-from-snapshot.md#performance-impact---copy-process) or the [Azure CLI](../articles/virtual-machines/scripts/create-managed-disk-from-snapshot.md#performance-impact---copy-process).
3232

3333
> [!NOTE]
3434
> Normally, when you take an incremental snapshot, and there aren't any changes, the size of that snapshot is 0 MiB. Currently, empty snapshots of disks with a 4096 logical sector size instead have a size of 6 MiB, when they'd normally be 0 MiB.

0 commit comments

Comments
 (0)