Red Hat OpenStack: Changed Block Tracking and Snapshot Consistency Across Volumes

KB ID: 4946
Last Modified: 2026-12-01
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.

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 explains the options available during backup to address the following Red Hat OpenStack limitations:

  • No native Changed Block Tracking (CBT)
    Cinder cannot report which blocks changed since the last backup. Without CBT, each backup reads every disk in full, calculates the checksums, and transfers the difference as an increment to the backup repository.
  • No simultaneous snapshots across volumes
    Cinder snapshots each volume in a separate, asynchronous API call. The snapshot API has no freeze or quiesce option. If the guest keeps writing between the snapshots, the volumes may not match each other.

Solution

Consider the following options, which can be combined. For example, SSH credentials add CBT, and scripts freeze Linux file systems during the snapshots.

OptionCBTConsistency across volumesRequires
Option 1: SSH Credentials at the CBT StepYesSnapshots of all volumes are triggered synchronously. The guest is not frozen.SSH access to the Nova host
Option 2: Guest Processing on WindowsNoYes. The backup is consistent across disks.AAIP credentials
Option 3: Scripts on LinuxNoYes, for the data file systems that the scripts freeze.AAIP credentials
None of the aboveNo. Each backup reads every disk in full.No. Each volume is crash-consistent on its own.Nothing
Swipe to show more of the table
Flowchart showing how SSH access to the Nova host and guest credentials determine the backup consistency level

Option 1: SSH Credentials at the CBT Step

Specify SSH credentials at the CBT step of the Edit Red Hat OpenStack Environment wizard if your security policy allows it.

SSH Credentials

Credentials for SSH access to the Nova host. When specified, Changed Block Tracking is used and snapshots of all volumes are triggered synchronously.

Without them, changed blocks are found by comparing checksums, as described in the Purpose section.

Store Snapshot Data In

Path on the local file system of the Nova host where snapshot data is stored.

Option 2: Guest Processing on Windows

Specify credentials for application-aware image processing (AAIP) in the backup job. Veeam Backup & Replication uploads runtime components to the guest and quiesces it through VSS. The backup is consistent across disks.

Option 3: Scripts on Linux

Why Scripts Are Needed

On Linux, application-aware processing does not freeze the file system. It only prepares supported databases, such as Oracle and PostgreSQL, and runs user scripts. This is by design and applies to all platforms. A hypervisor-native quiesce is not requested either, so the guest is not quiesced twice.

The backup session may still report an application-consistent snapshot. In testing, a restored LVM RAID 1 mirror across two Cinder volumes had mismatched mirror legs. With scripts freezing the file systems, there were none.

Step 1: Create the Pre-Freeze Script

The script runs sync, then fsfreeze -f for each data mount point.

#!/bin/bash
# Flush pending writes, then freeze each data file system.
# Add one line per data mount point. Do not freeze /.
sync
fsfreeze -f /mnt/data
Step 2: Create the Post-Thaw Script

The script runs fsfreeze -u for each mount point frozen in step 1.

#!/bin/bash
# Thaw each file system frozen by pre-freeze.sh.
fsfreeze -u /mnt/data

Replace /mnt/data with the mount points in the guest.

Step 3: Add the Scripts to the Backup Job

Specify both scripts in the guest processing settings of the backup job.

Do not freeze the root file system (/). The script session writes there.
Root File System

The scripts leave the root file system unfrozen. This includes /etc, /usr, /home, /opt and /var unless they are separate partitions. It also includes application data there, such as /var/lib/mysql.

This is usually fine. The root file system normally sits on one boot volume, and a snapshot of one Cinder volume is atomic. The result is crash-consistent, like after a power loss. Journaling file systems generally handle this.

Cases That Scripts Cannot Fix
  • The root volume group spans several Cinder volumes, for example after vgextend. Snapshots taken one volume at a time can leave it inconsistent, like the RAID 1 mirror above.
  • An application spans volumes, for example a database on the root file system with its WAL or logs on a data volume. Only the data volume is frozen, so the two do not match.

More Information

Recommendations

  • Specify SSH credentials at the CBT step if your security policy allows it.
  • For VMs with more than one volume, use guest processing on Windows and the scripts on Linux.
  • Do not extend the root volume group across several Cinder volumes.
  • Keep the data, WAL and logs of each application on file systems that the scripts freeze.

If this KB article did not resolve your issue or you need further assistance with Veeam software, please create a Veeam Support Case.

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

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.
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.