?
Solved

VHD timestamp not updating

Posted on 2011-10-06
8
Medium Priority
?
1,117 Views
Last Modified: 2013-11-08
We are running MS Virtual Server 2005 R2 (not Hyper-V) with a couple of VMs that have been running for 6 months.

The timestamp on the vhd files haven't changed. Undo disks are turned off.

We are concerned that means all the changes are in memory somewhere and we may lose data if there is a power or hardware failure.

These 2 VMs have vhd set to have 30GB and they are nearly full.

We also have another 2 VMs which have been running a couple of months but disk usage isn't close to the 30GB yet.
These 2 VMs vhd file timestamp do update.

So the question  is it because the vhd file isn't being expanded and only the internal data is changed that the timestamp is not being updated?

I can't believe 6 months worth of changes could be cached in memory! So if it isn't written to the vhd or a undo disk file, where is the data going?
0
Comment
Question by:CurvyReality
  • 5
  • 3
8 Comments
 
LVL 124
ID: 36927198
You do not have any AVHD present?
0
 

Author Comment

by:CurvyReality
ID: 36927273
No AVHD present. I believe AVHD is a Hyper-V thing? We are only using VS2005 on Win2003Server.
0
 
LVL 124
ID: 36927382
An AVHD file is the snapshot file.
0
Windows Server 2016: All you need to know

Learn about Hyper-V features that increase functionality and usability of Microsoft Windows Server 2016. Also, throughout this eBook, you’ll find some basic PowerShell examples that will help you leverage the scripts in your environments!

 

Author Comment

by:CurvyReality
ID: 36927401
I'm pretty sure VS2005 R2 doesn't have AVHD files. To clarify we are not running Hyper-V
0
 
LVL 124
ID: 36927734
What type of hard disk have you created?
0
 
LVL 124
ID: 36927854
I've just checked an old VS2005 R2 installation, and the VHD timestamp appears to be the original creation date it does not change - if fixed disk, only if you make modifications to the VHD does the timestamp change.

The data is being written inside the VHD file.

Hence, my question as to what time of VHD have you created fixed disk or Dynamic Expanded.
0
 

Author Comment

by:CurvyReality
ID: 36927903
It's a dynamic expanded. The timestamps that don't change the disk has already expanded to near max size. The ones that do change only change when the disk gets expanded.

But if the file is being modified inside, even if The file size of the VHD file dosnt change, surely the file is modified? And therefore timestamp should change?
0
 
LVL 124

Accepted Solution

by:
Andrew Hancock (VMware vExpert / EE MVE^2) earned 2000 total points
ID: 36927923
No, because the file is at max. Data is being written inside the container file.

Virtual Server does not have to touch the main VHD, only if it expands.

If it's fixed size, it never changes the time stamp.
0

Featured Post

[Webinar] Cloud and Mobile-First Strategy

Maybe you’ve fully adopted the cloud since the beginning. Or maybe you started with on-prem resources but are pursuing a “cloud and mobile first” strategy. Getting to that end state has its challenges. Discover how to build out a 100% cloud and mobile IT strategy in this webinar.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

As the most of you know, Hyper-V does not support usb redirection. But with some relative easy steps we can redirect our usb disk to a Hyper-V virtual machine. First on your Hyper-V Server host open Server Manager and select Disk Management …
Introduction There are many ways to achieving a goal - some are wrong, some are right - and some just appear to be right, but are wrong.  Hyper-V Clustering and VMM has taught me all three, and I'm here to share with you how to avoid the pitfalls…
This lesson discusses how to use a Mainform + Subforms in Microsoft Access to find and enter data for payments on orders. The sample data comes from a custom shop that builds and sells movable storage structures that are delivered to your property. …
When cloud platforms entered the scene, users and companies jumped on board to take advantage of the many benefits, like the ability to work and connect with company information from various locations. What many didn't foresee was the increased risk…
Suggested Courses
Course of the Month14 days, 21 hours left to enroll

839 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question