[lug] Identical UUID for MD devices?

Rob Nagler nagler at bivio.biz
Thu Feb 8 13:14:50 MST 2018


On Thu, Feb 8, 2018 at 12:46 PM, stimits <stimits at comcast.net> wrote:

> When I had to replace a windows disk and didn't want to mess with
> reactivating everything (it was the same computer, just the disk being
> replaced) I used Linux to copy from that disk to another of the same exact
> model. I used dd. This left the UUID as an exact clone, whereas running
> something like mkfs.ntfs would cause a change. The UUID is just part of the
> file system like any other data. If the mirror operating was done by raw
> byte copy I'd expect UUIDs to be a clone.
>

Each device layer has its own UUID: disk (sdX), raid (mdX), crypt pv
(/dev/mapper/luks-*), vg (/dev/mapper/foo-bar), etc.

BTW, it seems that crypt volumes have a different style of UUID: more
characters and base62. The UUIDs are strings, not numbers. Pretty
interesting.

Rob
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lug.boulder.co.us/pipermail/lug/attachments/20180208/62936bf1/attachment.html>


More information about the LUG mailing list