Will UUID be the same if a disk moved from one machine to another?

While in Linux every disk got a UUID.
I just wondering will the UUID be the same if I moved the same disk from one Linux box to another?

Is it the same UUID in different machines with the same disk?
Or for a disk the UUID will change with attached machine?

Also a similar question:
Will the UUID be the same after Linux distribution reinstalled in the same machine with the same disk?
For example: First is CentOS 5, then reinstalled it to CentOS 6.


Solution 1:

Every filesystem has a UUID, which is stored as part of the partition table on the disk itself, so is "portable" with the disk.

Upgrading your OS should only change the UUID of a partition if that partition was formatted.