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

Re: Understanding LVM UUIDS



Aaron Toponce wrote:

UUIDs are unique to the device/filesystem.

Are these (disk) UUIDs stored somewhere in the partition (in the
filesystem), or are they stored at or generated from a lower level?

In particular, if one used dd to copy the contents (a file system) of
one partition to another partition, does the target partition end up
with the same UUID or a different UUID?  If you did a byte-for-byte
copy of an entire disk to another disk of the exact same size (and
model, but different serial number), would the UUIDs of partitions
change or still be the same on the target disk?)

(Is it similar to, or different than, the situation with filesystem
labels (specifically, that if you copied a partition as above you'd
end up with two partitions with the same label, and you'd have to
change one (or otherwise deal with the non-uniqueness))?)

Thanks,
Daniel


Reply to: