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 - Differencing disk configuration handling?

Reply
 
Old 09-07-2008   #1 (permalink)
Bo Berglund


 
 

Differencing disk configuration handling?

In addition to my portability question yet unanswered I would like to
ask specifically about the handling of differencing disks:

When a diff didk is created it is about 30-40 kbytes in size. There
seems to be no other additional file concerning the differencing disk.

My question now is how the diff disk is handled if it is moved to
another location and this other location is not on the same drive as
before. Will a guest based on this diff disk be able to start at all?

I have looked in the vmc file of a guest created with the diff disk
and there is no mention in it that the VHD drive is a differencing
disk. So where is this information stored so it can be handled if the
guest is moved?

Or maybe such a guest is not movable at all?

--

Bo Berglund (Sweden)

My System SpecsSystem Spec
Old 09-07-2008   #2 (permalink)
Tim Walsh


 
 

Re: Differencing disk configuration handling?

A diff disk is linked to an original disk, only the differences between the
original are stored in the diff disk. The diff disk needs to be able to
access the linked original disk in order to function. The use of a diff disk
wouldn't be a good idea if your looking to move the VM from machine to
machine on your flash drive, unless the linked file is also brought along on
the flash drive.

You might be better off using a dynamically growing disk, these also start
out small but grow as needed up to your defined limit. You'll need a big
flashdrive to use it.

"Bo Berglund" <boberglund@xxxxxx> wrote in message
news:dr47c45eugdhuhkcsdqtip1da25ihs1jvm@xxxxxx
Quote:

> In addition to my portability question yet unanswered I would like to
> ask specifically about the handling of differencing disks:
>
> When a diff didk is created it is about 30-40 kbytes in size. There
> seems to be no other additional file concerning the differencing disk.
>
> My question now is how the diff disk is handled if it is moved to
> another location and this other location is not on the same drive as
> before. Will a guest based on this diff disk be able to start at all?
>
> I have looked in the vmc file of a guest created with the diff disk
> and there is no mention in it that the VHD drive is a differencing
> disk. So where is this information stored so it can be handled if the
> guest is moved?
>
> Or maybe such a guest is not movable at all?
>
> --
>
> Bo Berglund (Sweden)

My System SpecsSystem Spec
Old 09-07-2008   #3 (permalink)
Bo Berglund


 
 

Re: Differencing disk configuration handling?

On Sun, 7 Sep 2008 08:22:28 -0400, "Tim Walsh" <tmwalsh@xxxxxx>
wrote:
Quote:

>"Bo Berglund" <boberglund@xxxxxx> wrote in message
>news:dr47c45eugdhuhkcsdqtip1da25ihs1jvm@xxxxxx
Quote:

>> In addition to my portability question yet unanswered I would like to
>> ask specifically about the handling of differencing disks:
>>
>> When a diff didk is created it is about 30-40 kbytes in size. There
>> seems to be no other additional file concerning the differencing disk.
>>
>> My question now is how the diff disk is handled if it is moved to
>> another location and this other location is not on the same drive as
>> before. Will a guest based on this diff disk be able to start at all?
>>
>> I have looked in the vmc file of a guest created with the diff disk
>> and there is no mention in it that the VHD drive is a differencing
>> disk. So where is this information stored so it can be handled if the
>> guest is moved?
>>
>> Or maybe such a guest is not movable at all?
>>
Quote:

>A diff disk is linked to an original disk, only the differences between the
>original are stored in the diff disk. The diff disk needs to be able to
>access the linked original disk in order to function. The use of a diff disk
>wouldn't be a good idea if your looking to move the VM from machine to
>machine on your flash drive, unless the linked file is also brought along on
>the flash drive.
>
>You might be better off using a dynamically growing disk, these also start
>out small but grow as needed up to your defined limit. You'll need a big
>flashdrive to use it.
>
The reason I am looking at diff disks is that I am creating a large
number of different test machines with XP-Pro on all of them. Using a
diff disk where the operating system files are the same makes for a
smaller disk footprint for the total exercise....
The system files need not be duplicated on all different guests, only
the different files I am testing will get to the individual diff disk.

