#1 Global Leader in Data Resilience

XFS Volume Restore Fails to Mount

KB ID: 4608
Product: Veeam Kasten for Kubernetes
Published: 2024-06-13
Last Modified: 2024-06-13
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

Description: XFS kernel module remembers the old UUID and refuses to mount

Cloning an XFS volume and mounting the filesystem of the cloned volume on the same node as the source volume will throw a “duplicate UUID” error or similar errors.  The cloning of the volume reflects everything from the source at the point of time of the snapshot, which also includes the UUID of the partitions within the volume.  The UUID is the unique identifier pointing to the partition, and hence it is not unique anymore with the cloned volume on the host.

This is generally not an issue when the cloned volume is attached to a different host than that of the source volume.

Error: Filesystem has duplicate UUID - can't mount

For EXT4 filesystems, even though /var/log/messages shows an error about the device appearing twice with different sysfs paths, it doesn’t throw the error when mounting the filesystem from the cloned volume.

Solution

The UUID of the partition should be changed before it is mounted.  The commands vary based on the filesystem type (EXT4 vs XFS) but the idea is to change the UUID of the partition and mount.  Run xfs_repair first on the partition, followed by xfs_admin to generate a new UUID.

More Information

An alternate solution is to mount the XFS volume using the nouuid mount option. While this will likely work around the issue, it is not always recommended.
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.