Atlassian uses cookies to improve your browsing experience, perform analytics and research, and conduct advertising. Accept all cookies to indicate that you agree to our use of cookies on your device.
Atlassian cookies and tracking notice, (opens new window)
Atlassian uses cookies to improve your browsing experience, perform analytics and research, and conduct advertising. Accept all cookies to indicate that you agree to our use of cookies on your device. Atlassian cookies and tracking notice, (opens new window)
🔍 Discover Our Product Documentation

Intronis Backup
Results will update as you type.
  • Intronis Backup Release Notes
  • Initial Seed/Restore Drive for IBU
  • Getting Started with Intronis Backup (ECHOplatform)
  • Managing Intronis Backup (IBU)
    • Intronis Backup Agent
    • Managing IBU Branding
    • Using the Home Dashboard
    • Managing Multi-Factor Authentication
    • Managing Accounts
    • Manage Accounts/Packages
    • Managing Account Billing
    • Managing Partner Pricing
    • Viewing Reports and Logs
    • Managing Alert, Notification and Preference Templates
    • Software User Interface
    • Managing Backups and Restores
      • Exporting a Computer Account's Backup Selection
      • About Deleting Backup Data vs. Removing Backup Sets
      • Files and Folders
      • Hyper-V
      • VMware
        • VMware Standard vs QuickSpin
        • VMware Standard
        • VMware QuickSpin
        • Troubleshooting VMware
        • Referenced Articles
          • Adding a New ESXi or vCenter Server
          • Changing Server Credentials
          • Enabling the UUID Attribute for VMware Backups
          • Enabling TLS 1.0 in vSphere 6.5
          • Resetting Changed Block Tracking (CBT)
          • Self-signed Certificates
      • Exchange
      • Imaging
      • System State
      • SQL
    • Intronis Backup Reference Articles
    • Managing Legacy IBU Integrations
    • Barracuda REST APIs for the Echoplatform Portal
    • Barracuda REST APIs for IBU
    • IBU Best Practices
  • Contacting Partner Support
  • Troubleshooting Volume Shadow Copy Problems
  • Allocating Shadow Copy Storage Space
  • VSS Error Message: Snapshots were found, but they were outside of your allowed context
  • The VSS Writer Is in a Bad State
  • Fixing Problems with Volume Shadow Copy
  • Creating a VSS Shadow Copy Independently

    You‘re viewing this with anonymous access, so some content might be blocked.
    /
    Resetting Changed Block Tracking (CBT)
    Published Dec 21, 2020

    Resetting Changed Block Tracking (CBT)

    Dec 21, 2020
    Subscribe

    A VMware backup receives warnings similar to the following:


    Unable to use Changed Block Tracking (CBT) on ___. Attempting to disable and re-enabled CBT.



    Could not re-enable Changed Block Tracking (CBT) on ___. Any thin disks on this VM will be backed up as thick disks.


    Explanation


    The Backup Agent uses VMware's Changed Block Tracking (CBT) driver to determine which parts of a virtual machine's virtual hard disks to back up. If the Backup Agent is unable to read the changed blocks from the driver, it will try to re-enabled the CBT driver to reset tracking. If this cannot be done, you will receive the error noted above and all virtual hard disks will be backed up as thick disks.

    Intronis does not accept responsibility for any changes you make to your VMware environment. If following these steps does not resolve problems with CBT, we recommend you contact VMware support for assistance. 

    Resolution


    Manually Resetting CBT

    If the Backup Agent is unable to reset CBT during the backup, it will likely necessitate you reset CBT manually while the virtual machine is offline. The procedure for doing this is as follows (as adapted from this VMware article):

    1. Open the vSphere client.

    2. Right-click the virtual machine you want to reset CBT for and click Power Off.

    3. Right-click the virtual machine again, go to Snapshot and click on Snapshot Manager.... If you see any active snapshots, consolidate them before moving on to the next step.

    4. Right-click the virtual machine and click on Edit Settings...

    5. Click the Options tab, go to the General section, then click on the Configuration Parameters button.

    6. Disable CBT for the virtual machine by setting the ctkEnabled value to false.

    7. Disable CBT for individual virtual disks attached to the virtual machine by setting the scsix:x.ctkEnabled value for each attached virtual disk to false. In scsix:x.ctkEnabled, the first x represents the SCSI controller ID and the second x represents the SCSI device ID of each virtual disk.

    8. Open the virtual machine's working directory using the Datastore Browser or ESXi shell. For help locating the working directory, see this resource.

    9. Make sure there are no snapshot files (.delta.vmdk) present in the virtual machine's working directory. If you see any, follow the directions here to remove them.

    10. Delete any -CTK.VMDK files in the virtual machine's working directory.

    11. Right-click the virtual machine and choose Power On.
      The Backup Agent tries to re-enable CBT the next time a backup runs. This process is usually successful after manually resetting CBT, but if you'd like to re-enable it yourself, you can do so with these instructions.

    Resetting CBT With PowerCLI

    These instructions are adapted from this VMware article. The PowerCLI script for resetting CBT for a specific virtual machine is:

    $vm="VM_Name"

    $vmtest = Get-vm $vm| get-view
    $vmConfigSpec = New-Object VMware.Vim.VirtualMachineConfigSpec

    #disable ctk
    $vmConfigSpec.changeTrackingEnabled = $false
    $vmtest.reconfigVM($vmConfigSpec)
    $snap=New-Snapshot $vm -Name "Disable CBT"
    $snap | Remove-Snapshot -confirm:$false

    # enable ctk
    $vmConfigSpec.changeTrackingEnabled = $true
    $vmtest.reconfigVM($vmConfigSpec)
    $snap=New-Snapshot $vm -Name "Enable CBT"
    $snap | Remove-Snapshot -confirm:$false

    To reset CBT on multiple virtual machines, use the script and directions found here.


    We value your feedback.
    If you have questions, suggestions, or feedback on our documentation, contact the Campus Product Documentation team.
    For general product inquiries or technical support, please contact the global Barracuda Support team.

    {"serverDuration": 12, "requestCorrelationId": "f7575264447c463788909c6d3d93267d"}