Hi Carlos Gonzalez
Regarding your query about the failure while deploying a SQL Server 2022 VM on Windows Server 2022 you have received the below error.
"code": "Ext_StorageConfigurationSettings_ApplyNewTempDbSettingsError", "message": "Error: 'System Drive returned status not ready for use
It was the known issue that mentioned in the below documentation
Reference: https://free.blessedness.top/en-us/troubleshoot/sql/azure-sql/sql-deployment-fails-drive-not-ready
This issue occurs due to how certain newer Azure VM sizes handle ephemeral (temporary) storage. Some VM types include a local SSD (usually the D: drive) that is not initialized when the VM is first created. During deployment, SQL Server tries to place its temporary database (tempdb) on this drive, but since the drive isn’t ready yet, the installation fails.
You might also face this issue later if SQL Server is installed manually on such a VM and configured to use the local SSD for tempdb — in that case, SQL Server fails to start after the VM is restarted or deallocated, because the drive becomes unavailable or shows as RAW (unformatted).
To resolve this:
Use a different VM size that doesn’t include uninitialized ephemeral storage (avoid VM sizes with a lowercase d in their name, such as FXmdsv2).
For example, use FXmsv2 instead.
If you must use the same VM size, deploy a Windows Server-only image, initialize and format the local NVMe drive manually, and then install SQL Server yourself.
Keep in mind: you’ll need to reinitialize the disk each time the VM is restarted or deallocated.
Hope this helps! Please let me know if you have any queries.
If it is helpful. Could you please accept answer and upvote it. If you have any queries, please let me know in comments