"Error Can not write stream data:There is not enough space on the disk (112)" error on physical to virtual conversion
search cancel

"Error Can not write stream data:There is not enough space on the disk (112)" error on physical to virtual conversion

book

Article ID: 343769

calendar_today

Updated On:

Products

VMware

Issue/Introduction

Symptoms:
  • Physical to virtual conversion fails with the error:

    Error Can not write stream data: There is not enough space on the disk (112)

  • The source machine has a larger than 2TB drive.
  • Drives are set to maintain size on the destination virtual machine.
  • In the worker.log file, there are entries similar to:

    2016-12-22T18:36:08.754-05:00 info vmware-converter-worker[00552] [Originator@6876 sub=Default] [Pcopy] Error Error calling CloneTree: There is not enough space on the disk (112)
    2016-12-22T18:36:08.785-05:00 info vmware-converter-worker[03100] [Originator@6876 sub=Default] [Pcopy] Error Can not write stream data: There is not enough space on the disk (112)


    For information on the worker.log location, see Collecting diagnostic information for VMware Converter (1010633).

    Note: This log excerpt is an example. Date, time, and environmental variables may vary depending on your environment.


Environment

VMware vCenter Converter Standalone 5.1.x
VMware vCenter Converter Standalone 6.0.x
VMware vCenter Converter Standalone 5.5.x

Cause

This issue occurs when the cloned drive is close to capacity. During the clone process, space is required for re-configuring the destination virtual machine. By default, there is a 10% buffer on the space required for the destination drive. If there is not enough space available due to maintain size being set for the drives, the conversion can fail.

Resolution

To resolve this issue, edit the minVolumeSizeExtraPercentage in the converter-worker.xml file to lower the percentage reserved.
  1. Open the converter-worker.xml file in a plain text editor.

    For Windows 2003/XP:

    C:\Documents and Settings\All Users\Application Data\VMware\VMware vCenter Converter Standalone\

    For Windows 7/WindowsVista/Windows 2008/Windows 2008 R2:

    C:\ProgramData\VMware\VMware vCenter Converter Standalone\

  2. Search for the minVolumeSizeExtraPercentage and modify the percentage to 0:

    For example:

    <minVolumeSizeExtraPercentage>0</minVolumeSizeExtraPercentage>

  3. Save and close the file.
  4. Restart the VMware vCenter Converter Standalone Worker service on the machine.


Additional Information


Collecting diagnostic information for VMware Converter