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: support/sql/azure-sql/sql-deployment-fails-drive-not-ready.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
@@ -46,7 +46,7 @@ You might see this issue after following this sequence of events:
46
46
47
47
If you encounter this issue, you might see the following error in the SQL Server error log:
48
48
49
-
```
49
+
```output
50
50
CREATE FILE encountered operating system error 3(The system cannot find the path specified.)
51
51
while attempting to open or create the physical file 'D:\SQLTemp\tempdb.mdf'.
52
52
Error: 17204, Severity: 16, State: 1. FCB::Open failed: Could not open
@@ -67,14 +67,14 @@ tempdb files could not be initialized.
67
67
68
68
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.
69
69
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.
71
71
72
72
## Resolution
73
73
74
74
This issue occurs because of the selected Azure VM size. To solve the issue, use one of the following methods:
75
75
76
76
- 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.
78
78
- 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.**
0 commit comments