Score:0

Add Azure D drive (temporary storage) to a migrated VM

kh flag

Any VM created in Azure is given a D drive; a temporary storage drive attached to the hypervisor; which gives better performance than the data disks as it's closer to the VM's compute resources. This comes at the cost of the contents not being persisted should the VM be deallocated / move to different host.

When you use Azure Migrate to move a VM from a non-Azure solution (e.g. an on-premise vmware solution) into Azure, no such temporary drive is created.

Is there a way to add such a drive to a migrated VM, so we can move the VM's pagefile there, and thus improve the performance of the migrated VM?

ng flag
What VM size are you using? Some of them have no temporary disk
kh flag
Thanks @SamCogan; Many are `Standard B2ms`; which it seems should include a [16GB D drive](https://instances.vantage.sh/azure/vm/b2ms) / does when we create a fresh VM, but doesn't show up on the migrated devices.
kh flag
I'm wrong... It seems `Hide Empty Drives` was enabled on these servers; so I wasn't seeing the drives though they were there (spotted when I went to the computer's disk management to check for the volume and saw it was there & configured). The pagefile wasn't automatically moved to this new drive, so I had to go in and set D drive to System Managed and C back to None.
Score:0
kh flag
  • Per @SamCogan in the comments, check that the VM has a temporary drive.
  • Check whether the drive really is there; i.e. Get-ItemProperty 'HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Advanced' 'HideDrivesWithNoMedia' should return 0.
  • Optionally use PS to check: Get-PSDrive -PSProvider FileSystem | Format-Table Root, Description -AutoSize.
I sit in a Tesla and translated this thread with Ai:

mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.