Skip to content

Commit 45833a5

Browse files
Merge pull request #10024 from MicrosoftDocs/KA_Working_Branch
AB#8005: Troubleshooting Ephemeral OS Disks in Azure VMs and Azure Virtual Desktop
2 parents f1feb39 + 02cd7da commit 45833a5

File tree

2 files changed

+90
-0
lines changed

2 files changed

+90
-0
lines changed

support/azure/virtual-desktop/toc.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,5 +35,7 @@ items:
3535
href: ./troubleshoot-session-host-configuration-update.md
3636
- name: Troubleshoot session host virtual machine configuration
3737
href: ./troubleshoot-vm-configuration.md
38+
- name: Troubleshoot ephemeral OS disks
39+
href: ./troubleshoot-ephemeral-os-disks.md
3840
- name: Win key remains held after pressing Ctrl+Win+L in a remote session
3941
href: win-key-remains-held-after-pressing-ctrl-win-l-in-remote-session.md
Lines changed: 88 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,88 @@
1+
---
2+
title: Troubleshoot ephemeral OS disks in Azure Virtual Machines (VMs) and Azure Virtual Desktop (AVD)
3+
description: Resolve deployment failures, data loss, and feature limitations with ephemeral OS disks for Azure Virtual Machines (VMs) and Azure Virtual Desktop (AVD). Get troubleshooting steps and best practices.
4+
ms.topic: troubleshooting
5+
ms.date: 10/23/2025
6+
ms.reviewer: kaushika
7+
audience: itpro
8+
ms.custom:
9+
- sap:Azure Virtual Desktop\Remote Desktop Clients\Redirecting resources via the client
10+
- pcy:wincomm-user-experience
11+
12+
---
13+
# Troubleshoot ephemeral OS disks in Azure Virtual Machines (VMs) and Azure Virtual Desktop (AVD)
14+
15+
## Summary
16+
17+
Ephemeral OS disks (EOSD) are designed for Azure Virtual Machines (VMs) and Azure Virtual Desktop (AVD) session hosts, offering faster provisioning and reduced storage costs. However, users might encounter deployment failures, unexpected data loss, or functional limitations when the stateless design of EOSD and its dependencies on VM size and local storage aren't fully understood. This article helps identify and resolve these issues.
18+
19+
## Symptoms
20+
21+
- Deployment failures occur because of insufficient local storage for the OS image on specific VM sizes.
22+
- Loss of OS-level changes after stopping, deallocating, or reimaging a VM.
23+
- Confusion arises from unsupported EOSD features like snapshots, backups, and encryption.
24+
- Operational delays and increased support cases for AVD and stateless workloads.
25+
26+
## Troubleshooting Guidance
27+
28+
### VM size incompatibility
29+
30+
**Cause**: Some VM sizes don't have enough local cache or temporary disk space to accommodate the OS image, causing deployment failures.
31+
32+
**Solution**:
33+
34+
- Check that the VM size supports EOSD by verifying the local cache or temporary disk size.
35+
- Use the Azure CLI command `EphemeralOSDiskSupported` to confirm compatibility.
36+
- For AVD, ensure the Temp Disk placement is selected during VM creation, as NVMe is not supported in public preview.
37+
38+
### Misunderstanding EOSD persistence
39+
40+
**Cause**: Ephemeral OS disks are designed as stateless disks, which means they don't support persistent features like snapshots, backups, or encryption.
41+
42+
**Solution**: Use managed OS disks for persistent features. If you need features such as backups, snapshots, or encryption, switch to managed OS disks instead of EOSD for your Azure VMs or AVD session hosts.
43+
44+
### Lifecycle mismanagement
45+
46+
**Cause**: Stop and deallocate operations wipe the OS state on EOSD, causing data loss.
47+
48+
**Solution**: Avoid stop and deallocate operations.
49+
50+
- Don't stop or deallocate VMs using EOSD, as this leads to data loss. Instead, design stateless workloads.
51+
- Persist user profiles externally using FSLogix profile containers or Azure Files.
52+
53+
### Incorrect DiffDiskPlacement configuration
54+
55+
**Cause**: Selecting an unsupported placement option, such as NVMe, can cause deployment issues.
56+
57+
**Solution**: Correct DiffDiskPlacement configuration
58+
59+
- For AVD session hosts, ensure the Temp Disk placement is selected during deployment.
60+
- Avoid selecting NVMe placement during public preview to prevent deployment issues.
61+
62+
### Regional SKU rollout gaps
63+
64+
**Cause**: Incomplete rollout of supported SKUs or backend bugs cause regional deployment issues.
65+
66+
**Solution**: Address regional SKU rollout gaps
67+
68+
- Monitor Azure announcements for updates on SKU availability.
69+
- Deploy to another region or select a different SKU if rollout gaps affect your deployment.
70+
71+
### Best practices
72+
- **Validate VM size and placement:** Before deployment, ensure your VM’s local cache or temporary disk can accommodate the OS image size.
73+
- **Design stateless workloads:** Persist user profiles and application data externally using FSLogix profile containers or Azure Files.
74+
- **Avoid stop/deallocate operations:** Use restart or delete/recreate logic for autoscale scenarios to prevent data loss.
75+
- **Communicate limitations upfront:** Inform teams that EOSD doesn't support snapshots, backups, or Azure Disk Encryption.
76+
- **Monitor regional availability:** Check supported SKUs and regions using Azure documentation before deployment.
77+
- **Set up automated configuration:** Use VM extensions or scripts to reapply settings and applications after reimaging.
78+
- **For AVD environments:**
79+
1. Use Temp Disk for ephemeral OS disk placement (NVMe isn't supported in public preview).
80+
1. Persist user profiles with FSLogix profile containers.
81+
1. Store application packages on Azure Files or Azure NetApp Files.
82+
1. Set up autoscale rules to delete and recreate hosts instead of deallocating them.
83+
84+
### More information
85+
86+
For further details, refer to the following resources:
87+
- [Ephemeral OS disks for AVD session hosts](/azure/virtual-desktop/deploy/session-hosts/ephemeral-os-disks)
88+
- [Ephemeral OS disks - Frequently Asked Questions](/azure/virtual-machines/ephemeral-os-disks-faq)

0 commit comments

Comments
 (0)