As of May 31, 2023, we have updated our Code of Conduct.

Questions tagged [vhd]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0 votes
0 answers
137 views

Cant create a checkpoint when using Shared Disks (VHDS) in Hyper-V

after adding a shared disk to a VM in Hyper-V, the checkpoints for that VM stop working. When I try, I get the following error: I'm adding the shared disk in VHDS format. Im using Windows Server 2019,...
Alberto Medina's user avatar
1 vote
1 answer
908 views

How to determine disk image file format: VMDK, VHD or raw file format?

Is there any shell command using which I can determine the format of a disk image file? I want to check that disk image file is in which of these formats: vmdk, vhd of raw file.
Abhay Gupta's user avatar
0 votes
0 answers
644 views

Cannot mount Win10 virtual disk (VHD) with no volumes - DISKPART fail

I'm attempting to mount a Windows Image Backup .vhdx file and give it a drive letter so that I can retrieve a file or two out of the backup. It has worked fine in the past, but now I cannot make it ...
Jimbo1987's user avatar
0 votes
1 answer
450 views

How to convert Linux ISO into VHD für Azure

I have a Custom ISO inside a Blob Storage-Account and want to convert this file into a VHD to create a Azure-VM. Is there a official tutorial for it? Google is not a big help.
Gill-Bates's user avatar
0 votes
1 answer
43 views

Azure uploaded VHD storage

I'll preface this with being very new to Azure and I'm tying to learn as I go along here. With Azure, I've uploaded a vhd image to a storage account, made an image out of that (which shows as a link ...
pbrunnen's user avatar
  • 121
-1 votes
1 answer
369 views

Why the VHD file for OS Disk of a virtual machine is not in Azure Blob container

I tested with creating a resource group, a storage account (Standard and Premium in seperate tests) and a Ubuntu VM, and then used Microsoft Azure Storage Explorer to locate the VHD file. From various ...
user3290431's user avatar
1 vote
0 answers
635 views

Dead Citrix XenServer with LVM: How to get the VHDs off the system?

My company recently delegated the task of recovering a fairly old (~2015) Citrix Xenserver to me. The machine had a major electrical fault which caused a hard drive failure and a collapse of the RAID. ...
user2190489's user avatar
0 votes
0 answers
167 views

Bitlocked VHDX and VM import

I have a Windows VM with two drives: OS(C) and DATA(D). The DATA drive is encrypted with bitlocker. Upon restarting the VM, Windows would ask me to "unlock the DATA drive" prompting for the key. I ...
resle's user avatar
  • 189
2 votes
1 answer
1k views

Creating an Azure VM from VHD failed "is not a valid resource reference"

I am trying to deploy virtual smart zone to Azure via Terraform, but could not succeed many times. Also I read the article existing here. Could you please give me an advice and fix it? Thank you so ...
tien's user avatar
  • 65
0 votes
2 answers
760 views

How to create VHD file fixed size of window 2003 server

I am trying to create a VHD file fixed size of window 2003 R2 server. As Hyper V role and Azure CLI is not supported i am not able to create it. Though Disk2VD creates VHD file but it is dynamic. Can ...
Govind Gupta's user avatar
2 votes
1 answer
209 views

Creating VHD using Microsoft's Systernals Disk2VHD program of production box

I created a VHD file of our small production server (hosting internal web pages for the company). I'd like to set up the VHD up as a dev server so that it'll be a mirror of the production system and I ...
HPWD's user avatar
  • 127
1 vote
1 answer
5k views

VM deployement error in Azure

I was getting error while deploying a Windows VM in Azure. This VM image was created from a custom VHD. Error: Provisioning failed. OS provisioning for VM did not finish in the allotted time. The VM ...
Rauf's user avatar
  • 249
3 votes
0 answers
268 views

How to mount windows "downloads" folder on a vhdx file

I'd like to know how I can mount a vhdx image as %userprofile%\Downloads folder in windows 10. When I use the 'disk management' tool it doesn't let me click 'ok' when I've selected the 'downloads' ...
DDS's user avatar
  • 145
2 votes
1 answer
4k views

failed to create the virtual hard disk hyper-v

I have 4 hyper-v servers running windows server 2012 R2 that they are in a cluster. I want to create a new virtual machine but i get an error that "failed to create the virtual hard disk",right after ...
t.khatibi's user avatar
0 votes
1 answer
604 views

Azure - Disk Snapshots accumulating and costing. Where do they come from?

I have a storage container in Azure (Premium, LRS, General Purpose v1) which has about 7 disks , 1023 GiB each. Upon reviewing the subscription costs breakdown, half of the cost of this account is ...
Jon's user avatar
  • 35
0 votes
0 answers
122 views

Deploying vhd from blob to Azure

We have some troubles in migrating VM(Linux) from local HyperV on Win 10 to Azure Cloud. We got a linux vhd - deploy it on HyperV - then save as static and upload to blob storade in Azure. Based on ...
Konstantin B.'s user avatar
0 votes
2 answers
4k views

Azure: How to attach data-disks on VM startup, formatting if necessary

