Solved

Virtual Server data files modified date not changing

Posted on 2009-07-02
6
1,201 Views
Last Modified: 2013-11-14
   About two weeks ago, one of my SQL servers had to be rebooted.  When it came back up, both drives had lost their .vmdk files(the flat files were still there, but the configuration file was missing).  I was able to get them recreated, but one drive(the one with all the data on it, naturally) had to be moved to a separate datastore, as it was too big to recreate on the one I was using.  So I recreated the vmdk files, copied the file from the second datastore back to where the flat files were and edited the configuration file to point it to the correct flat file.  But the machine still would not boot with that drive attached, so I ended up copying the flat file to the other datastore and running it from there.  Everything seemed well and good after that.

     Two days ago, the server was rebooted again.  When it came back up, everything on the data drive had reverted to the date that I made the change(6/19).  Eventually we figured out that for some reason the server had still been writing to the original file, and when we added it back to the server all the data from the past two weeks was there(I'm still not sure why it booted up with the drive attached this time, but that's a whole other issue).  I went back in today to look at the files on the datastore, and the flat file is still saying it was last modified yesterday(when we got it back up and running).

    So the question is, are we going to lose everything up until yesterday the next time this server gets rebooted, or is it normal for the modified date on the flat file not to change?  And does anyone have any idea why it was writing to the old file(I did change the settings on the VM to point the drive to the location on the new datastore).

Thanks!
0
Comment
Question by:ericb76
  • 3
  • 2
6 Comments
 
LVL 13

Expert Comment

by:bleeuwen
ID: 24766198
Strange story, never heard it before. Maybe you could clone(with esx or vconverter) the machine to a new server. It will create a new virtual with all the right settings and the data it now uses.
0
 
LVL 21

Expert Comment

by:za_mkh
ID: 24766259
You could have configured your VM to use non-persistent disks. So while the server is running, it works but when it is shutdown all settings are lost - ie you revert back to the state it was when you configured your VM to be non-persistent.
Check your VMware Guest's Disk settings to ensure that they are independent/persistent and not  "non-persistent"
0
 

Author Comment

by:ericb76
ID: 24766538
Currently the disks are not set to Independent.  I suppose I'll have to shut down the guest to change that setting, right?
0
Scale it in WD Gold

With up to ten times the workload capacity of desktop drives, WD Gold hard drives employ advanced technology to deliver among the best in reliability, capacity, power efficiency and performance.

 
LVL 21

Accepted Solution

by:
za_mkh earned 500 total points
ID: 24766610
Sorrry, it doesn't need to be independent ... but it does need to be persistent!
Read this link for more info:
http://www.vmware.com/support/gsx3/doc/disks_types_gsx.html
 
0
 

Author Comment

by:ericb76
ID: 24767205
Unless I'm missing something, it looks like the disks do need to be independent before they can be made persistent or non don't they?
0
 
LVL 21

Expert Comment

by:za_mkh
ID: 24774505
Yes sir. Try that. I just don't have access to my ESX servers to give you absolute confirmation. If you have other VM's check their settings. On Holiday at the moment, and spending time on Experts-exchange (the little woman is not to happy) .. lets just say the brain is slightly frazzled with all this heat!
0

Featured Post

Netscaler Common Configuration How To guides

If you use NetScaler you will want to see these guides. The NetScaler How To Guides show administrators how to get NetScaler up and configured by providing instructions for common scenarios and some not so common ones.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
ESX Server build 12 57
vCenter 6 join Active Directory 6 73
OS drives in an array 3 60
Memory going from 12gb to 64gb or 96gb. worth it? 15 129
HOW TO: Install and Configure VMware vSphere Hypervisor 6.5 (ESXi 6.5), Step by Step Tutorial with screenshots. From Download, Checking Media, to Completed Installation.
In this article, I show you step by step with screenshots to assist you - HOW TO: Deploy and Install the VMware vCenter Server Appliance 6.5 (VCSA 6.5), with some helpful tips along the way.
Teach the user how to use create log bundles for vCenter Server or ESXi hosts Open vSphere Web Client: Generate vCenter Server and ESXi host log bundle:  Open vCenter Server Appliance Web Management interface and generate log bundle: Open vCenter Se…
This Micro Tutorial steps you through the configuration steps to configure your ESXi host Management Network settings and test the management network, ensure the host is recognized by the DNS Server, configure a new password, and the troubleshooting…

911 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

Need Help in Real-Time?

Connect with top rated Experts

22 Experts available now in Live!

Get 1:1 Help Now