Bug 463106 - Forced repair console for disks mounted from /dev/disk/by-label/XXX
Summary: Forced repair console for disks mounted from /dev/disk/by-label/XXX
Alias: None
Product: Fedora
Classification: Fedora
Component: udev
Version: 10
Hardware: All
OS: Linux
Target Milestone: ---
Assignee: Harald Hoyer
QA Contact: Fedora Extras Quality Assurance
Depends On:
Blocks: F10Target
TreeView+ depends on / blocked
Reported: 2008-09-21 20:54 UTC by Saikat Guha
Modified: 2009-01-20 11:36 UTC (History)
5 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Last Closed: 2009-01-20 11:36:29 UTC
Type: ---

Attachments (Terms of Use)

Description Saikat Guha 2008-09-21 20:54:18 UTC
Description of problem:

I have a stack of external USB disks that have an fstab entry of the form /dev/disk/by-label/XXX (this is needed to mount the disks to the correct location even if they get different /dev/sdX names during bootup).

However, the normal bootup process aborts and dumps me into a repair console. No problems are detected by fdisk. Removing the entries from fstab allows normal bootup to proceed without a hitch. Manually mounting the disks after bootup works fine without any dmesg spew. 

Are the /dev/disk/by-label/XXX symlinks created by udev (that is not present in the initrd image)? I assume the disk checking script fails to find the USB disks by that name, which it considers a fatal errors and aborts.

How reproducible:

Steps to Reproduce:
1. Use an external USB disk with a fs label.
2. Mount the disk using that label from /dev/disk/by-label/XXX
3. Reboot
Actual results:
Repair console

Expected results:
System boots up

Additional info:
The USB disks have one partition formatted as ext3 with the appropriate descriptor in the partition table. They are labled using e2label.

Comment 1 Bill Nottingham 2008-09-23 18:34:15 UTC
Yes, they're created by udev. But they should still be created by the time fsck runs.

Comment 2 Jeroen van Meeuwen 2008-09-24 09:38:29 UTC
I can try and reproduce this. Give me a day or two.

Comment 3 Kay Sievers 2008-11-03 01:24:11 UTC
You should be able to add "nofail" to the fstab options, the handle the case the disk is not there, and to continue without failing.

You would have to mount them by hand later though, because the automounting usually excludes stuff mentioned in fstab.

Comment 4 Bug Zapper 2008-11-26 03:10:16 UTC
This bug appears to have been reported against 'rawhide' during the Fedora 10 development cycle.
Changing version to '10'.

More information and reason for this action is here:

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