3 Replies Latest reply on Jan 14, 2014 3:00 AM by a.p.

    Vmware server 2 - Problem with snapshots

    argi6argi Lurker

      Hi,

      I have a problem regarding snapshots in a virtual machine.

      My server has the bellow  identity:

      VMware Infrastructure Web AccessVersion 2.0.0Build 128374

      VMware ServerVersion 2.0.1Build 156745


      The virtual machine has two disks, one 140GB and one 65GB. My problem resides to the first one that included OS files too.

      When I opened the folder of that disk, I found all these:

      VMsnapshot.png

      From a little search I did I found that there are some snapshots in that VM but here:

      FromWithinVMserver.png

      looks like there is no snapshot...

      I tried stopping the machine and by using vmware-vdiskmanager.exe tool to merge all disk files to one (since no snapshots seems to exist) but the result when I used the new file, was a disk more that a year old.

      Is there any way to merge all the old snapshots in order to create one disk file in the end?

       

      Here are some more info:

      file.vmsd content:


      .encoding = "windows-1252"

      snapshot.lastUID = "2"

      snapshot.numSnapshots = "0"

      snapshot.current = "0"

      snapshot0.uid = "2"

      snapshot0.filename = "COMPASS new sharepoint 2010-Snapshot2.vmsn"

      snapshot0.displayName = "VMware Server Undopoint"

      snapshot0.description = "Snapshot Description."

      snapshot0.createTimeHigh = "315877"

      snapshot0.createTimeLow = "-1914644888"

      snapshot0.numDisks = "1"

      snapshot0.disk0.fileName = "COMPASS new sharepoint 2010-000001.vmdk"

      snapshot0.disk0.node = "scsi0:0"

      snapshot0.disk1.fileName = "COMPASS new sharepoint 2010_3.vmdk"

      snapshot0.disk1.node = "scsi0:1"

       

      snapshot.needConsolidate = "TRUE"

       

      snapshot0.type = "1"

       

      file.vmxf content:


      <?xml version="1.0"?>

      <Foundry>

      <VM>

      <VMId type="string">52 0e 7f 58 6d 3e b7 63-e0 64 e0 80 58 2f 38 ad</VMId>

      <ClientMetaData>

      <clientMetaDataAttributes/>

      <HistoryEventList/></ClientMetaData>

      <vmxPathName type="string">COMPASS new sharepoint 2010.vmx</vmxPathName></VM></Foundry>

       

      file.vmx contents:

       

      .encoding = "windows-1252"

      config.version = "8"

      virtualHW.version = "7"

      floppy0.present = "FALSE"

      mks.enable3d = "TRUE"

      pciBridge0.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"

      vmci0.present = "TRUE"

      nvram = "COMPASS new sharepoint 2010.nvram"

      virtualHW.productCompatibility = "hosted"

      ft.secondary0.enabled = "TRUE"

      tools.upgrade.policy = "useGlobal"

      powerType.powerOff = "soft"

      powerType.powerOn = "hard"

      powerType.suspend = "hard"

      powerType.reset = "soft"

       

      displayName = "COMPASS new sharepoint 2010"

      extendedConfigFile = "COMPASS new sharepoint 2010.vmxf"

       

      numvcpus = "2"

      scsi0.present = "TRUE"

      scsi0.sharedBus = "none"

      scsi0.virtualDev = "lsisas1068"

      memsize = "4096"

      scsi0:0.present = "TRUE"

      scsi0:0.fileName = "COMPASS new sharepoint 2010-000002.vmdk"

      scsi0:0.writeThrough = "TRUE"

      ide1:0.present = "FALSE"

      ide1:0.fileName = "F:\Sharepoint\Compass\Windows 2008 server R2-x64_<removed_product_id>.iso"

      ide1:0.deviceType = "cdrom-image"

      ide1:0.allowGuestConnectionControl = "FALSE"

      ethernet0.present = "TRUE"

      ethernet0.allowGuestConnectionControl = "FALSE"

      ethernet0.virtualDev = "e1000"

      ethernet0.features = "1"

      ethernet0.wakeOnPcktRcv = "FALSE"

      ethernet0.networkName = "VMnet3"

      ethernet0.addressType = "generated"

      usb.present = "TRUE"

      ehci.present = "TRUE"

      guestOS = "longhorn-64"

      uuid.location = "56 4d 10 6b c3 c6 13 02-f4 24 f7 02 9f f7 e0 ff"

      uuid.bios = "56 4d 10 6b c3 c6 13 02-f4 24 f7 02 9f f7 e0 ff"

      vc.uuid = "52 6c 4e 1f 8a 99 31 ba-30 28 b7 5f fe 1e 91 45"

       

      ethernet0.generatedAddress = "00:0c:29:f7:e0:ff"

      scsi0:0.redo = ""

      vmotion.checkpointFBSize = "134217728"

      pciBridge0.pciSlotNumber = "17"

      pciBridge4.pciSlotNumber = "21"

      pciBridge5.pciSlotNumber = "22"

      pciBridge6.pciSlotNumber = "23"

      pciBridge7.pciSlotNumber = "24"

      scsi0.pciSlotNumber = "160"

      usb.pciSlotNumber = "32"

      ethernet0.pciSlotNumber = "33"

      ehci.pciSlotNumber = "34"

      vmci0.pciSlotNumber = "35"

      scsi0.sasWWID = "50 05 05 64 a6 b3 ee 50"

      usb:0.present = "TRUE"

      usb:1.present = "TRUE"

      ethernet0.generatedAddressOffset = "0"

      vmci0.id = "-1611144961"

      tools.remindInstall = "TRUE"

      usb:1.deviceType = "hub"

      usb:0.deviceType = "mouse"

       

      tools.syncTime = "FALSE"

      scsi0:1.fileName = "E:\Compass_F\Compass_Backup_Disk.vmdk"

      scsi0:1.mode = "persistent"

      scsi0:1.present = "TRUE"

      scsi0:1.redo = ""

       

      scsi0:1.writeThrough = "TRUE"

       

       

      Thanks in advance,

      Argiris

       

      Message was edited by: a.p. - Removed the Windows product ID from the mapped .iso file name

        • 1. Re: Vmware server 2 - Problem with snapshots
          a.p. Guru
          Community WarriorsvExpertUser Moderators

          Snapshots are used in chains, so if you want to consolidate/merge all snapshots you have to specify the current chain link ("COMPASS new sharepoint 2010-000002.vmdk" according to the .vmx file) as the source for the vmware-vdiksmanager command.

           

          André

          • 2. Re: Vmware server 2 - Problem with snapshots
            argi6argi Lurker

            HI Andre and thanks for your reply but,

            Although the virtual machine works fine and as you said the *-00002.vmdk file should be used as a source, when I tried that, I got a message that this file needs repair and I couldn't continue. So, I tried to mention the *-00001.vmdk file as source, just to see whether if it will continue to the -00002.vmdk file merging. I will get back to you with the result.

            Any other recommendation would be appreciated!

            Regards,

            Argiris

            • 3. Re: Vmware server 2 - Problem with snapshots
              a.p. Guru
              User ModeratorsvExpertCommunity Warriors

              The virtual disk files contain two redundant grain tables, and if one of them doesn't match the other one you will see the "needs repair" error message. What I would recommend is to backup all the VMs files (with the VM powered off) and run the repair for the mentioned virtual disk (see VMware KB: Repairing a virtual disk in Workstation). Using another than the latest .vmdk file in the snapshot chain to merge the virtual disk won't result in a new up-to-date virtual disk.

               

              André