An Azure service that is used to provision Windows and Linux virtual machines.
Hi Sunil,
Looks like by clicking No on both the “Configure tempdb data files” and “Manage tempdb database folders on restart” prompts, the SQL IaaS Agent no longer shows the tempdb drive in the storage blade. To get that back you basically need to re-enable the storage configuration for tempdb. Here’s how:
- Verify your SQL IaaS Agent extension is healthy
- In the Azure Portal go to your VM → Extensions + applications → make sure SqlIaaSExtension (a.k.a. SQL IaaS Agent) is in a Provisioning succeeded state.
- If it’s failed or in an error state, delete the extension and re-install it. Docs: • Remove/install IaaS extension (Bash/CLI): https://docs.microsoft.com/azure/azure-sql/virtual-machines/windows/sql-agent-extension-manually-register-single-vm?tabs=bash%2Cazure-cli
- Ensure you’re using a supported Marketplace image with managed Premium SSD disks
- Storage Configuration (including tempdb) only works on SQL Server VMs deployed from Azure Marketplace gallery images with managed Premium SSDs.
- Unmanaged disks or custom images won’t show the Configure/Extend options.
- Make sure your storage pool and volume names are the defaults
- If you’ve customized your Storage Spaces pool or renamed volumes, the portal won’t detect them. Default naming conventions are: • Storage Pools: SQLVMStoragePool1, 2, 3 • Virtual Disks: SQLVMVirtualDisk1, 2, 3 • Volumes: SQLVMDATA1, SQLVMLOG, SQLVMTEMPDB
- Check Disk Management inside the VM and rename the tempdb volume to SQLVMTEMPDB if needed.
- Re-run the Storage Configuration blade
- In the Azure Portal navigate to your SQL virtual machine resource → Storage tab → click Configure at the top.
- You should now see a TempDB card with a Configure button.
- Toggle Configure tempdb data files to Yes, select your settings, and also toggle Manage tempdb database folders on restart to Yes.
- Save and then restart the SQL Server service (or the entire VM) to have the IaaS Agent recreate the tempdb folders and files on that volume.
If you still don’t see the tempdb section, let me know:
• Which marketplace image and SQL version you’re running?
• Your disk types (Premium SSD / Standard HDD / unmanaged)?
• Whether you’ve ever customized the storage pool or renamed volumes?
Reference list:
• Configure Storage for existing VMs (incl. tempdb):
• IaaS Agent extension install/remove:
• Known issues & naming requirements:
Hope that helps get your tempdb drive and Configure button back!