by wintpe » Jun 18th, '13, 17:20
label and UUID do exactly the same thing.
just UUID is a bit more random so you can assign it to a set of disks.
the effect is the same that irespective of the disk ordering, the same device gets mounted.
display the uuid of a disk with blkid
generate a UUID for use with a new disk,
uuidgen
assign it to a disk,
tunefs /dev/sda -U numbergeneratedfromabove.
then add it to /etc/fstab as
UUID=bf281eb3-bcf0-4a2d-b088-42548d261343 /local/2 ext4 acl,noatime,discard,nodiratime 1 2
this idea was origionaly thoughtup by veritas , as the uuid in the private region.
so that disks could be deported from one system, and re-impoted into another in a cluster.
regards peter
Redhat 6 Certified Engineer (RHCE)
Sometimes my posts will sound short, or snappy, however its realy not my intention to offend, so accept my apologies in advance.