#1 Global Leader in Data Resilience

Considerations and Limitation - Live Resizing VHDX Disk

KB ID: 2450
Product: Veeam Backup & Replication
Published: 2018-02-26
Last Modified: 2024-06-20
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.

Challenge

After live resizing a VHDX file, the following issue can occur based on the operation that was performed:

  • Shrink — If the VHDX associated with a VM is shrunk, the backup task for that VM will fail, and the following exception will be found in the Agent.<Job name>.Source.<VM name> log file:
    cli| VHDX.GetDiskInformation
    cli|   (EString) DiskPath = vhdx://<shadowSpec><extent path="full path to the disk" shadow="full path to the disk in the shadow copy" isAutoRecovery="False" /></shadowSpec>
    cli|   (EString) Option.Container = {disk}
    cli| - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    vhd| Opening VHDX by full path: [full path to the disk].
    cli| File 'HostFile{full path to the disk in the shadow copy}' opened (read_only: true, no_cache: false)
    dsk| Loading VHDX log.
    dsk| Loading VHDX log. Failed.
    cli| File 'HostFile{full path to the disk in the shadow copy}' closed
    cli| ERR |Failed to process method {VHDX.GetDiskInformation}
    cli| >>  |VHDX file was truncated. Current file size: [1503242747904]. Flushed file size: [1825365295104].
    cli| >>  |Failed to replay VHDX log.
    cli| >>  |--tr:Failed to load VHDX log.
    cli| >>  |An exception was thrown from thread [6440].
    cli| Trying to poll message from the notification channel (from server side).
    net| Triggering AUX channel synchronization. Request id: {guid}
    net| Received synchronization response {guid}
    cli| No server exception available.
    cli| ERR |Failed to process {Invoke} command
    cli| >>  |Details:
    cli| >>  |VHDX file was truncated. Current file size: [1503242747904]. Flushed file size: [1825365295104].
    cli| >>  |Failed to replay VHDX log.
    cli| >>  |--tr:Failed to load VHDX log.
    cli| >>  |Agent failed to process method {VHDX.GetDiskInformation}.
    
  • Expand — If the VHDX associated with a VM is expanded, the backup job for that VM may become inconsistent.

Cause

These issues occur because the live resize of a VHDX does not automatically flush metadata.

Solution

Consider the following when performing live VHDX resizing:

  • Shrinking — After shrinking a disk associated with a VM that is protected by Veeam Backup & Replication, the VM must be power cycled (not a reboot, but a full shutdown and power on).
  • Expanding — After expanding a disk associated with a VM that is protected by Veeam Backup & Replication, an Active Full for that individual VM must be run.
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.