devfs
[Top] [All Lists]

devfs superblock error

To: devfs@xxxxxxxxxxx
Subject: devfs superblock error
From: sullivan <sullivan@xxxxxxxxxxxxxx>
Date: Mon, 23 Apr 2001 23:49:01 -0500
In-reply-to: <OF1AC99DA0.79281072-ON85256A37.0061BF8D@raleigh.ibm.com>; from sullivam@us.ibm.com on Mon, Apr 23, 2001 at 12:47:50PM -0500
References: <OF1AC99DA0.79281072-ON85256A37.0061BF8D@raleigh.ibm.com>
Sender: owner-devfs@xxxxxxxxxxx
User-agent: Mutt/1.2.5i
 On a 2.4.3 kernel I built with devfs configured but not
 auto mounted at boot time. I intended to manually mount
 it onto /devfs to play around with it. On reboot I received a
 message saying that my ext2 superblock was corrupted.
 
 After looking closer I noticed that my /etc/fstab was
 configured with the fs_spec field set to LABEL=/
 
 Unfortunately when the fsck utility was run it
 used the entries provided in /proc/partitions to open
 and read partition label information to find a match.
 Since devfs was compiled in, the /proc/partitions entries
 contain the devfs names (ie. scsi/host0/bus0/target0/lun0/part1).
 But since devfs wasn't mounted at boot, these entries didn't exist
 (only the old /dev nodes are present), causing the error to
 be reported :(
 
 In /etc/fstab, replacing LABEL=/ with /dev/sda1 allowed
 fsck to skip the label matching code and run successfully :)
 
 Richard, could you add a note to your doc (maybe by the
 devfs=nomount details) to warn users to avoid using the
 LABEL directive in their fstab?
 

<Prev in Thread] Current Thread [Next in Thread>