Questions tagged [vhd]

VHD (Virtual Hard Disk) is a file format which represents a virtual hard disk drive (HDD). It may contain what is found on a physical HDD, such as disk partitions and a file system. It is typically used as the hard disk of a virtual machine. VHDs are commonly used by webdevelopers to locally run specific versions of Internet Explorer, but can also be part of entire virtualization solution in Microsoft Virtual Server.

As taken from wikipedia

VHD (Virtual Hard Disk) is a file format which represents a virtual hard disk drive (HDD). It may contain what is found on a physical HDD, such as disk partitions and a file system. It is typically used as the hard disk of a virtual machine. VHDs are commonly used by webdevelopers to locally run specific versions of Internet Explorer, but can also be part of entire virtualization solution in Microsoft Virtual Server.

Since June 2005, Microsoft has made the VHD Image Format Specification available to third parties under the Microsoft Open Specification Promise.

VHDs can be created in, added to and removed from a virtual machine (VM) quickly and easily. VHDs also support various configurations that can allow you to use physical disk space efficiently. The most common virtualization programs that run VHDs are Microsoft Virtual PC and Microsoft Virtual Server.

203 questions
159
votes
10 answers

How do I delete an Azure storage account containing a leased blob?

I was playing with Windows Azure durable virtual machines. In the end, I deleted the virtual machine (successfully) and tried to delete the associated storage account. The request to delete the storage account fails. On the Preview Portal…
Fernando Correia
  • 21,803
  • 13
  • 83
  • 116
51
votes
1 answer

How can I attach a VHDx or VHD file in Linux?

How can I attach a VHDX or VHD file in Linux? I mean attach the virtual hard disk as a block device, and use external tools to read these devices. The filesystem inside is not mountable. I do not need to mount the filesystem, but deal with it as if…
Qin Yuhao
  • 519
  • 1
  • 4
  • 4
35
votes
1 answer

What is the difference in the "Host Cache Preference" settings when adding a disk to an Azure VM?

When adding a VHD data disk to a VM I am asked for a "Host Cache Preference" (None, Read Only, Read/write). Can someone tell me the effect of choosing one over the other? Specifically, I am using a VM as a Build Server so the disks are used for…
Mark
  • 2,926
  • 3
  • 28
  • 31
21
votes
3 answers

Running OS X in Virtual PC in a Windows 7 machine?

Just wondering, has anyone tried to run OS X in a VM environment running in Windows 7? What's the performance like? Any issues in regards to development of iOS software? I have to emphasize this is mostly for software development, I don't mind so…
meds
  • 21,699
  • 37
  • 163
  • 314
16
votes
10 answers

How to run the Microsoft Windows XP VHD, for testing with IE 6.0, with a valid/un-expired date?

I just downloaded the VHD for windows xp: http://www.microsoft.com/download/en/details.aspx?displaylang=en&id=11575 But when I start the virtual pc it says that "the evaluation period for this copy of windows has ended..." I read that for the…
The Light
  • 26,341
  • 62
  • 176
  • 258
12
votes
5 answers

Importing a VHD into Parallels Desktop 6 on the Mac

I've looked everywhere for this but can't find an answer, so: I have a VHD image created for me by a client -- he installed Win7 on a machine and then used a tool from SysInternals to create a VHD which he shared with me and a colleague. I can…
mcmSEA
  • 191
  • 1
  • 1
  • 11
12
votes
3 answers

Programmatically mount a Microsoft Virtual Hard Drive (VHD)

I am trying to mount a Virtual Hard Drive (.VHD) using the Windows 7 API function, but I can't find the relevant function, does one exist? I am programming in C++ using Visual Studio 2010, for information. Thanks in advance ;)
Swatcat
  • 73
  • 6
  • 21
  • 57
12
votes
4 answers

Is there a way to attach the same disk to multiple Azure VMs

I have created a VHD for data and attached it to one Virtual Machine instance. Is there a way to attach that disk again to another VM? I basically want a shared drive for multiple VMs. I see an "attach VHD" option in Server Manager for 2008 R2, but…
Anthony Potts
  • 8,842
  • 8
  • 41
  • 56
10
votes
3 answers

Defrag a virtual hard disk (.vhd)?

Like any other hard disk, virtual hard discs (*.vhd) will suffer from fragmentation. So to keep good performance i guess i have to defrag first the virtual hard disc from within the virtual machine and also the (physical) hard disc the .vhd is…
user4531
  • 2,525
  • 7
  • 30
  • 38
10
votes
1 answer

Cannot capture image of Azure VM

I think the official Azure instructions on how to capture a VM image must be either incorrect or incomplete. I've run a variety of tests myself (detailed below) and more than two dozen people have complained on the page that the instructions don't…
Don Alvarez
  • 2,017
  • 2
  • 12
  • 12
6
votes
3 answers

backup/snapshot a vm image (vhd) in windows azure

I was wondering if anyone had any information on how to backup a vm image that has been uploaded to the cloud. There is an option to revert to the initial state. However, it would be extremely handy if a snapshot could be taken or if the vhd could…
peanut
  • 109
  • 1
  • 2
  • 9
5
votes
3 answers

How do I increase the size of an Azure CloudDrive?

I have an existing Azure CloudDrive that I want to make bigger. The simplist way I can think of is to creating a new drive and copying everything over. I cannot see anyway to just increase the size of the vhd. Is there a way?
woaksie
  • 89
  • 1
  • 3
  • 13
5
votes
1 answer

Mistake in Virtual Hard Disk Image Format Specification?

I want to calculate the end offset of a parent locator in a VHD. Here is a part of the VHD header: Cookie: cxsparse Data offset: 0xffffffffffffffff Table offset: 0x2000 Header version: 0x00010000 Max table entries: 10240 Block size:…
robert
  • 3,539
  • 3
  • 35
  • 56
5
votes
2 answers

Create VM from existing VHD: Preview portal

Does anyone now how to create a VM from an existing VHD in the new azure portal ? I can find lots of info on how to do this in manage.windowsazure.com, but nothing on this functionality in portal.azure.com.
naylormat
  • 53
  • 1
  • 1
  • 5
5
votes
2 answers

Trying to create. initialize, and format VHD disks

Some background: I work in a lab environment and have a number of issues that come through that require VHDs to be created and attached to VMs for stress testing. I have come up with a script that allows the user to make the process as simple as…
Gavin_Talyn
  • 107
  • 1
  • 2
  • 8
1
2 3
13 14