Search the VMware Knowledge Base (KB)
View by Article ID

Disabling Hardware Accelerated Move (XCOPY) in ESXi (2146567)

  • 3 Ratings
Language Editions

Purpose

ESXi hardware acceleration supports the following array operations:

  • Atomic Test & Set (ATS), which is used during creation and locking of files on the VMFS volume
  • Clone Blocks/Full Copy/XCOPY, which is used to copy or migrate data within the same physical array
  • Zero Blocks/Write Same, which is used to zero-out disk regions.

    Full copy, also called clone blocks or XCOPY. Enables the storage arrays to make full copies of data within the array without having the host read and write the data. This operation reduces the time and network load when cloning virtual machines, provisioning from a template, or migrating with vMotion.

    The fundamental operations are controlled by these advanced settings:
    • HardwareAcceleratedLocking
    • HardwareAcceleratedMove
    • HardwareAcceleratedInit
     
    This article explains how to disable HardwareAcceleratedMove (XCOPY) in ESXi

    Resolution

    • To disable Hardware Accelerated move a.k.a. use the following ESXCLI command:


      esxcli system settings advanced set --int-value 0 --option /DataMover/HardwareAcceleratedMove

      Note: This option is effective immediately and does not need any reboot or mount/unmount of volumes.

    • To disable hardware accelerated move using the vSphere Web Client, follow the below procedure :

      1. Browse to the host in the vSphere Web Client navigator.
      2. Click the Configure tab.
      3. Under System, click Advanced System Settings.
      4. Change the value for DataMover.HardwareAcceleratedMove to 0 (disabled):


      Note: This option is effective immediately and does not need any reboot or mount/unmount of volumes.
     

    Additional Information

    This is a list of commonly used SCSI opcodes related to VAAI operations:
     
    0x93
    WRITE SAME(16)
    0x41 
    WRITE SAME(10)
    0x42 
    UNMAP
    0x89
    SCSI COMPARE and WRITE - ATS
    0x83 
     EXTENDED COPY
     
    Occasionally, failures during VAAI operations would be logged in the /var/log/vmkernel.log file as shown in this example:
     
    Cmd(0x41248092e240) 0x42, CmdSN 0x13bb23 to dev "naa.xxxxxxxx" failed H:0x0 D:0x2

    See Also

    Language Editions

    zh_cn,2147852

    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

    • 3 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)




    Please enter the Captcha code before clicking Submit.
    • 3 Ratings
    Actions
    KB: