• Icon: Sub-task Sub-task
    • Resolution: Unresolved
    • Icon: Major Major
    • 2.11.0
    • None
    • Documentation
    • None
    • Quality / Stability / Reliability
    • False
    • Hide

      None

      Show
      None
    • False

      Data Integrity Enhancements in MTV (RHEL 10.1)

      This feature ticket outlines the initiatives to significantly strengthen data integrity and consistency during VM migration within the Migration Toolkit for Virtualization (MTV), leveraging features and code rigor introduced in RHEL 10.1.

      The core philosophy driving these changes is to enhance the migration process to detect and report any potential data issues as fast as possible before handing the VM to the customer.

      1. Filesystem-Level Consistency

      The MTV upgrade to utilize RHEL 10.1 introduces a robust check at the filesystem layer:

      • Pre- and Post-Conversion fsck: We are implementing the execution of fsck (filesystem check) both before the start of the conversion and after its completion. This ensures filesystem-level consistency is validated across the migration boundary.

      2. Enhanced System Error Handling

      A comprehensive review of the codebase was conducted to eliminate previously mistaken assumptions about system call behavior:

      • Mandatory Return Code Checks: All system calls are now strictly configured to check their return codes and error out appropriately upon failure. This removes previous, incorrect logic where some system calls were treated as merely advisory, ensuring greater robustness and reliability against transient system or storage errors.

      3. Internal Diagnostics and Auditing

      While we maintain the assumption that underlying network and storage layers manage their own integrity, we are adding an internal audit mechanism:

      • Blkhash Checksum: We compute a blkhash (a type of checksum) during the disk copying phase. This is primarily an internal diagnostic tool, crucial for our support team to efficiently identify and troubleshoot cases where customers suspect storage corruption during or after migration.

      4. Downtime Minimization (Contextual Features)

      While focused on data integrity, MTV continues to support methods for minimizing the impact of the migration cutover:

      • Warm Migration: We allow warm migrations, which utilize snapshots to migrate underlying disks while the source VM remains operational, significantly reducing final downtime.
      • Storage Offload: The Storage Offload feature (available via Transfer Provider, TP) facilitates highly efficient disk migration by performing the data transfer directly within the storage array itself.

      Documentation Note

      As of the creation of this ticket, dedicated documentation detailing these specific data integrity practices and improvements is not available in the official product guides (e.g., in MTV 2.10 documentation). The output of this work should inform new or updated documentation sections.

              rhn-support-anarnold A Arnold
              rhn-support-anarnold A Arnold
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated: