Skip to content

Added UUID collision warning to Backup Restore #849

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Sep 12, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 12 additions & 3 deletions openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6007,6 +6007,8 @@ paths:
on all Linodes for new accounts created after November 5th, 2019. For more information,
see our guide on [Running a Mail Server](/docs/guides/running-a-mail-server/).

**Important**: You must be an unrestricted User in order to add or modify tags on Linodes.

Linodes can be created in a number of ways:

* Using a Linode Public Image distribution or a Private Image you created based on another Linode.
Expand Down Expand Up @@ -6051,9 +6053,6 @@ paths:
* Requires a compatible Image. You can determine compatible Images by checking for `cloud-init` under `capabilities` when using Images List ([GET /images](/docs/api/images/#images-list)).
* Requires a compatible Region. You can determine compatible Regions by checking for `Metadata` under `capabilities` when using Regions List ([GET /regions](/docs/api/regions/#regions-list)).
* This feature is in beta and is currently limited to certain Regions and distributions. Please be aware that this feature may receive breaking updates in the future. This notice will be removed when this feature is out of beta.

**Important**: You must be an unrestricted User in order to add or modify
tags on Linodes.
tags:
- Linode Instances
operationId: createLinodeInstance
Expand Down Expand Up @@ -6644,6 +6643,16 @@ paths:
* Backups may not be restored across Regions.
* Only successfully completed Backups that are not undergoing maintenance can be restored.
* The Linode that the Backup is being restored to must not itself be in the process of creating a Backup.

{{< note type="warning" title="Warning: UUID Collisions">}}
When you restore a backup, the restored disk is assigned the same [UUID](https://en.wikipedia.org/wiki/Universally_unique_identifier) as the original disk. In most cases, this is acceptable and does not cause issues. However, if you attempt to mount both the original disk and the corresponding restore disk at the same time (by assigning them both to devices in your Configuration Profile's **Block Device Assignment**), you will encounter a UUID "collision".

When this happens, the system selects, and mounts, only one of the disks at random. This is due to both disks sharing the same UUID, and your instance *may fail to boot* since it will not be clear which disk is root. If your system does boot, you will not see any immediate indication if you are booted into the restored disk or the original disk, and you will be unable to access both disks at the same time.

To avoid this, we recommend only restoring a backup to the same Compute Instance if you do not intend on mounting them at the same time or are comfortable modifying UUIDs. If you need access to files on both the original disk and the restored disk simultaneously (such as needing to copy files between them), we suggest either restoring the backup to a separate Compute Instance or [creating](/docs/api/linode-instances/#linode-create) a new Compute Instance with the desired `backup_id`.

To learn more about block device assignments and viewing your disks' UUIDs, see our guide on [Configuration Profiles](/docs/products/compute/compute-instances/guides/configuration-profiles/#block-device-assignment).
{{< /note >}}
tags:
- Linode Instances
operationId: restoreBackup
Expand Down