Fighting Absurdity With Absurdity:
THIS SITE AND ALL CONTENT THEREIN IS ENTIRELY PERSONAL IN NATURE; THEREFORE THE OPINIONS, COMMENTS, BELIEFS, ET CETERA THEREIN MAY NOT BE CONSTRUED AS BEING THAT OR ENDORSED BY ANY EMPLOYER OF MINE, PAST, PRESENT OR FUTURE, THOR, MARS, THE FLYING SPAGHETTI MONSTER, OR THAT BUM WHO JUST BILKED YOU OUT OF A CIGARETTE. BY THE WAY, THAT DUDE MAKES MORE PANHANDLING THAN YOU DO AT YOUR OFFICE JOB.
CentOS, my distribution of choice, isn’t as UUID-happy as other distributions are.
Fun With UUIDs and ext3, XFS
The following examples assume the partition in question is located at /dev/sdb1. YMMV.
Set new UUID on XFS Partition, RHEL/CentOS:
xfs admin -U generate /dev/sdb1
Set new UUID on XFS Partition, SLES/OpenSUSE:
xfs_admin -U generate /dev/sdb1
Set new UUID on ext3 Partition and Display New UUID (RHEL/CentOS, SLES/OpenSUSE):
tune2fs /dev/sdb1 -U random
dumpe2fs -h /dev/sdb1 | grep UUID
Note: Still working out comments/etc. theming. Please ignore the ugliness.