8 Replies Latest reply on Mar 2, 2015 12:30 PM by racom

    Neither snapshot manager nor "vim-cmd vmsvc/snapshot.get" see snapshots

    racom Enthusiast

      We run one VM with 4 virtual disks on reserved ESXi 5.5 server. After the VDP backup job failed I've found snapshot files *-0000xx-delta.vmdk as well as corresponding *.vmsd file. There were no snapshot entries in the Snapshot Manager so I tried to consolidate snapshots following http://kb.vmware.com/kb/1002310

      But it looks like ESXi host doesn't know about snapshots:

       

      ~ # vim-cmd vmsvc/getallvms

      Vmid    Name                                File                               Guest OS           Version   Annotation

      2      VMname  [datastore] VMname/VMname.vmx   oracleLinux64Guest   vmx-10

      ~ # vim-cmd vmsvc/snapshot.get 2

      Get Snapshot:

      ~ #

       

      If I try to create a new snapshot it failed almost immediately but new *-0000x+1-delta.vmdk files are created and no error message is in vmware.log.

       

      ~ # vim-cmd vmsvc/snapshot.create 2 test test_snapshot 0 0

      Create Snapshot:

      Create snapshot failed

       

      If I include memory to snapshot creating it runs quite a long time but failed the same way but I can see "SnapshotVMXTakeSnapshotComplete: Done with snapshot 'test': 325" in the end of vmware.log. In hostd.log I can see some warnings:

       

      2015-02-26T16:43:02.369Z [FFE40B70 info 'Vmsvc.vm:/vmfs/volumes/53a84235-a1905d30-5fe4-ecf4bbc24bf0/VMname/VMname.vmx'] Snapshot tree refresh ignored because storage is not accessible.

      2015-02-26T16:43:02.371Z [FFE40B70 warning 'Vmsvc.vm:/vmfs/volumes/53a84235-a1905d30-5fe4-ecf4bbc24bf0/VMname/VMname.vmx'] PopulateCache failed: _diskAccess : true, _storageAccessible : false

      2015-02-26T16:43:02.371Z [FFE40B70 warning 'Vmsvc.vm:/vmfs/volumes/53a84235-a1905d30-5fe4-ecf4bbc24bf0/VMname/VMname.vmx'] PopulateCache failed: _diskAccess : true, _storageAccessible : false

      ...  dtto ...

      2015-02-26T16:43:02.381Z [FFE40B70 verbose 'Vmsvc.vm:/vmfs/volumes/53a84235-a1905d30-5fe4-ecf4bbc24bf0/VMname/VMname.vmx'] Time to gather config: 11 (msecs)

      2015-02-26T16:43:02.381Z [FFE40B70 warning 'Vmsvc.vm:/vmfs/volumes/53a84235-a1905d30-5fe4-ecf4bbc24bf0/VMname/VMname.vmx'] UpdateStorageAccessibilityStatusInt: The datastore 53a183b5-4367b267-c93d-180373fa1be8 is not accessible

      2015-02-26T16:43:02.381Z [FFE40B70 verbose 'Vmsvc.vm:/vmfs/volumes/53a84235-a1905d30-5fe4-ecf4bbc24bf0/VMname/VMname.vmx'] CfgUpdate refresh all core files.

      2015-02-26T16:43:02.381Z [FFE40B70 warning 'Vmsvc.vm:/vmfs/volumes/53a84235-a1905d30-5fe4-ecf4bbc24bf0/VMname/VMname.vmx'] CannotRetrieveCorefiles: VM storage is inaccessible.

      2015-02-26T16:43:02.382Z [FFE40B70 verbose 'Vmsvc.vm:/vmfs/volumes/53a84235-a1905d30-5fe4-ecf4bbc24bf0/VMname/VMname.vmx'] Time to gather snapshot file layout: 0 (msecs)

      2015-02-26T16:43:02.382Z [FFE40B70 warning 'Vmsvc.vm:/vmfs/volumes/53a84235-a1905d30-5fe4-ecf4bbc24bf0/VMname/VMname.vmx'] CannotRetrieveCorefiles: VM storage is inaccessible.

      2015-02-26T16:43:02.382Z [FFE40B70 warning 'Vmsvc.vm:/vmfs/volumes/53a84235-a1905d30-5fe4-ecf4bbc24bf0/VMname/VMname.vmx'] Snapshot create succeeded, but UID 325 not in list.

      2015-02-26T16:43:02.382Z [FFE40B70 warning 'Vmsvc.vm:/vmfs/volumes/53a84235-a1905d30-5fe4-ecf4bbc24bf0/VMname/VMname.vmx'] Failed operation

      2015-02-26T16:43:02.383Z [FFE40B70 info 'Vmsvc.vm:/vmfs/volumes/53a84235-a1905d30-5fe4-ecf4bbc24bf0/VMname/VMname.vmx'] State Transition (VM_STATE_CREATE_SNAPSHOT -> VM_STATE_ON)

       

      Datastore couldn't be unaccessible I was runnig commnad in it and was able to list it. I'm can't reboot VM nor host in the nearest future. Any idea how to commit snapshots, please?