Windows Vista Forums
Vista Forums Home Join Vista Forums Windows 7 Forum Vista Tutorials Tags
Welcome to Windows Vista Forums. Our forum is dedicated to helping you find solutions with any problems, errors or issues you are experiencing with Windows Vista. The Vista forum also covers news and updates and has an extensive Windows Vista tutorial section that covers a wide range of tips and tricks.

Go Back   Vista Forums > Misc Newsgroups > Virtual PC

Vista - Shrink .vhd when using differencing disks?

Reply
 
Old 12-05-2008   #1 (permalink)
Magnusb


 
 

Shrink .vhd when using differencing disks?

I am currently using differencing disks which works fine but one problem
is that the .vhd files is growing a lot (for example I have one which
has really not much installed on it other than swap file compared to the
base disk and the vhd has grown to 3.4 GB) and I don't see any options
to shrink a differencing vhd disk (only merging is available). Note I am
talking about the "final" differencing file not the parent file.

Any way to shrink the VHD when using differencing disks?

Looks like using differencing disks will not save me much diskspace
(limited because I am using a laptop, however I have got an external
drive so not that much problem anymore. Still nice to save some space so
I don't need to bring the external drive "on the road") in the end.

Probably best option is maybe to use merge and individual vhds not using
differencing disks, at least for my more often used VHDs.

It is still nice to use differential disks when you need to setup a new
environment (instead of having to copy a 10+ GB vdh file).

Another question regarding differencing disks. What happens if you move
the location of the base disk (guess the path to base disk is stored in
the vhd)?


My System SpecsSystem Spec
Old 12-05-2008   #2 (permalink)
Steve Jain [MVP]


 
 

Re: Shrink .vhd when using differencing disks?

On Fri, 5 Dec 2008 14:37:08 +0100, Magnusb <magnusb@xxxxxx> wrote:
Quote:

>I am currently using differencing disks which works fine but one problem
>is that the .vhd files is growing a lot (for example I have one which
>has really not much installed on it other than swap file compared to the
>base disk and the vhd has grown to 3.4 GB) and I don't see any options
>to shrink a differencing vhd disk (only merging is available). Note I am
>talking about the "final" differencing file not the parent file.
>
>Any way to shrink the VHD when using differencing disks?
>
>Looks like using differencing disks will not save me much diskspace
>(limited because I am using a laptop, however I have got an external
>drive so not that much problem anymore. Still nice to save some space so
>I don't need to bring the external drive "on the road") in the end.
>
>Probably best option is maybe to use merge and individual vhds not using
>differencing disks, at least for my more often used VHDs.
>
>It is still nice to use differential disks when you need to setup a new
>environment (instead of having to copy a 10+ GB vdh file).
>
>Another question regarding differencing disks. What happens if you move
>the location of the base disk (guess the path to base disk is stored in
>the vhd)?
No way to shrink differencing disks without merging.

When you move the base, and then try to start the VM, you'll be
prompted for the location of the base image.

--
Cheers,
Steve Jain, Virtual Machine MVP
http://vpc.essjae.com/
My System SpecsSystem Spec
Old 12-12-2008   #3 (permalink)
Magnusb


 
 

Re: Shrink .vhd when using differencing disks?

In article <ofuij49ofs93ee905rsj8kf2e9uh1n61la@xxxxxx>, noreply.-
@-.essjae.com says...
Quote:

> No way to shrink differencing disks without merging.
>
> When you move the base, and then try to start the VM, you'll be
> prompted for the location of the base image.
Thank you Steve,

yeah I was afraid that it was not possible. Maybe it can be done by some
external tools but not heard of any that can do it.



My System SpecsSystem Spec
Reply

Thread Tools


Similar Threads
Thread Forum
Differencing disks and disk space Virtual PC
Portability of guests based on differencing disks?? Virtual PC
virtual server 2005 - deploying multiple vm's from sysprep image using Differencing Disks? Virtual Server
Shrink Volume, Boot Partition - Available shrink space Vista General
Trying to shrink partition - not enough shrink space - should be 6 Vista General


Vista Forums is an independent web site and has not been authorized,
sponsored, or otherwise approved by Microsoft Corporation.
"Windows Vista", the Start Orb, and related materials are trademarks of Microsoft Corp.
© Designer Media Ltd

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46