I *am* keeping all files for my guests on the same removable drive,
basically I thought of this structure:

\VirtualPC\DiffPC <---- The original XP-SP2 parent disk here
\VirtualPC\DiffPC\XP1 <--- diff disk and vmc file for PC #1
\VirtualPC\DiffPC\XP2 <--- diff disk and vmc file for PC #2
\VirtualPC\DiffPC\XP3 <--- diff disk and vmc file for PC #3
\VirtualPC\DiffPC\XP4 <--- diff disk and vmc file for PC #4
etc

I have looked in the diff disk file with a hex editor directly after
it is created (size 37 kb) and I found that there is stored both a
relative and an absolute path to the parent disk inside.
So I am wondering what will happen if the removable disk with all
these files is plugged into another PC where it will undoubtedly get a
different drive letter than the original?
Will the diff disk use the relative path or fail?


--

Bo Berglund (Sweden)
My System SpecsSystem Spec
Old 09-07-2008   #4 (permalink)
Steve Jain


 
 

Re: Differencing disk configuration handling?

On Sun, 07 Sep 2008 10:48:20 +0200, Bo Berglund <boberglund@xxxxxx>
wrote:
Quote:

>In addition to my portability question yet unanswered I would like to
>ask specifically about the handling of differencing disks:
>
>When a diff didk is created it is about 30-40 kbytes in size. There
>seems to be no other additional file concerning the differencing disk.
>
>My question now is how the diff disk is handled if it is moved to
>another location and this other location is not on the same drive as
>before. Will a guest based on this diff disk be able to start at all?
>
>I have looked in the vmc file of a guest created with the diff disk
>and there is no mention in it that the VHD drive is a differencing
>disk. So where is this information stored so it can be handled if the
>guest is moved?
>
>Or maybe such a guest is not movable at all?
When you start the VM, if the parent VHD can't be found, you will be
prompted for the location of it.

--
Cheers,
Steve Jain, Virtual Machine MVP
http://vpc.essjae.com/
I do not work for Microsoft.
My System SpecsSystem Spec
Old 09-07-2008   #5 (permalink)
Bo Berglund


 
 

Re: Differencing disk configuration handling?

On Sun, 07 Sep 2008 12:23:06 -0700, Steve Jain
<noreply.-@-.essjae.com> wrote:
Quote:

>On Sun, 07 Sep 2008 10:48:20 +0200, Bo Berglund <boberglund@xxxxxx>
>wrote:
>
Quote:

>>My question now is how the diff disk is handled if it is moved to
>>another location and this other location is not on the same drive as
>>before. Will a guest based on this diff disk be able to start at all?
>>
>>I have looked in the vmc file of a guest created with the diff disk
>>and there is no mention in it that the VHD drive is a differencing
>>disk. So where is this information stored so it can be handled if the
>>guest is moved?
>>
Quote:

>When you start the VM, if the parent VHD can't be found, you will be
>prompted for the location of it.
Thanks,
what will happen if there is a parent disk file *both* in the relative
path (one directory above) *and* on the full path (on a different
drive)??
Which path has precedence in this situation?

While setting up the differencing disk machines I did it on my fixed
disk, but then I copied the files over to the removable drive. Then I
started the guest on the removable drive and now I am not sure *which*
parent it will be using.....
This is of course a theoretical question since once the removable
drive is on the other PC there will be no parent drive in the full
path anymore.

--

Bo Berglund (Sweden)
My System SpecsSystem Spec
Reply

Thread Tools


Similar Threads
Thread Forum
differencing VHDs grow in size Virtual PC
Shrink .vhd when using differencing disks? Virtual PC
Differencing disks and disk space Virtual PC
Portability of guests based on differencing disks?? Virtual PC
Why is my differencing disk so big? Virtual PC


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