LinuxQuestions.org
View the Most Wanted LQ Wiki articles.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Red Hat
User Name
Password
Red Hat This forum is for the discussion of Red Hat Linux.

Notices

Reply
 
Search this Thread
Old 06-01-2006, 03:03 PM   #1
irnerdette
LQ Newbie
 
Registered: May 2006
Location: United States
Distribution: Redhat Enterprise 3 AS
Posts: 2

Rep: Reputation: 0
unclean shutdown causes "Couldn't find matching filesystem: label=" error


Here's what happened: Have a rack mount dell 2850 server running Redhat Enterprise Linux 3 AS and the power cables from our server accidently got caught and came out while I was pulling the server out of the rack to obtain some information on a sticker on the side of the server. So it was an unclean shutdown, so when I tried to power the system up, I get the message "Couldn't find matching filesystem: label=/u01" and I'm forced into a recovery mode. So, I edited the /etc/fstab file and commented out the label /u01 that is related in the error message. Okay then I could boot up without the error. I ran e2fsck and it checked out clean. But I still got the error when I would try to boot with that label in the fstab file. I tried restoring every backup superblock, but the error still persisted. So I ran the tune2fs -l and reset the label to the same name /u01. Okay, now that let me boot without errors, however, all of the data that I originally had is unavailable. /u01 is a label for /dev/sdb1. And my mount point is also /u01. If I unmount /u01 I can still get to the data and I have made a copy of it. But the data is not there if I mount /u01. This is an ext3 filesystem running hardware controlled RAID. I have run a consistency check on the RAID and no problems were found. Has anyone ever had this problem? Can anyone give me suggestions on how to fix this?
 
Old 06-01-2006, 03:27 PM   #2
david_ross
Moderator
 
Registered: Mar 2003
Location: Scotland
Distribution: Slackware, RedHat, Debian
Posts: 12,047

Rep: Reputation: 64
Welcome to LQ.

Are you saying that the data appears at the mountpoint but not when the partition is mounted? It sounds like the partition was never mounted and that the data is actually on another partition.

I'd suggest mounting the partition at a temporary location, then copying the data to it. Once you've verified the copy then you can delete the original source and remount the partition at the correct location.

You can use the df program to see how much data is on each partition at any point in time:
df -h
 
Old 06-02-2006, 11:29 AM   #3
irnerdette
LQ Newbie
 
Registered: May 2006
Location: United States
Distribution: Redhat Enterprise 3 AS
Posts: 2

Original Poster
Rep: Reputation: 0
Thanks for the reply. I have made a copy of the data at a temporary location. Do you mean to just delete the data or remove the whole partition and re-create the partition? I've thought about removing the partition and re-creating it but wasn't sure if it would help this problem.
 
Old 06-02-2006, 02:44 PM   #4
david_ross
Moderator
 
Registered: Mar 2003
Location: Scotland
Distribution: Slackware, RedHat, Debian
Posts: 12,047

Rep: Reputation: 64
It sounds like the partition is empty so just remove it from the partition it is on then mount the partition you want to use and restore the data.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
America's Army "Cannot find matching GLX visual", XFree86 4.3, 128MB ATI Radeon 9200 RavenOfOdin Linux - Games 7 02-06-2006 07:09 PM
error when rebooting could'nt find matching filesystem: label=/home bigdawg9950 Linux - Newbie 2 08-30-2004 03:03 AM
"No matching Call Error" ashwinipahuja Programming 1 06-23-2004 02:37 PM
Unclean shutdown from power failure... filesystem check errors macisaac Linux - General 4 12-26-2003 08:50 PM
dump + restore to backup linux ; "Couldn't find matching filesystem: LABEL=/" on boot markus1982 Linux - General 4 09-21-2002 02:16 PM


All times are GMT -5. The time now is 01:25 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration