Bug 82150 - LABEL= is a bad idea
LABEL= is a bad idea
Product: Red Hat Linux
Classification: Retired
Component: anaconda (Show other bugs)
All Linux
medium Severity medium
: ---
: ---
Assigned To: Jeremy Katz
Mike McLean
Depends On:
  Show dependency treegraph
Reported: 2003-01-18 05:01 EST by Nathan G. Grennan
Modified: 2007-04-18 12:50 EDT (History)
1 user (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2003-01-21 16:28:16 EST
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

  None (edit)
Description Nathan G. Grennan 2003-01-18 05:01:39 EST
From Bugzilla Helper:
User-Agent: Mozilla/5.0 Galeon/1.2.7 (X11; Linux i686; U;) Gecko/20021216

Description of problem:
I have repeatedly run into issue with LABEL= in /etc/grub.conf(written by
anaconda as far as I know) and /etc/fstab. It has to do with moving drives from
one linux box to another, either to copy everything over to get rid of a failing
drive, or just to copy some data over. You often end up with results like it
boots off the wrong drive, or it boots off one drive, but then mount another. I
think the LABEL= code should be completely ripped out and revert to using device

Version-Release number of selected component (if applicable):

How reproducible:

Steps to Reproduce:
1. Install drive from another computer running RedHat
2. Boot


Actual Results:  Either booting off the wrong drive, or mounting the wrong

Expected Results:  Boot and mounting the expected drive or partitions every time

Additional info:
Comment 1 Michael Lee Yohe 2003-01-21 08:59:44 EST
I have actually stumbled upon this a number of times.  I've always dropped to
single user mode to change the labels around, but in general - it's a valid point.
Comment 2 Jeremy Katz 2003-01-21 16:28:16 EST
Not using labels is also problematic for when people add scsi adapters or
rearrange adapters or lots of other reasons.  Labels aren't the end all be all,
but they are an improvement.  If you're moving drives from one machine to
another, you're likely to end up needing to change drive names and I fail to see
how that's significantly easier than changing labels.

Note You need to log in before you can comment on or make changes to this bug.