How To Manage Your Disk By UUID On Linux
Aug 20, 2008, 22:34 (0 Talkback[s])
(Other stories by Mike Tremell)
Re-Imagining Linux Platforms to Meet the Needs of Cloud Service Providers
[ Thanks to Mike
Golvach for this link. ]
"For instance, if you have a disk with a specific UUID
and a block device name of /dev/sda3, if you do all your work (and
system/application customization) with that disk, as the name
/dev/sda3, you might be in for a big headache if you have a system
problem (or just install some new hardware and reconfigure) and
Linux decides to rename /dev/sda3 as /dev/sdb3 (or "anything"
else). If you're using UUID's, you can simply use the "tune2fs"
command (shown below) to assign the original UUID back to the new
logical device name, so /dev/sdb3 would function exactly as if it
were /dev/sda3, without causing any issues with your Linux OS