I want to provision an Azure VM with Terraform and configure it by using a custom AMI created by Packer. I want an attached, snapshotted, managed data-disk. I want to use Oracle Linux 7.4 What is ...
Feenaboccles's user avatar
2 votes
1 answer
1k views

Compact a VHD on a linux host

On a Linux host (Linux Mint 18), how can I compact a VHD file ? So far my search always returns solutions with Hyper-V or situations with a Linux guest on a Windows host, but have the inverse: a ...
P_W999's user avatar
  • 281
1 vote
1 answer
1k views

0xC03A001B error while trying to compact VHD

What can be the reason of such error? I tried to compact both via DISKPART and Optimize-Vhd commandlet. Via DISKPART I get following error: DISKPART> compact vdisk DiskPart has encountered an ...
Suncatcher's user avatar
0 votes
2 answers
5k views

VMWare ESXI 6.5 VM cannot boot with second HDD

I have a 6.5 VM running off a local datastore, no network involved except for the web UI, no vCenter, dead simple. With a single Virtual disk, all is fine. If I want a second virtual disk (another ....
fishkake's user avatar
4 votes
2 answers
949 views

How does Windows write cache work with mounted VHDs?

Suppose I have a VHD residing on Disk A mounted on a Windows Server 2016. If I turn write caching on for Disk A and the VHD, do I have double write caching? If yes, is this recommended? If it is ...
RJ-'s user avatar
  • 151
8 votes
2 answers
18k views

Export VM from Hyper-v as OVF

Using Windows Server 2008 R2 and Hyper-V. I'm migrating all our VMs from Hyper-V to VMWare, and in order to facilitate this I've been asked by our IT support to provide them with the VM in .ovf ...
TheOrdinaryGeek's user avatar
3 votes
2 answers
107 views

Hyper-V 2012 R2 Shared Storage non shared temporary drive

So, we have a production system with two Windows Server 2012 R2 Standard Servers with a shared storage SAS dual domain backplane between them. If you're unfamiliar with that, it basically lets both ...
Andrew Hendrix's user avatar
2 votes
1 answer
5k views

How to inject a file into a Linux VM running on Hyper-V?

I am trying to create a CentOS image template and my environment requires me to add a route file to the networking which would be different on each deployment. Is there any way for me to inject a ...
Bilbo Bongo's user avatar
2 votes
1 answer
532 views

Windows server backup ulitity - cannot restore data

Seems to be a common problem with Windows Server Backup Utility. This is a Server 2008 Standard box. We had a backup that was performed about a year ago that we need to restore. I was able to pull ...
jdids's user avatar
  • 121
1 vote
1 answer
2k views

Migrate Windows 7 guest VM to Generation 2?

Yes, I know that officially Hyper-V Gen 2 VMs don't support Windows 7, but maybe there is some workaround or fix? Had anybody such experience? I created new Gen 2 VM, converted my Win7 VHD to VHDx ...
Suncatcher's user avatar
0 votes
2 answers
182 views

Why are there multiple .vhd files in my Azure blob storage

I have some virtual machines in the Azure cloud, and I've just found that there are several .vhd files (all 127GB) on one of my premium storage accounts. I don't ever recall creating these by snap-...
5lovak's user avatar
  • 432
2 votes
1 answer
760 views

Error creating a Linux image/VM for upload to Azure due to incorrect correct size

I saw a similar thread on this, but doing the exact steps in that thread, does not work for me. I want to upload a Linux image (which is qcow2) after converting to VHD image, to Azure. I converted ...
Anjali's user avatar
  • 21
4 votes
1 answer
313 views

Backing up VHD Sets

I've recently created a guest fileserver cluster using VHD Sets. Everything is working fine except i can't do backup on the fileservers. Windows VSS tells me it cannot create snapshots of VMs with ...
Rikuto's user avatar
  • 183
0 votes
1 answer
672 views

Where is my VHD being used in Azure VM?

I am running a VM using Azure and the VM uses a default OS Disk (30 GB), mounted on /dev/sda1. I can also see another /dev/sdb1 which I came to know is a temp disk (130 GB) auto-provided by VM. The ...
AAgg's user avatar
  • 321
1 vote
0 answers
367 views

How to mount VHD file with bootable linux USB

I have a Xenserver which the primary drive has failed to the point it won't boot. However, my RAID containing the SRs is fine. I can boot with gparted USB stick and mount the RAID LVM and see the ....
Ryan Griggs's user avatar
0 votes
0 answers
107 views

How to troubleshoot Azure with custom Debian VHD; error message "provisioning failed"?

I have built a customised Debian (Jessie/8) VHD which I am trying to get running on Azure. According to my research (and the MS docs I've read) it meets the Azure Linux VHD requirements. I have tried ...
Jeremy Davis's user avatar
0 votes
3 answers
3k views

Migrate an Azure VM's data disk from Premium storage account to Standard

I have an Ubuntu VM with a separate mounted data disk on a Premium storage account. The data disk is very large and as a result it is costing me more than I would like. I've tried copying the VHD ...
joelmdev's user avatar
  • 111
2 votes
1 answer
1k views

Create a new VHD and mount it without DiskManagement window popup with Powershell

How can I create and mount a new VHDX volume without a drive letter assigned? On some servers I get the behaviour described below, on others it works like it should. So there must be a system setting ...
alex.enjoy's user avatar
-1 votes
1 answer
2k views

Mounted VHD gives access denied during file copy

I want to copy files from VM to another. I'm running windows 2008 on the VM Manager. Both machines are Server 2012. I tuned them both off. Mounted the VHDs to the manger pc. I can see the both files ...
wlraider70's user avatar
0 votes
1 answer
155 views

NTFS VHD in Ubuntu for Small Office File-share

I am planning a switch away from MS Volume Licensing to save us about $450 per year per person. I have time to test and setup XEN on a clean local server and planning an Ubuntu VM for the file share ...
Steve Seeger's user avatar
0 votes
0 answers
95 views

Created VHD on USB drive, in use by SYSTEM, and can't attach/dismount in Disk Management

Currently using Server 2008 R2, and I attempted to create and attach a 1.5 TB VHD on a USB 2.0 drive. I see the VHD file in the drive, but cannot attach it in Disk Management. I keep receiving an ...
toolshed's user avatar
  • 237
3 votes
1 answer
444 views

Create VM on Azure with an existing VHD

I'm trying to create a virtual machine on MS Azure plaftorm, from my existing VHD file. When i'm trying to, I get the following error. Is there any parameter to specify the NIC? Did some research on ...
Rav's user avatar
  • 31
0 votes
0 answers
926 views

1TB .vhd won't copy via Robocopy, access denied error 5

OK, I'm about to drive down to Mexico and bust this server with a hammer. Basically, the RAID 5 array is hosed, so we need to copy everything off it so we can rebuild the array. I have everything ...
Steve Freeman's user avatar
1 vote
1 answer
2k views

Mount VHD as ReadOnly

So I have the following scenario - two servers, one is Web server, another is a Backup server. Both running Windows Server 2012 R2 I have a mapped drive on Web referencing Backup I have a VHD I ...
99823's user avatar
  • 133
-1 votes
2 answers
430 views

VHD with 3 partitions and 3 operating systems. How to split?

Got a guy on the other side of Earth who needs a sole partition off of a vhd so he can do his job. The entire vhd is over 490gb. The 1 partition is about 80. So I want to split the the vhd up into ...
GoodPunk6's user avatar
0 votes
0 answers
74 views

Azure Linux based VM could not start. Internal server error

We have our own Linux based distribution for which we created a .vhd file from .iso using VirtualBox. We uploaded the .vhd to Azure following the instructions given here: https://azure.microsoft.com/...
articuno's user avatar
  • 101
0 votes
1 answer
79 views

Resize Array 0 VHD to smaller size

I have 2 VHDs which are members of a RAID-0 to create a 3 TB volume. We deleted a lot of the data from this RAID and I need to free up some space the VHDs are taking, about 1.5 TB. I tried using the ...
maj's user avatar
  • 5
3 votes
0 answers
1k views

How to dismount a VHD that has been absorbed into a Storage Space

Normally in Windows, you can create a Virtual Hard Disk (VHD), see it in the Disk Management, right-click, and remove it: No problem. Storage Spaces Hides Disks I want to test the resiliency of ...
Ian Boyd's user avatar
  • 5,263
2 votes
1 answer
2k views

XenServer VHD data recovery

I have the exported disk image of a VM from XenCenter in VHD format. I used compress from the settings, if that has any impact. How I can access the files without creating VM? I have the VM settings ...
user715517's user avatar
2 votes
1 answer
7k views

Disk2VHD scheduled backup script

I'm using such simple backup script using Disk2VHD. I would like to change it a little bit so it would check the C disk drive usage and compare it with F drive, so old images would be only removed if ...
Marek Zakrzewski's user avatar
2 votes
2 answers
6k views

How to deploy VHD image to physical disk?

I'm trying to take a VHD containing a generalized Windows install from azure and deploy the image to a physical disk on one of our servers. What's the best way to go about doing this? Can I use ...
Aleks's user avatar
  • 21
1 vote
2 answers
1k views

Does a dynamic VHD automatically add space to its local drives?

OK, this might be a stupid question but I'm new to this. Dealing with Hyper-V server 2008. So let's say I got a dyamic VHD which has a 70gb max when i inspect it in Hyper-V, and then the C: drive of ...
user3038614's user avatar
0 votes
0 answers
786 views

Shrinking and extending disks on Server while running?

So I have a server with Hyper-V and a Drive C: (OS) and D. Drive D stores all of the VHDs that I run. Drive C shows up as Disk 0, and D as Disk 1 under Disk Management respectively. Now Drive D gets ...
user3038614's user avatar
3 votes
1 answer
5k views

Cannot turn off disk write caching on Azure VM with no host cache

I've created Azure VM and attached a data vhd disk with "None" host cache. Next, if I run disk management on Windows and open drive properties, there is Policies tab which shows a checkbox indicating ...
Alexey F's user avatar
  • 169