Page tree
Skip to end of metadata
Go to start of metadata

Product Version: 6.0
Last Modified: 05 Jan 2016

Question

How can I enable CBT manually?

Answer

Changed Block Tracking speeds up incremental backup and replication.
Due to technical limitations, CBT cannot be enabled in Free ESXi automatically.

ESXi 5.1 and earlier

CBT can be enabled manually by editing the VM settings.
To enable CBT in a virtual machine on Free ESXi 5.1 and earlier, follow the steps below:

  1. Power off the virtual machine. 
  2. Right-click the virtual machine and click Edit Settings.
  3. Click the Options tab.
  4. Click General under the Advanced section and then click Configuration Parameters. The Configuration Parameters dialog opens.
  5. Click Add Row.
  6. Add the “ctkEnabled” parameter and then set its value to “true”.
  7. Click Add Row, add “scsi0:0.ctkEnabled”, and set its value to “true”.
    NOTE: The “scsi0:0” parameter in the “scsi0:0.ctkEnabled” value indicates the SCSI device assigned to the hard disk that is added to the virtual machine. Every hard disk added to the virtual machine is given a SCSI device that appears similar to scsi0:0, scsi0:1, or scsi 1:1.  
  8. Power on the virtual machine.

ESXi 5.5

CBT cannot be enabled without removing the VM from Inventory.
To enable CBT in a virtual machine on Free ESXi 5.5, follow the steps below:

  1. Power off the virtual machine.
  2. Right-click the virtual machine and click Remove from Inventory.
  3. Open Datastore Browser and browse the datastore where the virtual machine configuration file <VM name>.vmx is located.
  4. Open the virtual machine folder on the datastore and download the <VM name>.vmx file.
  5. Open the downloaded file using a text editor.
  6. Manually add the ctkEnabled = "true" attribute.
  7. Manually add the scsi0:0.ctkEnabled = “true” attribute.
    NOTE: The “scsi0:0” parameter in the “scsi0:0.ctkEnabled” value indicates the SCSI device assigned to the hard disk that is added to the virtual machine. Every hard disk added to the virtual machine is given a SCSI device that appears similar to scsi0:0, scsi0:1, or scsi 1:1.
  8. Save the modified file.
  9. Upload the modified <VM name>.vmx file back to the datastore.
  10. Right-click the uploaded file and click Add to Inventory. The wizard for adding to inventory opens.
  11. Follow the wizard and complete adding the virtual machine to Inventory.
  12. Power on the virtual machine.

More information on Enabling CBT in VMware VMs can be found in VMware KB 1031873.

 

  • No labels