Enabling Changed Block Tracking (CBT) for VMWare Guests
- This article is for Amanda Enterprise (AE)
SummaryChanged Block Tracking (CBT) is the method VMWare uses to enable snapshots. The VMWare Host tracks all changes in the file blocks of the guest and provides differential snapshots for backup products. To take snapshots of VMWare Guests, Amanda Enterprise requires CBT to be enabled and in a good state. This article covers the Enable/Reset procedure for CBT.
RequirementsTo enable CBT the VMWare Host Server must be on VMWare Hardware Level 7 or higher and running ESXi 4 or newer.
Enabling CBT for a VMWare GuestAmanda Enterprise enables Changed Block Tracking (CBT) during a Check Host on the Backup| What page. During the Check Host, Amanda instructs the VMWare Host to enable CBT on each disk that is found in the vmx file for the selected Guest.
Reset Procedure for CBTIn cases where Changed Block Tracking (CBT) has failed, the following procedure will allow a correct reset of CBT data. Please note, it is critical to follow these steps completely and in the given order.
- Power down the VM
- Disable CBT:
- Open the vSphere Client, select the powered-off virtual machine, and click Editâ?¦ Settings > Options > Advanced/General
- Click the Configuration Parameters button
- Change values to false for the following properties:
scsi#:#.ctkEnabled(one for each virtual disk)
- Save the changes
- Using the snapshot manager in the vSphere Client, delete any snapshots for the VM that start with "zmanda"
- Power on the VM
- Back in ZMC, select the backup entry on the Backup| What page for the VM and click the Check Hosts button at the bottom of the table. This automatically re-enables CBT for the VM.