Updated on 2026-10-26 GMT+08:00

Failed to Attach Disks

Symptom

When multiple cloud disks created from the same backup (of an XFS file system) are attached to the same server, and the server already has several XFS-formatted cloud disks mounted, attempting to mount such a cloud disk using the mount command will fail.

Possible Cause

The superblock of an EVS disk (with XFS file systems) stores a universally unique identifier (UUID) about the file system. If a server has multiple disks (with XFS file systems), multiple identical UUIDs will exist on the server, which can cause the mounting to fail.

Troubleshooting Methods

When attaching an EVS disk, use parameters without UUID control or reallocate a new UUID to ensure that each UUID is unique.

Solution

  1. Log in to the server to which EVS disks failed to be attached.
  2. Resolve the problem in either of the following ways:

    • Use a parameter without UUID when attaching an EVS disk: Run mount -o nouuid /dev/<Device name> /<Mount path>, for example:

      mount -o nouuid /dev/sda6 /mnt/aa

    • Reallocate a new UUID: Run xfs_admin -U generate /dev/<Device name>.

    Because setting a parameter without UUID requires you to execute the command every time, you are advised to reallocate a new UUID.