Red Hat Bugzilla – Bug 78082
RFE: Add unique text to partition labels
Last modified: 2014-08-31 19:24:24 EDT
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (compatible; Konqueror/3; Linux)
Description of problem:
When I move a Red Hat Linux root disk from one machine to be a secondary disk on another Red Hat Linux machine, the boot process often mounts the wrong disk as /. Chaos ensues. If instead of using "LABEL=/" the installer used "LABEL=/_XYZZY" (with XYZZY chosen randomly at install time), I wouldn't have to hand-edit my /etc/fstab before moving disks.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1.Move a root disk (sd0) onto a machine with it's root on hd0.
3. (if you're lucky) observe the kernel panic when it mounts the wrong root.
You can change the label yourself with "tune2fs -L $label $device",
either on each system, or prior to moving the device elsewhere.
The latter is of course not helpful if you are moving the because
the machine to which it is attached it broken; in that case, it
should be done by prior arrangement, or you should hot-add the
device after booting.
You could also mount everything by UUID.
The goal isn't to allow people to move disks between machines, it's to make it
so that adding more SCSI adaptors doesn't completely hose you. Additionally,
using random labels or UUID makes it even less easy to use for the user.
Time tracking values updated