[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Adding a new boot disk while keeping old disk



On 25/11/2024 23:59, tomas@tuxteam.de wrote:
On Mon, Nov 25, 2024 at 10:07:35AM -0500, eben@gmx.us wrote:
I find PARTLABELs to be a lot more human-friendly than UUIDs.

The idea of UUIDs is that they are "unique",
so you can run two OS installs automatically without the disk IDs
colliding. We leave the collision probability of UUIDs as an exercise
for the reader.

I recall a couple of reports on this mailing list when data recovery was necessary due to usage of UUIDs. Snapshots have the same filesystem UUID, so some old version may be accidentally mounted during boot. Do not use them in the case of LVM. Certainly FS labels are affected by the same issue.

Do not take it wrong, in other cases I still recommend UUID as first option to consider.

Specifically to partition UUIDs, sgdisk has an option for cloned drives:
-G, --randomize-guids



Reply to: