#1 Global Leader in Data Resilience

How to get disk changed areas from CBT(changed block tracker) in vSphere

KB ID: 2092
Published: 2016-01-29
Last Modified: 2024-10-15
mailbox
Get weekly article updates
By subscribing, you are agreeing to have your personal information managed in accordance with the terms of Veeam's Privacy Notice.
This site is protected by hCaptcha and its Privacy Policy and Terms of Service apply except as noted in our Privacy Policy.

Cheers for trusting us with the spot in your mailbox!

Now you’re less likely to miss what’s been brewing in our knowledge base with this weekly digest

error icon

Oops! Something went wrong.

Please, try again later.

Purpose

This article demonstrates how to pull the changed disk areas in a vSphere environment.

Performing this task is intended as a way to demonstrate how changed block tracking functions for Veeam Backup & Replication jobs.

The most common situation where this article comes into play is when a customer reports that the incremental run for a given VM is creating an increment that is larger than they expected. More information about vSphere VM backup and changed block tracking can be found in the following locations:

Solution

The steps detailed on this page involve the use of the Managed Object Browser, which is considered an advanced investigative technique. Great care should be taken when interacting with the Managed Object Browser.

Part 1: Identify the Managed Object Reference-ID (MORef-ID) of the VM

If the VM is being protected by Veeam Backup & Replication, navigate to the log directory on the Veeam Backup Server (%programdata%\Veeam\Backup). Within that directory, find the folder that is named after the job that the VM is protected by. Within the job folder will be a log named Task.<vmname>.<Ref-ID>.log

  • If the Ref-ID starts with “vm-“ the job is connecting to the vCenter server.
    Exampe: Task.SQL.vm-1337.log
  • If the Ref-ID is just a number, the job is connecting to a standalone host.
    Example: Task.DC01.42.log

Part 2: Find that VM in the Managed Object Browser (MOB)

  1. Open a web browser and navigate to that VM's MOB page.
    Consider the following:
    • If the MORef-ID had the prefix 'vm-' the MOB page will be:
      https://<vc>/mob/?moid=<Ref-ID>

      Example: https://vcsa.domain.tld/mob/?moid=vm-1337
    • If the MORef-ID is only a number, the MOB page will be:
      https://<ESXihost>/mob/?moid=<ref-id>

      Example:  https://esxi1.domain.tld/mob/?moid=42

Part 3: Create a Snapshot and Identify Snapshot

  1. Open a web browser and navigate to that VM's MOB page.
    Consider the following:
    • If the MORef-ID had the prefix 'vm-' the MOB page will be:
      https://<vc>/mob/?moid=<Ref-ID>

      Example: https://vcsa.domain.tld/mob/?moid=vm-1337
    • If the MORef-ID is only a number, the MOB page will be:
      https://<ESXihost>/mob/?moid=<ref-id>

      Example:  https://esxi1.domain.tld/mob/?moid=42
  2. Create a snapshot for the virtual machine, and note that snapshot's ref-id on the MOB page.

Part 4: Query Changed Disk Areas

  1. On the VM's MOB page click the link for QueryChangedDiskAreas.
query
  1. Insert the following parameters:
    • snapshot reference id
    • device key of a virtual disk (typically, the VM's first disk is #2000)
    • start offset (the beginning of the required changed area)
    • change id — use an asterisk [ * ] to query all used space.
invoke
  1. Click Invoke Method and the results will be shown at the bottom in the same window.
  2. The table contains changed disk areas start offsets and lengths.
output
To submit feedback regarding this article, please click this link: Send Article Feedback
To report a typo on this page, highlight the typo with your mouse and press CTRL + Enter.

Spelling error in text

This site is protected by hCaptcha and its Privacy Policy and Terms of Service apply except as noted in our Privacy Policy.
Thank you!

Thank you!

Your feedback has been received and will be reviewed.

Oops! Something went wrong.

Please, try again later.

You have selected too large block!

Please try select less.

KB Feedback/Suggestion

This form is only for KB Feedback/Suggestions, if you need help with the software open a support case

By submitting, you are agreeing to have your personal information managed in accordance with the terms of Veeam's Privacy Notice.
This site is protected by hCaptcha and its Privacy Policy and Terms of Service apply except as noted in our Privacy Policy.
Verify your email to continue your product download
We've sent a verification code to:
  • Incorrect verification code. Please try again.
An email with a verification code was just sent to
Didn't receive the code? Click to resend in sec
Didn't receive the code? Click to resend
Thank you!

Thank you!

Your feedback has been received and will be reviewed.

error icon

Oops! Something went wrong.

Please, try again later.