Skip to content

Commit 582fa05

Browse files
MashaMSFTrwestMSFT
andauthored
Apply suggestions from code review
Co-authored-by: Randolph West MSFT <[email protected]>
1 parent 77f763f commit 582fa05

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

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

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ You might see this issue after following this sequence of events:
4646

4747
If you encounter this issue, you might see the following error in the SQL Server error log:
4848

49-
```
49+
```output
5050
CREATE FILE encountered operating system error 3(The system cannot find the path specified.)
5151
while attempting to open or create the physical file 'D:\SQLTemp\tempdb.mdf'.
5252
Error: 17204, Severity: 16, State: 1. FCB::Open failed: Could not open
@@ -67,14 +67,14 @@ tempdb files could not be initialized.
6767

6868
Some of the newest Azure VM sizes present a RAW local SSD volume for ephemeral storage configured with the Non-Volatile Memory Express (NVMe) interface. This configuration results in failure because SQL Server attempts to place the `tempdb` database on the ephemeral storage and fails as the local SSD volume isn't available. Additionally, the ephemeral storage shows as RAW after the machine is deallocated.
6969

70-
The RAW local SSD volume is what causes the SQL VM deployment to fail, and what also prevents manually installed SQL Server instances from coming online after the VM is restarted. In both cases, SQL Server is trying to initialize the `tempdb` database on the ephemeral storage, which is not available. The deployment fails because SQL Server is installed during the deployment of the Azure VM, and the ephemeral storage isn't available. Likewise, manually installed instances of SQL Server fail to come online after the VM is restarted because the ephemeral storage isn't available when SQL Server tries to create the `tempdb` database.
70+
The RAW local SSD volume causes the SQL VM deployment to fail, and prevents manually installed SQL Server instances from coming online after the VM is restarted. In both cases, SQL Server is trying to initialize the `tempdb` database on the ephemeral storage, which is not available. The deployment fails because SQL Server is installed during the deployment of the Azure VM, and the ephemeral storage isn't available. Likewise, manually installed instances of SQL Server fail to come online after the VM is restarted because the ephemeral storage isn't available when SQL Server tries to create the `tempdb` database.
7171

7272
## Resolution
7373

7474
This issue occurs because of the selected Azure VM size. To solve the issue, use one of the following methods:
7575

7676
- 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).
77-
- 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 the `FXmdsv2` as the latter has uninitialized ephemeral storage - as indicated by the `d` in the name.
77+
- 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 the `FXmdsv2`. The latter has uninitialized ephemeral storage, as indicated by the `d` in the name.
7878
- If you can't use another VM SKU without a RAW local SSD, then 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. **You must reinitialize the disk before starting SQL Server every time the VM is restarted, or deallocated.**
7979

8080
> [!NOTE]

0 commit comments

Comments
 (0)