vSphere

Virtual Machine reverted back in time after DS … |VMware Communities


Hi,

 

I am experiencing an issue for the second time now, so I wanted to ask help. I use ESXi for a couple of VMs, version 6.7.0 Update 3 (Build 15018017). After I move a VM to a different datastore (from a VMFS5 datastore to a VMFS6 datastore), it somehow uses a disk of months ago – like the past X months weren’t stored properly.

 

What I did to migrate:

  1. Shutdown the VM
  2. Make sure there are no snapshots – and delete snapshots if any
  3. Unregister the VM
  4. Use the datastore browser to move the entire VM directory to the second datastore
  5. After completion, register the VM
  6. Power-on the VM

 

After going through this process, it shows the latest files within the VM from april 2019, while there were changes every day after that. But those… just disappeared?

 

The VMX contents:

 

.encoding = “UTF-8”

config.version = “8”

virtualHW.version = “13”

vmci0.present = “TRUE”

floppy0.present = “FALSE”

numvcpus = “2”

memSize = “16384”

bios.bootRetry.delay = “10”

tools.upgrade.policy = “manual”

sched.cpu.units = “mhz”

vm.createDate = “1556720757032586”

usb.present = “TRUE”

ehci.present = “TRUE”

scsi0.virtualDev = “lsisas1068”

scsi0.present = “TRUE”

sata0.present = “TRUE”

sata0:0.startConnected = “FALSE”

sata0:0.allowGuestConnectionControl = “FALSE”

sata0:0.deviceType = “cdrom-raw”

sata0:0.clientDevice = “TRUE”

sata0:0.fileName = “emptyBackingString”

sata0:0.present = “TRUE”

ethernet0.virtualDev = “e1000e”

ethernet0.networkName = “llc-ams01-cust-net1”

ethernet0.addressType = “static”

ethernet0.address = “00:0c:29:2c:f2:f3”

ethernet0.wakeOnPcktRcv = “FALSE”

ethernet0.present = “TRUE”

displayName = “llc-ams01-cust-vmname”

guestOS = “windows9srv-64”

toolScripts.afterPowerOn = “TRUE”

toolScripts.afterResume = “TRUE”

toolScripts.beforeSuspend = “TRUE”

toolScripts.beforePowerOff = “TRUE”

tools.syncTime = “FALSE”

uuid.bios = “56 4d b4 10 93 51 a9 5a-c0 26 e5 53 fa 05 66 c6”

uuid.location = “56 4d 97 05 db f8 07 1a-49 f5 1e 90 ea 28 99 74”

vc.uuid = “52 88 5e f4 99 50 64 cf-da b9 85 ae 6d 39 e9 26”

sched.cpu.min = “0”

sched.cpu.shares = “high”

sched.mem.min = “0”

sched.mem.minSize = “0”

sched.mem.shares = “high”

sched.cpu.affinity = “all”

vmci0.id = “-100309306”

cleanShutdown = “FALSE”

extendedConfigFile = “llc-ams01-cust-vmname.vmxf”

scsi0:0.deviceType = “scsi-hardDisk”

scsi0:0.fileName = “llc-ams01-cust-vmname.vmdk”

sched.scsi0:0.shares = “normal”

sched.scsi0:0.throughputCap = “off”

scsi0:0.present = “TRUE”

disk.EnableUUID = “TRUE”

featMask.vm.hv.capable = “Min:1”

tools.guest.desktop.autolock = “FALSE”

nvram = “llc-ams01-cust-vmname.nvram”

pciBridge0.present = “TRUE”

svga.present = “TRUE”

pciBridge4.present = “TRUE”

pciBridge4.virtualDev = “pcieRootPort”

pciBridge4.functions = “8”

pciBridge5.present = “TRUE”

pciBridge5.virtualDev = “pcieRootPort”

pciBridge5.functions = “8”

pciBridge6.present = “TRUE”

pciBridge6.virtualDev = “pcieRootPort”

pciBridge6.functions = “8”

pciBridge7.present = “TRUE”

pciBridge7.virtualDev = “pcieRootPort”

pciBridge7.functions = “8”

hpet0.present = “TRUE”

RemoteDisplay.maxConnections = “-1”

cpuid.coresPerSocket = “2”

sched.cpu.latencySensitivity = “normal”

numa.autosize.vcpu.maxPerVirtualNode = “2”

numa.autosize.cookie = “20001”

pciBridge0.pciSlotNumber = “17”

pciBridge4.pciSlotNumber = “21”

pciBridge5.pciSlotNumber = “22”

pciBridge6.pciSlotNumber = “23”

pciBridge7.pciSlotNumber = “24”

scsi0.pciSlotNumber = “160”

usb.pciSlotNumber = “32”

ethernet0.pciSlotNumber = “192”

ehci.pciSlotNumber = “33”

