Knowledge Base

The VMware Knowledge Base provides support solutions, error messages and troubleshooting guides
 
Search the VMware Knowledge Base (KB)   View by Article ID
 

The vSphere Client Plugin for VDR is unable to connect to the VDR appliance (2017470)

Symptoms

  • The vSphere Client Plugin for VMware Data Recovery (VDR) is no longer able to connect to the VDR appliance
  • The dedupe store has an unsupported size, for example, more than 500 GB for CIFS and 1 TB for VMDK
  • The integrity check fails
  • Under Warnings and Errors in VDR Reports, you see the error:

    Task terminated unexpectedly, possibly due to a power failure or system crash.
  • In the /var/log/messages log, you see entries similar to:

    Apr 1 18:09:26 localhost kernel: Total swap = 1052248kB
    Apr 1 18:09:26 localhost kernel: Free swap: 0kB
    Apr 1 18:09:26 localhost kernel: Out of memory: Killed process 26868 (datarecovery).

Cause

This issue occurs because the preconfigured VDR swap size of 1GB is not sufficient under certain circumstances.

Resolution

To resolve this issue, you must increase the VDR swap size.

To increase the swap size:

  1. Connect to the VDR appliance using SSH.
  2. Run this command to verify the current swap size:

    free -m

    You see an output similar to:



    You can see that the swap size is 1027 MB.

  3. Run this command:

    df -h

    You see an output similar to:



  4. Ensure that the first line Mounted on / has at least 2 GB free space. In this example, the free space is 2.5 GB.

    If the free space is less than 2 GB, you may have to use a second VMDK.

  5. Run these commands:

    mkdir /opt/vmware/swap
    dd if=/dev/zero of=/opt/vmware/swap/swap.file bs=1G count=1
    mkswap /opt/vmware/swap/swap.file
    chmod 0600 /opt/vmware/swap/swap.file
    swapon /opt/vmware/swap/swap.file
    echo -e "/opt/vmware/swap/swap.file\tswap\t\tswap\tdefaults\t0 0" >>/etc/fstab
    mount -a

  6. Run this command and verify that the swap space is increased from 1 GB to 2 GB:

    free -m

    You see an output similar to:



    You can see that the swap space is increased from 1 GB to 2 GB.

Note: Ensure that the disk has sufficient free space. VDR comes preconfigured with a 5 GB VMDK and uses 1 GB for swap space. If the / partition (root partition) does not have sufficient space, you may have to attach a second VMDK to the appliance. The second VMDK is then used as swap space. To know if this is applicable to your environment, contact VMware Support.

Request a Product Feature

To request a new product feature or to provide feedback on a VMware product, please visit the Request a Product Feature page.

Feedback

  • 0 Ratings

Did this article help you?
This article resolved my issue.
This article did not resolve my issue.
This article helped but additional information was required to resolve my issue.
What can we do to improve this information? (4000 or fewer characters)
  • 0 Ratings
Actions
KB: