Skip to content

Commit 11bae8c

Browse files
Merge pull request #233936 from roygara/pv2Sector
Adding premv2 sector size
2 parents c0f097b + 0c8f1d7 commit 11bae8c

File tree

3 files changed

+14
-4
lines changed

3 files changed

+14
-4
lines changed

articles/virtual-machines/disks-deploy-premium-v2.md

Lines changed: 11 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ title: Deploy a Premium SSD v2 managed disk
33
description: Learn how to deploy a Premium SSD v2.
44
author: roygara
55
ms.author: rogarana
6-
ms.date: 03/16/2023
6+
ms.date: 04/10/2023
77
ms.topic: how-to
88
ms.service: storage
99
ms.subservice: disks
@@ -14,6 +14,8 @@ ms.custom: references_regions, ignite-2022, devx-track-azurecli, devx-track-azur
1414

1515
Azure Premium SSD v2 is designed for IO-intense enterprise workloads that require sub-millisecond disk latencies and high IOPS and throughput at a low cost. Premium SSD v2 is suited for a broad range of workloads such as SQL server, Oracle, MariaDB, SAP, Cassandra, Mongo DB, big data/analytics, gaming, on virtual machines or stateful containers. For conceptual information on Premium SSD v2, see [Premium SSD v2](disks-types.md#premium-ssd-v2).
1616

17+
Premium SSD v2 support a 4k physical sector size by default, but can be configured to use a 512E sector size as well. While most applications are compatible with 4k sector sizes, some require 512 byte sector sizes. Oracle Database, for example, requires release 12.2 or later in order to support 4k native disks. For older versions of Oracle DB, 512 byte sector size is required.
18+
1719
## Limitations
1820

1921
[!INCLUDE [disks-prem-v2-limitations](../../includes/disks-prem-v2-limitations.md)]
@@ -66,14 +68,15 @@ Now that you know the region and zone to deploy to, follow the deployment steps
6668

6769
# [Azure CLI](#tab/azure-cli)
6870

69-
Create a Premium SSD v2 disk in an availability zone. Then create a VM in the same region and availability zone that supports Premium Storage and attach the disk to it. Replace the values of all the variables with your own, then run the following script:
71+
Create a Premium SSD v2 disk in an availability zone. Then create a VM in the same region and availability zone that supports Premium Storage and attach the disk to it. The following script creates a Premium SSD v2 with a 4k sector size, to deploy one with a 512 sector size, update the `$logicalSectorSize` parameter. Replace the values of all the variables with your own, then run the following script:
7072

7173
```azurecli-interactive
7274
## Initialize variables
7375
diskName="yourDiskName"
7476
resourceGroupName="yourResourceGroupName"
7577
region="yourRegionName"
7678
zone="yourZoneNumber"
79+
##Replace 4096 with 512 to deploy a disk with 512 sector size
7780
logicalSectorSize=4096
7881
vmName="yourVMName"
7982
vmImage="Win2016Datacenter"
@@ -103,7 +106,7 @@ az vm create -n $vmName -g $resourceGroupName \
103106

104107
# [PowerShell](#tab/azure-powershell)
105108

106-
Create a Premium SSD v2 disk in an availability zone. Then create a VM in the same region and availability zone that supports Premium Storage and attach the disk to it. Replace the values of all the variables with your own, then run the following script:
109+
Create a Premium SSD v2 disk in an availability zone. Then create a VM in the same region and availability zone that supports Premium Storage and attach the disk to it. The following script creates a Premium SSD v2 with a 4k sector size, to deploy one with a 512 sector size, update the `$logicalSectorSize` parameter. Replace the values of all the variables with your own, then run the following script:
107110

108111
```powershell
109112
# Initialize variables
@@ -114,6 +117,7 @@ $diskName = "yourDiskName"
114117
$diskSizeInGiB = 100
115118
$diskIOPS = 5000
116119
$diskThroughputInMBPS = 150
120+
#To use a 512 sector size, replace 4096 with 512
117121
$logicalSectorSize=4096
118122
$lun = 1
119123
$vmName = "yourVMName"
@@ -175,6 +179,10 @@ Update-AzVM -VM $vm -ResourceGroupName $resourceGroupName
175179

176180
:::image type="content" source="media/disks-deploy-premium-v2/premv2-select.png" alt-text="Screenshot selecting Premium SSD v2 SKU." lightbox="media/disks-deploy-premium-v2/premv2-select.png":::
177181

182+
1. Select whether you'd like to deploy a 4k or 512 logical sector size.
183+
184+
:::image type="content" source="media/disks-deploy-premium-v2/premv2-sector-size.png" alt-text="Screenshot of deployment logical sector size deployment options." lightbox="media/disks-deploy-premium-v2/premv2-sector-size.png":::
185+
178186
1. Proceed through the rest of the VM deployment, making any choices that you desire.
179187

180188
You've now deployed a VM with a premium SSD v2.

articles/virtual-machines/disks-types.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ title: Select a disk type for Azure IaaS VMs - managed disks
33
description: Learn about the available Azure disk types for virtual machines, including ultra disks, Premium SSDs v2, Premium SSDs, standard SSDs, and Standard HDDs.
44
author: roygara
55
ms.author: rogarana
6-
ms.date: 03/16/2023
6+
ms.date: 04/10/2023
77
ms.topic: conceptual
88
ms.service: storage
99
ms.subservice: disks
@@ -97,6 +97,8 @@ If you would like to start using ultra disks, see the article on [using Azure ul
9797

9898
Azure Premium SSD v2 is designed for IO-intense enterprise workloads that require consistent sub-millisecond disk latencies and high IOPS and throughput at a low cost. The performance (capacity, throughput, and IOPS) of Premium SSD v2 disks can be independently configured at any time, making it easier for more scenarios to be cost efficient while meeting performance needs. For example, a transaction-intensive database workload may need a large amount of IOPS at a small size, or a gaming application may need a large amount of IOPS during peak hours. Premium SSD v2 is suited for a broad range of workloads such as SQL server, Oracle, MariaDB, SAP, Cassandra, Mongo DB, big data/analytics, and gaming, on virtual machines or stateful containers.
9999

100+
Premium SSD v2 support a 4k physical sector size by default, but can be configured to use a 512E sector size as well. While most applications are compatible with 4k sector sizes, some require 512 byte sector sizes. Oracle Database, for example, requires release 12.2 or later in order to support 4k native disks. For older versions of Oracle DB, 512 byte sector size is required.
101+
100102
### Differences between Premium SSD and Premium SSD v2
101103

102104
Unlike Premium SSDs, Premium SSD v2 doesn't have dedicated sizes. You can set a Premium SSD v2 to any supported size you prefer, and make granular adjustments to the performance without downtime. Premium SSD v2 doesn't support host caching but, benefits significantly from lower latency which addresses some of the same core problems host caching addresses. The ability to adjust IOPS, throughput, and size at any time also means you can avoid the maintenance overhead of having to stripe disks to meet your needs.
61.8 KB
Loading

0 commit comments

Comments
 (0)