Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Filesystem Problem! Need Help!!

Status
Not open for further replies.

natemclain

Technical User
Jun 19, 2001
68
US
Hey guys & gals,

I need some help.
I just got a server that I had bought. And I get this when it goes through and starts booting up. And it starts to check the File System.
/UnExpected Inconsistency; RUN fsck Manually
***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)

When I login as Root and I get the command prompt I typed in fsck
But it tells me this.
Parallelizing fsck version 1.19 (13-Jul-2000)

How do I fix this??


natemclain
 
Well guys and gals,

I got my problem fixed. But for some of you newbies like myself this might help you later on.

I was getting this error:

/UnExpected Inconsistency; RUN fsck Manually
***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 at the command prompt I did this.

(Repair Filesystem)# cat /etc/fstab
This gave me a list to the partitions. Then on each partition I did the following.

(Repair Filesystem)# fsck /boot
(Repair Filesystem)# fsck /home
(Repair Filesystem)# fsck /usr
(Repair Filesystem)# fsck /var
After that I rebooted and still had a problem.
So I did this.
(Repair Filesystem)# fsck /
and it asked me a bunch of questions if I wanted to fix the problem? And of course I wanted to fix it so I hit Y on all of the questions and reboot. And got to the Login: Screen.

I hope that helps someone someday!


natemclain
 
e2fsck -v -y will take care of the pesky error by error
prompt, but sometimes it is necessary to take a look at the problem and use something like tune2fs or (last resort) debugfs in the case of severe problems.
See man e2fsck..
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top