I've got a server running CentOS 4.2; installed as 4.1, kept updated by yum. A few days ago it crashed. I picked it up from the datacenter, and brought it back to the office, where it took a long time to boot because it couldn't find anything. When it finally booted and I logged in I discovered an interesting problem. Only the / partition had loaded. /etc/fstab had all the partitions recognized by their labels. Checking the hard drives showed the labels existed. I even rewrote the disk labels. But the boot procedure couldn't find the drives by their labels. Nor can a "mount -a" command; it says it can't find the info in fstab (though it _is_ there). But long version mount commands work. And when I redo the fstab file to list the devices rather than labels, everything mounts as it should. Any ideas? Jeff -- Jeff Lasman, Nobaloney Internet Services 1254 So Waterman Ave., Suite 50, San Bernardino, CA 92408 Our blists address used on lists is for list email only Phone +1 909 266-9209, or see: "http://www.nobaloney.net/contactus.html"
I've never trusted in labels. Use the long device names instead. I know the advanteges of labels but in server environement it doesn't give you too much. If the devices are changing too often in a server that means bigger problems. bye, ago --> I've got a server running CentOS 4.2; installed as 4.1, kept updated by > yum. > > A few days ago it crashed. > > I picked it up from the datacenter, and brought it back to the office, > where it took a long time to boot because it couldn't find anything. > > When it finally booted and I logged in I discovered an interesting > problem. > > Only the / partition had loaded. /etc/fstab had all the partitions > recognized by their labels. > > Checking the hard drives showed the labels existed. I even rewrote the > disk labels. > > But the boot procedure couldn't find the drives by their labels. > > Nor can a "mount -a" command; it says it can't find the info in fstab > (though it _is_ there). > > But long version mount commands work. > > And when I redo the fstab file to list the devices rather than labels, > everything mounts as it should. > > Any ideas? > > Jeff > -- > Jeff Lasman, Nobaloney Internet Services > 1254 So Waterman Ave., Suite 50, San Bernardino, CA 92408 > Our blists address used on lists is for list email only > Phone +1 909 266-9209, or see: "http://www.nobaloney.net/contactus.html" > _______________________________________________ > CentOS mailing list > CentOS at centos.org > http://lists.centos.org/mailman/listinfo/centos >
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Wed, Dec 28, 2005 at 02:52:53PM -0800, Jeff Lasman wrote:> But the boot procedure couldn't find the drives by their labels. > > Nor can a "mount -a" command; it says it can't find the info in fstab > (though it _is_ there). > > But long version mount commands work. > > And when I redo the fstab file to list the devices rather than labels, > everything mounts as it should. > > Any ideas?Sounds like kernel related. Try to rollback to an older version of the kernel, and see what happens. Second guesses would be util-linux and e2fsprogs. Do you get any errors from "rpm -Va" ? []s - -- Rodrigo Barbosa <rodrigob at suespammers.org> "Quid quid Latine dictum sit, altum viditur" "Be excellent to each other ..." - Bill & Ted (Wyld Stallyns) -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.1 (GNU/Linux) iD8DBQFDsxrBpdyWzQ5b5ckRAqYjAJ49BLuvqKHxr2m91RelGmBPmPgrXgCfcc9o agU/P3GTGvik/oBx+r/nXJM=1cFh -----END PGP SIGNATURE-----
On Wednesday 28 December 2005 02:52 pm, Jeff Lasman wrote:> Only the / partition had loaded. /etc/fstab had all the partitions > recognized by their labels.Twenty-eight hours later and memory is fine. I'm going to see what I can load automatically from Knoppix, and what I can load by /dev/sdXX from the command line... and what I can load with hardware references in the fstab file instead of names. Then I'll just throw the machine against the wall and start over <frown>. Jeff -- Jeff Lasman, Nobaloney Internet Services 1254 So Waterman Ave., Suite 50, San Bernardino, CA 92408 Our blists address used on lists is for list email only Phone +1 909 266-9209, or see: "http://www.nobaloney.net/contactus.html"