LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 06-24-2005, 03:48 AM   #1
borisys
LQ Newbie
 
Registered: Oct 2003
Posts: 6

Rep: Reputation: 0
Filesystem Repair


Hi

I am new with linux and I recently had an unwanted shutdown
now when I tried to reboot linux red hat it gives me the following msg:

Your system appears to have shutdown uncleanly
Press y to integrate filesystems check
checking root filesystem

/: Inodes that were part of corrupted orphan linked list found.

/: UNEXPECTED INCONSISTENCY; RUN fsck MANUALLY.
(i.e., without -a or -p options)

*** An error occurred during the file system check.
*** Dropping you to a shell; the system will reboot
*** when you leave the shell.
Give root password for maintenance
(or type Control-D for normal startup):

so I entered the root password and then I type "fsck"
following by "reboot" but it does not solve the problem because it goes back to
"Your system appears to have shutdown uncleanly" and so on....

i do not really understand what is happing ...

and also, i try to get the disk status by command 'df -h'
all the drive disk size, disk used , avail & use % is same.

Mounted On
/dev/sda2 146G 5.3G 133G 4% /
/dev/sda1 146G 5.3G 133G 4% /boot

it is impossible.

Who can help me to solve the problem , the system have important data.

thank you for you help

best regards
boris
 
Old 06-24-2005, 05:03 AM   #2
themo
LQ Newbie
 
Registered: Jun 2005
Posts: 5

Rep: Reputation: 0
Hi!

If you have an ext2 filesystem and your linux is on the first partition of your hard disk:
e2fsck /dev/hda1 (not fsck)

By ext3 filesystem...I think:e3fsck /dev/hda1

Hope I could help. I know 10 linux commands so I'm very newb to , but it soloved my problem when I had the same of your.

cheers.
 
Old 06-24-2005, 11:45 AM   #3
dgar
Member
 
Registered: Jun 2005
Location: Candia, NH
Distribution: Ubuntu, FC, RHE3, RHE4, CentOS
Posts: 121

Rep: Reputation: 15
fsck'ing hard drive

# Check ALL "Linux" partitions found in /etc/fstab

/sbin/fsck -CA
 
Old 06-24-2005, 11:24 PM   #4
borisys
LQ Newbie
 
Registered: Oct 2003
Posts: 6

Original Poster
Rep: Reputation: 0
Hi all,

i already try follow yr method. but still not solve the problem.
have u any other method to solve the problem ?

best regards
boris
 
  


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
filesystem repair Ammad Linux - General 1 09-13-2005 12:57 AM
need filesystem repair rblampain Linux - Software 5 07-13-2005 12:17 AM
filesystem repair natalia21 Linux - Software 1 02-03-2005 07:50 AM
Repair a filesystem ...fsck is it??????? hrg Linux - General 3 07-24-2004 08:41 AM
How to Repair a Filesystem? CatLinuz Linux - Newbie 3 02-24-2004 02:27 PM


All times are GMT -5. The time now is 08:59 PM.

Main Menu
Advertisement
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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration