You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: articles/virtual-machines/scripts/create-managed-disk-from-snapshot.md
+3-4Lines changed: 3 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,7 +1,6 @@
1
1
---
2
2
title: Create managed disk from snapshot (Linux) - CLI sample
3
3
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
5
4
documentationcenter: storage
6
5
author: ramankumarlive
7
6
manager: kavithag
@@ -11,7 +10,7 @@ ms.devlang: azurecli
11
10
ms.topic: sample
12
11
ms.tgt_pltfrm: vm-linux
13
12
ms.workload: infrastructure
14
-
ms.date: 11/17/2023
13
+
ms.date: 01/19/2024
15
14
ms.author: ramankum
16
15
ms.custom: mvc, devx-track-azurecli
17
16
---
@@ -79,9 +78,9 @@ diskEncryptionSetId=$(az disk-encryption-set show --name $diskEncryptionSetName
79
78
az disk create -g $resourceGroupName -n $diskName --source $snapshotId --disk-encryption-set $diskEncryptionSetID --location eastus2euap
80
79
```
81
80
82
-
## Check disk status
81
+
## Performance impact - background copy process
83
82
84
-
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:
83
+
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:
85
84
86
85
> [!IMPORTANT]
87
86
> 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%.
Copy file name to clipboardExpand all lines: articles/virtual-machines/scripts/virtual-machines-powershell-sample-create-managed-disk-from-snapshot.md
+3-3Lines changed: 3 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -11,7 +11,7 @@ ms.topic: sample
11
11
ms.tgt_pltfrm: vm-windows
12
12
ms.custom: devx-track-azurepowershell
13
13
ms.workload: infrastructure
14
-
ms.date: 11/17/2023
14
+
ms.date: 01/19/2024
15
15
ms.author: ramankum
16
16
---
17
17
@@ -27,9 +27,9 @@ This script creates a managed disk from a snapshot. Use it to restore a virtual
27
27
28
28
[!code-powershell[main](../../../powershell_scripts/virtual-machine/create-managed-disk-from-snapshot/create-managed-disk-from-snapshot.ps1"Create managed disk from snapshot")]
29
29
30
-
## Check disk status
30
+
## Performance impact - background copy process
31
31
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#performance-impact---background-copy-process). This isn't currently supported with the Azure PowerShell module.
33
33
34
34
> [!IMPORTANT]
35
35
> 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%.
Copy file name to clipboardExpand all lines: includes/virtual-machines-disks-incremental-snapshots-restrictions.md
+3-3Lines changed: 3 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -5,7 +5,7 @@
5
5
author: roygara
6
6
ms.service: virtual-machines
7
7
ms.topic: include
8
-
ms.date: 11/17/2023
8
+
ms.date: 01/19/2024
9
9
ms.author: rogarana
10
10
ms.custom: include file
11
11
---
@@ -17,7 +17,7 @@
17
17
- Up to seven incremental snapshots per disk can be created every five minutes.
18
18
- A total of 500 incremental snapshots can be created for a single disk. The 500 quota limit is not over the lifetime of a disk, but at any given point in time. You can always delete older snapshots of a disk to make room for newer snapshots.
19
19
- You can't get the changes between snapshots taken before and after you changed the size of the parent disk across 4-TB boundary. For example, You took an incremental snapshot `snapshot-a` when the size of a disk was 2 TB. Now you increased the size of the disk to 6 TB and then took another incremental snapshot `snapshot-b`. You can't get the changes between `snapshot-a` and `snapshot-b`. You have to download the full copy of `snapshot-b` created after the resize. Subsequently, you can get the changes between `snapshot-b` and snapshots created after `snapshot-b`.
20
-
- 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](../articles/virtual-machines/premium-storage-performance.md#latency). You can use CompletionPercent property to [check the status of the background copy](../articles/virtual-machines/scripts/create-managed-disk-from-snapshot.md#check-disk-status) for Ultra Disks and Premium SSD v2 disks.
20
+
- 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](../articles/virtual-machines/premium-storage-performance.md#latency). You can use CompletionPercent property to [check the status of the background copy](../articles/virtual-machines/scripts/create-managed-disk-from-snapshot.md#performance-impact---background-copy-process) for Ultra Disks and Premium SSD v2 disks.
21
21
22
22
### Incremental snapshots of Premium SSD v2 and Ultra Disks
23
23
@@ -28,7 +28,7 @@ Incremental snapshots of Premium SSD v2 and Ultra Disks have the following extra
28
28
- 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.
29
29
- 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.
30
30
- 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 CompletionPercent 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---background-copy-process) or the [Azure CLI](../articles/virtual-machines/scripts/create-managed-disk-from-snapshot.md#performance-impact---background-copy-process).
32
32
33
33
> [!NOTE]
34
34
> 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