Having to constantly consolidate the disk of the virtual machine?

I'm having a problem whereby several virtual machines on several 5.1 ESXi hosts are requiring a consolidation of virtual machine disk. I perform "snapshot consolidation" and it ends after a few seconds, then next day the configuration problem returns?

There are no snapshots on the affected virtual machines

OS: 2008R2 and 2012

ESXi 5.1 stand alone hosts

Thank you

Brendan

Thanks guys, it was in fact the backup software (CommVault) do not clean a vsa backup attempt failed. Everything is good now...

Tags: VMware

Similar Questions

  • How to make a virtual computer to connect to a CD player with an ISO mounted when you start the virtual machine?

    I am the creation of virtual machines using PowerCLI 5.5 on vSphere 5.0; and while the virtual machine is turned off, I am able to mount an ISO on a CD player and change the boot order to boot from the CD-ROM (for another post).  I have the flag startConnected set to true, but am not having much luck getting the virtual machine to connect to the CDDrive

    $cdObj = $Vm | New-CDDrive - IsoPath $isoPathName - StartConnected: $true

    If ($cdObj - no $null)
    {
    #Power off VM if it is on
    $VmState = $Vm.PowerState

    If ($VmState - eq "Receptor")
    {
    $Vm | Stop-Vm-confirm: $false - ea 0
    }

    $BootHardDiskName = 'disk 1 '.
    $VmView = get - VM $VmName - Server $serverObj.Name | Get-View
    $HardDiskDeviceKey = ($VmView.Config.Hardware.Device |) Where-Object {$_.} DeviceInfo.Label - eq $BootHardDiskName}). Key

    $BootableHardDisk = new-Object - TypeName VMware.Vim.VirtualMachineBootOptionsBootableDiskDevice - property @{'DeviceKey' = $HardDiskDeviceKey}
    $BootableCDRom = new-Object-Type VMware.Vim.VirtualMachineBootOptionsBootableCdromDevice

    #Set for CDRom boot order
    $BootIso = new-Object VMware.Vim .VirtualMachineConfigSpec - property @ {}
    "BootOptions' = New-Object VMware.Vim.VirtualMachineBootOptions - property @ {}
    BootOrder = $BootableCDRom
    }
    }

    #Set VM from the start settings at the start of the first CD and forces the display to update (sometimes delayed)
    $VmView.ReconfigVM_Task ($BootIso) | out-null
    $VmView.UpdateViewData ("Config.BootOptions.BootOrder")

    #Power on VM
    $Vm | Start-VM-confirm: $false - ea - global 0EV: vmOpsError | out-null

    When I start the VM, it does start the ISO.

    If I go to vCenter, the CD is pointing to the ISO file, but the 'Connected' to change settings option is not checked;  I can restart the VM of vCenter and then the VM restarts the ISO, but not in the script.

    I even put code to add a lead time of 5 to 10 seconds; I restart the virtual machine twice in the script and I can't CD to connect to start the virtual computer.

    Appreciate any suggestions.

    Maureen

    Have you tried to do a

    Game-CDDrive - CD $cdObj - connected - confirm: $false

    immediately after the start-VM?

  • Connect physical hard disks to the virtual machine (and leave the data intact)

    Hello

    I'm looking to virtualize a SOHO headless server, that I use mainly for secure file storage.

    Currently, the system runs Linux installed on a small disc and has two drives 1.5 TB, used exclusively for data, in a cluster of ZFS mirroring. (I use the ZFS-fuse Linux-based application).

    I want virtualization for two reasons. One is to make administration easier and safer - avoid having to connect a keyboard and the physical monitor to the box from time to time. The other is that the machine is a bit more powerful to handle the load, and I'm hoping to make it work on other, more challenging tasks.

    Now, there is a catch. These discs are as highly important. I mean the data on them. What I need is to convert the current Linux system to a virtual machine, or re - install Linux on a virtual machine (don't like that), then connect the physical disks to the virtual machine as if they were actually connected.

    I certainly don't want to vmware touches those disks somehow.

    I've read the documentation, but I'm a noob when it comes to server virtualization and system engineering and don't quite understand if this is possible or not. These discs are not a SAN, they are physically connected to the server, I want to install vSphere on. (Of course, I'll log out when I run the setup of vSphere. But I need plug them again later, and they need to be sure that vmware will leave them alone and pass them to the virtual machine transparent.)

    Sigmoid wrote:

    Oh yes, the cluster mirrored ZFS. It is essentially a software RAID type thingie.

    http://en.Wikipedia.org/wiki/ZFS

    A material, or the point of view of virtualization, it appears two hard drives with a single huge partition on each that is not transparent to anyone, except the implementation of ZFS.

    OK, means that you can break the RAID, connect the drives to different host and configure RAID once again, right?

    Let's do it this way

    1. We will need a disc player more for VM, cause on flash, we install ESXi
    2. I will share ZFS :-), all you need to do with that before you install ESXi
    3. make the BACKUP!
    4. Disconnect the data host drives
    5. install ESXi 4.1 U1 free version on flash
    6. Download the site VMware vSphere client
    7. Connect the VM disk to ESXi
    8. customer help create the virtual machine and install the OS on it
    9. stop the virtual machine and esxi
    10. connect DATA drives to the ESXi host
    11. begin to ESXi
    12. See how to add RDM on youtube, after client use, change first hardware VM--> add a new hard disk--> choose Raw Device Mapping--> (physical or virtual) mode--> store it with folder VM - FACT
    13. Start the virtual machine, now your VM should see both drives, with good data course :-)

    I have just made this procedure (add ROW with data in Linux VM) on ubuntu VM, works well

  • I get an error "the disk hard virtual parent is in a saved state. Discard the saved state or stop the virtual machine and try again. "during the installation of XP mode.

    I have Win7 Pro SP1 x 64.  I downloaded WindowsXPMode_en - us.exe (from Microsoft downloads) and run it.  The installation seems to work OK (I've specified a different location for the parent virtual hard disk file).  Then, installation happening and I provide the information requested (name of user and password for the XP Mode), updates Windows and OK to the issue of sharing.  The installation program then reports the following error:

    The disk hard virtual parent is in a saved state.  Discard the saved state or stop the virtual machine and try again.

    I get the error even if I try manually configure XP Mode (use the Setup Wizard).  I downloaded the installer XPMode (3 times) and reinstalled several times, always with the same result.  If it helps, I can't locate anywhere .vsv file.

    Any idea what's going on?

    Original title: XP Mode Setup error

    Hi smithnr10,

     

     

    You must post your question in the TechNet forums because it caters to an audience of it professionals.

    To do this, you must consult the link-

    http://social.technet.Microsoft.com/forums/en-us/w7itprovirt/threads

     

    Hope this helps!

  • When you access the virtual machine, getting the error "encountered an error when you try to use one of its virtual hard disks". Help?

    I received the "low disk space error" on a hard drive of the virtual machine dynamic expanding. I have increased my space of virtual hard disk using "My Computer" > manage > storage > "Disk management" and choose "Attach VHD" then resizing to max available (64 GB), and now I can not start the virtual machine. It gives the error: encountered an error when you try to use one of its virtual hard disks. Help?

    Hi NatalieFoster,

    The question you posted would be better suited in the TechNet Forums. I would recommend posting your query in the TechNet Forums to get help:

    Windows 7 Virtual PC and XP Mode TechNet Forums

  • Get all the virtual disk to a virtual machine in the workflow

    Hello

    because on the VRO/VRA 7.0.1 reconfigure VM doesn't have the broker of life cycle events, I need to retrieve information about the virtual machine to synchronize the new State in the database.

    I can't find the method to get the name of the disk and their id SCSI virtual

    I need something like this:

    Server-1

    "Hard Disk 1' ' SCSI (0:0).

    «Disk 2 "hard" SCSI (0:1) "»

    «Disc 3 "hard" SCSI (0:2) "»

    Server-2

    "Hard Disk 1' ' SCSI (0:0).

    «Disk 2 "hard" SCSI (0:1) "»

    [...]


    Now, I use this simple test script VRO Javascript Workflow:


    machines virtual var = VcPlugin.getAllVirtualMachines ();

    for {(i SMV)

    var vm = vms [i];

    vmInfo (vm);

    var features = vm.config.hardware.device;

    If (features! = null) {}

    for (device in devices) {}

    var label_name =. deviceInfo.label devices [device]

    System.log ("name:" + label_name);

    var summary_name = [peripheral] deviceInfo.summaryl of devices.

    System.log ("summary name:" + summary_name);

    If ([peripheral] devices instanceof VcVirtualBusLogicController | instanceof devices [device] VcVirtualLsiLogicController)

    || device [device] instanceof VcParaVirtualSCSIController | instanceof VcVirtualLsiLogicSASController devices [device]) {}

    scsiControllerKey = devices [peripheral] .key;

    bus devices = [device];

    busNumber devices [device] = .busNumber;

    System.log ("SCSI controller found. (Key: "+ scsiControllerKey +" ' ") ») ;

    System.log ("Bus number:" + busNumber);

    break;

    }

    }

    }

    but print an output like this:

    [...]

    2016-06-06 16:25:48.707] [I] the name tag: Video card

    [2016-06-06 16:25:48.709] [I] name summary: undefined

    [2016-06-06 16:25:48.711] [I] label name: VMCI device

    [2016-06-06 16:25:48.714] [I] name summary: undefined

    [2016-06-06 16:25:48.716] [I] label name controller: SCSI 0

    [2016-06-06 16:25:48.718] [I] name summary: undefined

    [2016-06-06 16:25:48.720] [I] SCSI controller found. (Key: 1000)

    [2016-06-06 16:25:48.722] [I] Bus number: 0

    [...]

    can someone help me?

    Thank you very much

    Sergio

    Hi Sergio,

    Here is an example of code (the input parameter is type virtual machine vm ):

    var devices = vm.config.hardware.device;
    for each (controller in devices) {
      var is_scsi = controller instanceof VcVirtualBusLogicController || controller instanceof VcVirtualLsiLogicController
           || controller instanceof VcParaVirtualSCSIController || controller instanceof VcVirtualLsiLogicSASController;
      if (!is_scsi) {
        continue;
      }
      var controller_label = controller.deviceInfo.label;
      System.log("SCSI controller found: " + controller_label);
      for each (device in devices) {
        if (device.controllerKey == controller.key) {
          var scsi_id = controller.busNumber + ":" + device.unitNumber;
          System.log("    device found:  '" + device.deviceInfo.label + "'  'SCSI (" + scsi_id + ")'");
        }
      }
    }
    

    SCSI ID is a combination of the number of buses of the controller and unit of the device number.

  • Expand or move the virtual machine to another partition / hard disk

    I tried to expand my 90 GB disk but nothing changes, i.e. the virtual machine is still to 60 GB. I have VMware Fusion 6 (Mac/Windows 10) and my VM is monolithic mode. In this true HD, I even 50 GB free and I can't increase the amount again in an attempt to rectify this problem and I can not to decrease either. I thought to change the location of the virtual machine to another partition/hd with more space, but I don't know how. So I need little help to choose and implements one of the solutions below:

    - or regularise space for the new amount

    - or move the virtual machine (vmdk) to an another partition/HD

    - or to convert monolithic mode to 2 GB split

    What is the best solution?

    Thanks in advance

    It's help me;

    Resize a Windows Partition with disk management tool

    When you maximize your virtual hard disk, you must also expand partition of your guest operating system to take advantage of the extra space.

    Fusion resizes the partition of the guest operating system when you resize the virtual hard disk. If you hold the Option key when you click apply to resize the drive, you can manually resize the Windows partition. For Windows 8, Windows 7 and Windows Vista you can use the operating system's disk management tool to resize a partition.

    Prerequisites

    Check that your virtual hard disk is large enough to accept the increase in the size of the partition. See resize a hard disk.

    Procedure

    1 right click on computer and select Manage.

    2. double-click on storage.

    3 double-click disk management.

    4 in the list, right click on the partition to expand and select Extend the Volume.

    5 follow the prompts to resize the partition and click complete and the question of the partition in the disk management pane displays its new size.

    6. close the computer management window

  • Error: "VMware Workstation has suspended this virtual machine because the disk on which the virtual machine is stored is almost full."

    I get this error message:

    VMware Workstation has suspended this virtual machine because the disk on which the virtual machine is stored is almost full. To continue, free 1.3 GB of additional disk space.

    I read up on the subject and found that I have to re size a partition. Anyone know what it could be? I can't find anything that looks like it has something to do with VMware. Does anyone know what size and what file system is it?

    My OS:
    Tumbleweed OpenSUSE x 64

    Thanks in advance

    On more creative, my home and root file systems were not extended to my full disk space :^)

  • Disks of the virtual machine consolidation is necessary - vCenter 5.1 U1 + ESXi 5.1 + VDP 5.8.0

    Hello

    I am facing problem as many other people do, when snapshot is deleted, the delta files are still there and warning message "consolidation of disks of virtual machines is necessary" is shown on the virtual machine.

    It happened only few but try to find the root cause. He arrived only on virtual machine located on ESXi 5.1 build 799733 which is located in the task of the WTP 5.8.0 backup.

    Is this snapshot problem, a bug in the version of ESXi?

    Unable to find the release notes, where this is documented as bug.

    Thank you

    Finally, I found a reason, therefore, for other users... ESXi 5.1 build 799733 has a bug that is resolved in the update 1 and higher and is connected to the suspended snapshots created by POS, that is why are there so many discs of delta.

    ESXi 5.1 Update 1 Release Notes

    • When the slowdown of snapshot fails the redo logs are not consolidated

      • When you try to take a snapshot of the suspension of a virtual machine, if the snapshot operation fails near the end of its realization, recovery logs created as part of the snapshot are not consolidated. Recovery logs can consume a lot of space to store data.
      • This issue is fixed in this version. If the snapshot suspended operation fails, the redo log files are consolidated.
  • vRO presentation: return the total size of the disk of the virtual machine

    Hi guys,.

    I have a catalog item to extend a drive, which is presented to the vRA advanced services and picks up the vRO workflow. For this reason, the default IaaS vRA no between not affecting resource management. So I would limit the end-users to a maximum size of the virtual machine - that is to say, if the size + total size they intended to expand is > to a specific size, then the workflow will report this.

    I wrote the following code to return the total of all the disks that are attached to a machine. Then, it comes to the tab Presentation vRO to fill the discs max value. It works fine when I use the code as a workflow and connect the output. However, vRO presentation does not return a value any. Anyone had similar problems or I made a stupid mistake and missed something?

    var total = 0;

    size var = new Array();

    var features = vm.config.hardware.device;

    var h = 0;

    for (var i in devices) {}

    If (devices [i] instanceof VcVirtualDisk) {}

    size [h +] = [i] devices, .capacityInKB / 1024 / 1024;

    Total += devices [i] .capacityInKB / 1024 / 1024;

    }

    }

    return to the total;




    Thank you

    bradger33

    resolved - used the wrong presentation vRO variable. Had to use rather than answer pre-defined data binding

  • Copy of the data of the disk of the virtual machine on a Local disk is too slow

    We have recently implemented vMware view.   We vSphere 5.5 and 5.2 and made Desktop visualization server.

    We have SAN as HP 3Par and Esxi hosts are HP ProLiant DL380p Gen8

    Now all trying to copy the data from the disk of the virtual machine disk of the local computer are too slow. But if we are writing data from Local disk on the disk of the virtual machine is normal. And copying data between the two virtual machine disk is also fast.

    Thanks in advance for your help

    Dear all,

    Thanks for your help.

    We have analyzed the issue in 360 degrees, and we also examined your entries. Finally, we found the problem. It was that a defective fiber link has been creating the problem.

    We have recently implemented vMware and this flaw in fiber can also happened during this period. That's why we thought it may be because of vmware.

    Thanks again for your help

  • Disk space used by the Virtual Machine

    I'm under VMWare Fusion worm / 3.1.4 on a MacBookPro 2010 with Windows XP Pro installed.  In My Documents, there is a folder called "Virtual Machines".  It has a file in it, "Windows XP Pro 2.vmwarevm".

    The problem is that this file is 121,95 gigabytes!  Nearly half of the size of my hard drive.


    Question 1.  Does this make any sense?

    Question 2.  This file size can be reduced to something reasonable?


    Thank you!


    IdahoBob

    According to the information of the beam support Virtual Machine has 8, not 7, Snapshots.

    Without a support package for now present the only other suggestion is to delete all the snapshots, and then reduce the virtual hard disk of the applet of control panel of VMware Tools in Windows, and then Clean Up drive from the drives Panel in the settings of the Virtual Machine.

  • Cannot open the hard file. One of the disks in this virtual machine is already in use by a virtual machine or a snapshot

    Hi all

    Tried my level best to solve, but still the same problem persists. . Lck tried but as soon close VMware workstation, it disappears. This problem starts when yesterday instead of powering down, suspended. The next resume when it gives captioned error. Tried creating new virtual machine using an existing vmdk file but my mainly all the data disappeared. Now I want to resume the suspended state. Kindly help on the same. Thank you

    OK, we will first focus on the first virtual disk (System) on the D: drive which has enogh of disk space to create a clone.

    The "Windows Server 2003 Enterprise Edition.vmdk" dated from 19/07/13 is probably exactly what we need, and if it has approximately the same size of file than current/changing, then you can replace the one changed with it. Once restored, proceed as follows (with VMware Workstation closed):

    from the command line run:

    cd /d "C:\Program Files (x86)\VMware\VMware Workstation"
    cd /d D:\win2k3
    md Clone
    C:vmware-vdiskmanager.exe -r "Windows Server 2003 Enterprise Edition-000002.vmdk" -t 0 "Clone\Windows Server 2003 Enterprise Edition.vmdk"
    

    Once the cloning done so, create a subfolder "Backup" and move all over existing files (as a backup). Copy the .vmx file and .vmxf the subdirectory "Backup" in the D:\win2k3 folder, then do the same with the file hard cloned since the 'Clone' subdirectory, so that you end up with the following files:

    Windows Server 2003 Enterprise Edition.vmx

    Windows Server 2003 Enterprise Edition.vmxf

    Windows Server 2003 Enterprise Edition.vmdk

    Before you can try to start the virtual machine, you must edit the .vmx file and replace

    scsi0:0. FileName = "Windows Server 2003 Enterprise Edition - 000002.vmdk"

    with

    scsi0:0. FileName = "Windows Server 2003 Enterprise Edition.vmdk"

    Please do the above and report. If you have any questions please ask.

    André

  • Cannot resize the virtual disk, the virtual machine by using a «child» vmdk file

    Release: VMWare workstation 9

    SE host: Windows 7 64-bit

    Screenshots below.

    I want to resize my VM from 50 GB to 100 GB.

    It seems that VMware workstation 9 uses a child for my VM vmdk.  In my case, using its "Windows Server 2008 R2 x 64 - 000001.vmdk" for its virtual disk file.  The correct file should be "Windows Server 2008 R2 x64.vmdk", I think.

    There are currently no snapshots registered for this virtual machine, I see.

    The virtual machine works well as is, but I can't resize the disk without the VMWare gui, saying I should be perform the operation on the parent vmdk file.

    It seems that I do run a snapshot that is not really a snapshot?  How to merge with the older files - Sxx.vmdk to 0000xx - Sxxx.vmdk

    I also tried to use the command line tool to manually resize the vmdk parent, but I get permission "access denied" errors.

    Kind regards

    Matt

    -------------------------------------------

    Parameters of the HARD disk:

    settings.jpg

    Error:

    Error.jpg

    Files:

    Files.jpg

    He no snapshots are displayed in the Manager of snapshot with the check box 'Show AutoProtect snapshots' verified then the snapshot is an orphan and the best way I use normally to fix this if I want the contents of the snapshot of orphan to be among the basic disk is with tab of the virtual machine in VMware Workstation GUI closed I simply delete the .vmsd file and then open the virtual machine tab in the VMware Workstation GUI and cover and immediately remove a snapshot in the Snapshot Manager.  This will force the orphan snapshot to merge with the parent disk.  Then to clean I still remove the .vmsd file and orphans, .vmsn and .vmem file.

    Note: Before the procedure you have a good backup of the virtual machine in case you accidentally mess something up.

  • delete a virtual disk of the virtual machine of broken storage

    I have a virtual disk to a virtual machine on a broken iSCSI storage,

    now I can not remove the disc from the virtual machine.

    ESX 4.1 does not see the now broken iSCSI storage.

    See attach.

    Remove the virtual machine from the inventory and edit VMX manually deleting the reference to this disk. After that, add the machine virtual back again for the inventory.

