Note: This is a beta release of Red Hat Bugzilla 5.0. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Also email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback here.

Bug 82150

Summary: LABEL= is a bad idea
Product: [Retired] Red Hat Linux Reporter: Nathan G. Grennan <redhat-bugzilla>
Component: anacondaAssignee: Jeremy Katz <katzj>
Status: CLOSED WONTFIX QA Contact: Mike McLean <mikem>
Severity: medium Docs Contact:
Priority: medium    
Version: 8.0CC: michael
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2003-01-21 21:28:16 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description Nathan G. Grennan 2003-01-18 10:01:39 UTC
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
names.

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


How reproducible:
Always

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
partitions

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

Additional info:

Comment 1 Michael Lee Yohe 2003-01-21 13:59:44 UTC
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 21:28:16 UTC
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.