vmci0.pciSlotNumber = “34”

sata0.pciSlotNumber = “35”

scsi0.sasWWID = “50 05 05 60 93 51 a9 50”

monitor.phys_bits_used = “43”

vmotion.checkpointFBSize = “4194304”

vmotion.checkpointSVGAPrimarySize = “4194304”

softPowerOff = “FALSE”

usb:1.speed = “2”

usb:1.present = “TRUE”

usb:1.deviceType = “hub”

usb:1.port = “1”

usb:1.parent = “-1”

toolsInstallManager.lastInstallError = “0”

svga.guestBackedPrimaryAware = “TRUE”

tools.remindInstall = “FALSE”

toolsInstallManager.updateCounter = “10”

ethernet0.checkMACAddress = “FALSE”

vm.genid = “-3427782277700550669”

vm.genidX = “-3089548162795944296”

nakivo.uuid = “754944da-a301-4175-b169-ace492abc3ba”

sched.swap.derivedName = “/vmfs/volumes/5d189dec-b1f98545-32a2-801844f26f5a/llc-ams01-cust-vmname/llc-ams01-cust-vmname-aa2c8000.vswp”

migrate.hostLog = “./LLC-RDP-VMNAME-AMS01-5efdd000.hlog”

scsi0:0.redo = “”

usb:0.present = “TRUE”

usb:0.deviceType = “hid”

usb:0.port = “0”

usb:0.parent = “-1”

 

And the contents of the VM directory:

 

[root@ams01vh01:~] ls -lah /vmfs/volumes/HDD/llc-ams01-cust-vmname/

total 620513600

drwxr-xr-x    1 root     root       76.0K Jan  3 12:43 .

drwxr-xr-t    1 root     root       76.0K Dec 29 12:26 ..

-rw——-    1 root     root      129.7G Dec 28 21:09 llc-ams01-cust-vmname-000001-delta.vmdk

-rw——-    1 root     root         378 Dec 28 21:15 llc-ams01-cust-vmname-000001.vmdk

-rw——-    1 root     root       44.8G Dec 28 21:15 llc-ams01-cust-vmname-000002-delta.vmdk

-rw——-    1 root     root         331 Dec 28 22:03 llc-ams01-cust-vmname-000002.vmdk

-rw——-    1 root     root       24.0G Dec 28 21:18 llc-ams01-cust-vmname-000003-delta.vmdk

-rw——-    1 root     root         331 Dec 28 22:03 llc-ams01-cust-vmname-000003.vmdk

-rw——-    1 root     root       30.6G Dec 28 21:22 llc-ams01-cust-vmname-000004-delta.vmdk

-rw——-    1 root     root         331 Dec 28 22:03 llc-ams01-cust-vmname-000004.vmdk

-rw——-    1 root     root       16.0G Jan  3 12:41 llc-ams01-cust-vmname-aa2c8000.vswp

-rw——-    1 root     root          13 Dec 28 22:03 llc-ams01-cust-vmname-aux.xml

-rw——-    1 root     root      350.0G Jan  3 13:44 llc-ams01-cust-vmname-flat.vmdk

-rw——-    1 root     root        8.5K Jan  3 12:44 llc-ams01-cust-vmname.nvram

-rw——-    1 root     root         543 Jan  3 12:43 llc-ams01-cust-vmname.vmdk

-rw——-    1 root     root          77 Dec 28 22:03 llc-ams01-cust-vmname.vmsd

-rw——-    1 root     root        3.5K Jan  3 12:41 llc-ams01-cust-vmname.vmx

-rw——-    1 root     root           0 Jan  3 12:41 llc-ams01-cust-vmname.vmx.lck

-rw——-    1 root     root        3.3K Dec 28 22:03 llc-ams01-cust-vmname.vmxf

-rw——-    1 root     root        3.4K Jan  3 12:41 llc-ams01-cust-vmname.vmx~

-rw——-    1 root     root      972.2K Dec 28 22:03 vmware-10.log

-rw——-    1 root     root      372.6K Dec 28 22:03 vmware-11.log

-rw——-    1 root     root      214.2K Jan  3 12:40 vmware-12.log

-rw——-    1 root     root        1.6M Dec 28 22:03 vmware-7.log

-rw——-    1 root     root      515.1K Dec 28 22:03 vmware-8.log

-rw——-    1 root     root      309.0K Dec 28 22:03 vmware-9.log

-rw——-    1 root     root      346.0K Jan  3 13:20 vmware.log

-rw——-    1 root     root       86.0M Dec 28 22:03 vmx-llc-ams01-cust-vmname-2227188268-2.vswp

-rw——-    1 root     root       82.0M Jan  3 12:41 vmx-llc-ams01-cust-vmname-2855043072-1.vswp



Source link

 

To see the full content, share this page by clicking one of the buttons below

Related Articles

Leave a Reply