Skip to content

Commit ee7047b

Browse files
committed
edits
1 parent 4a68c3e commit ee7047b

1 file changed

Lines changed: 11 additions & 9 deletions

File tree

support/sql/azure-sql/sql-deployment-fails-drive-not-ready.md

Lines changed: 11 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,7 @@
22
title: SQL VM Fails to Deploy or SQL Server Instance Can't Come Online
33
description: Addresses a failure when you deploy a SQL Server on Azure VM image in Azure Marketplace or when a manually installed SQL Server instance fails to come online after an Azure VM is restarted or deallocated.
44
ms.date: 10/07/2025
5-
ms.author: mathoma
6-
author: MashaMSFT
7-
ms.reviewer: mathoma, v-sidong
5+
ms.reviewer: mathoma, pamela, v-sidong, v-shaywood
86
ms.custom: sap:SQL Licensing, Installation and Patching
97
---
108
# SQL Server on Azure VM fails to deploy or SQL Server instance fails to come online
@@ -81,18 +79,22 @@ This issue occurs because of the selected Azure VM size. To solve the issue, use
8179
- If possible, use another VM SKU, such as those listed in the [VM size best practices](/azure/azure-sql/virtual-machines/windows/performance-guidelines-best-practices-vm-size#checklist).
8280
- If you want to use a particular VM that is on the [impacted VMs](#impacted-vms) list, use a machine without the lowercase `d` in the name, which places `tempdb` on the same storage as the SQL Server data files. For example, use the `FXmsv2` VM size instead of `FXmdsv2`. The latter has uninitialized ephemeral storage, as indicated by `d` in the name.
8381

84-
## Workaround
82+
## Workaround
8583

86-
If you can't use another VM SKU without a RAW local SSD, consider the following workarounds:
87-
- Deploy the VM using a Windows Server-only image, [format and initialize the temporary NVMe drive](/azure/virtual-machines/enable-nvme-temp-faqs#how-can-i-format-and-initialize-temp-nvme-disks-in-windows-when-i-create-a-vm-), and then manually install SQL Server. **_If you choose to put `tempdb` on the local SSD, you must reinitialize the disk before starting SQL Server every time the VM is restarted or deallocated._**
88-
- Deploy the SQL Server VM image, but configure `tempdb` to use a different drive than the ephemeral storage during the deployment. For example, you can configure `tempdb` to use the `C:`, or remote storage drive. You can do this on the **SQL Server settings** page in the Azure portal when [deploying the SQL Server VM image](https://portal.azure.com/#view/HubsExtension/ServiceMenuBlade/~/SqlVirtualMachine/extension/SqlAzureExtension/menuId/AzureSqlHub/itemId/SqlVirtualMachine). Under **Storage configuration**, select **Change configuration** to open the **Configure storage** pane. Expand **tempdb storage** and *any option other than `Use local SSD drive`*:
84+
If you can't use another VM SKU without a RAW local SSD, consider the following workarounds:
8985

90-
:::image type="content" source="media/sql-deployment-fails-drive-not-ready/change-tempdb-location.png" alt-text="Screenshot of the tempdb storage configuration in the Azure portal when deploying a SQL VM image." lightbox="media/sql-deployment-fails-drive-not-ready/change-tempdb-location.png":::
86+
- Deploy the VM using a Windows Server-only image, [format and initialize the temporary NVMe drive](/azure/virtual-machines/enable-nvme-temp-faqs#how-can-i-format-and-initialize-temp-nvme-disks-in-windows-when-i-create-a-vm-), and then manually install SQL Server.
87+
- If you choose to put `tempdb` on the local SSD, you must reinitialize the disk before starting SQL Server every time the VM is restarted or deallocated.
88+
- Deploy the SQL Server VM image, but configure `tempdb` to use a different drive than the ephemeral storage during the deployment. For example, you can configure `tempdb` to use the `C:`, or remote storage drive.
89+
1. You can do this on the **SQL Server settings** page in the Azure portal when [deploying the SQL Server VM image](https://portal.azure.com/#view/HubsExtension/ServiceMenuBlade/~/SqlVirtualMachine/extension/SqlAzureExtension/menuId/AzureSqlHub/itemId/SqlVirtualMachine).
90+
1. Under **Storage configuration**, select **Change configuration** to open the **Configure storage** pane.
91+
1. Expand **tempdb storage** and choose _any option other than_ `Use local SSD drive`:
9192

93+
:::image type="content" source="media/sql-deployment-fails-drive-not-ready/change-tempdb-location.png" alt-text="Screenshot of the tempdb storage configuration in the Azure portal when deploying a SQL VM image." lightbox="media/sql-deployment-fails-drive-not-ready/change-tempdb-location.png":::
9294

9395
## Impacted VMs
9496

95-
This issue occurs with VMs that deploy an uninitialized temporary drive, such as the following VM sizes:
97+
This issue occurs with VMs that deploy an uninitialized temporary drive, such as the following VM sizes:
9698

9799
|Intel Gen 10.2|AMD Gen 9.1|
98100
|-|-|

0 commit comments

Comments
 (0)