Red Hat OpenStack: Changed Block Tracking and Snapshot Consistency Across Volumes
| KB ID: | 4946 |
| Last Modified: | 2026-12-01 |
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.
| Option | CBT | Consistency across volumes | Requires |
| Option 1: SSH Credentials at the CBT Step | Yes | Snapshots of all volumes are triggered synchronously. The guest is not frozen. | SSH access to the Nova host |
| Option 2: Guest Processing on Windows | No | Yes. The backup is consistent across disks. | AAIP credentials |
| Option 3: Scripts on Linux | No | Yes, for the data file systems that the scripts freeze. | AAIP credentials |
| None of the above | No. Each backup reads every disk in full. | No. Each volume is crash-consistent on its own. | Nothing |
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.
Step 2: Create the Post-Thaw Script
The script runs fsfreeze -u for each mount point frozen in step 1.
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.
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.