Maybe you are looking for

  • iCloud transfer?

    I recently got an iPhone 6s, and although I did not open, I can see a few problems ahead in its configuration. I intend to connect the phone to a certain Apple account so that I can share all his apps already purchased. However, I would like to trans

  • Writing math graphically with the TX 1000

    I need to be able to write handwritten mathematics in MS Office applications (or elsewhere).  I thought that I would be able to open PowerPoint and write on slides, but I can't get the TX 1000 to stop the recognition of writing and graphics just reco

  • Issue of burn OSX in USB or DVD

    Hello... I'm down the Mavericks and the area of Yosemite of App Store downloads...Given that we wanted them to a flash drive. To do this, use the app:http://diskmakerx.com/http://mecambioamac.com/Instalacion-limpia-de-OS-x-Yosemite/And I was as follo

  • Change the Webcam

    Currently I have Logitec webcan hung, but buy a monitor that has a built-in webcam. I want to change my setting on Skype to webcam monitor, but do not see where to do that.

  • Satellite 1905-S301: internal WiFi card does not

    I have a Satellite 1905-S301 laptop. I just bought a new Intel Pro/Wireless Mini PCI WiFi card because I discovered that my laptop is WiFi active (I have had it for two years and did not know this).I installed the card, attached to the antenna to it