Skip to content

Commit b481cc7

Browse files
authored
Merge pull request #849 from bbiggerr/uuid-collision
Added UUID collision warning to Backup Restore
2 parents 4a30e46 + a30fff8 commit b481cc7

File tree

1 file changed

+12
-3
lines changed

1 file changed

+12
-3
lines changed

openapi.yaml

Lines changed: 12 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6007,6 +6007,8 @@ paths:
60076007
on all Linodes for new accounts created after November 5th, 2019. For more information,
60086008
see our guide on [Running a Mail Server](/docs/guides/running-a-mail-server/).
60096009

6010+
**Important**: You must be an unrestricted User in order to add or modify tags on Linodes.
6011+
60106012
Linodes can be created in a number of ways:
60116013

60126014
* Using a Linode Public Image distribution or a Private Image you created based on another Linode.
@@ -6051,9 +6053,6 @@ paths:
60516053
* 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)).
60526054
* 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)).
60536055
* 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.
6054-
6055-
**Important**: You must be an unrestricted User in order to add or modify
6056-
tags on Linodes.
60576056
tags:
60586057
- Linode Instances
60596058
operationId: createLinodeInstance
@@ -6644,6 +6643,16 @@ paths:
66446643
* Backups may not be restored across Regions.
66456644
* Only successfully completed Backups that are not undergoing maintenance can be restored.
66466645
* The Linode that the Backup is being restored to must not itself be in the process of creating a Backup.
6646+
6647+
{{< note type="warning" title="Warning: UUID Collisions">}}
6648+
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".
6649+
6650+
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.
6651+
6652+
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`.
6653+
6654+
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).
6655+
{{< /note >}}
66476656
tags:
66486657
- Linode Instances
66496658
operationId: restoreBackup

0 commit comments

Comments
 (0)