Q

A handy Linux command

I have a DNS and Mail Server running on Red Hat Linux 7.1 The power cable was removed from the machine by mistake twice. When I reboot the system it give me this error:

var : unexpected inconsistency,Run Fsck manually (i.e without -a or -p options); an error occured during the file system check; dropping you to a shell; the system will reboot; When you leave the shell give root password for maintenace (or type control-d for normal startup) devhda2-10

I changed to single user mode by typing the command "init i" and, upon running the command fsck on reboot I still get the same error. Can you help?


Try this command:

e2fsck -f /dev/devhda2-10

It is similar to fsck, but specifically intended for Linux Second Extended Filesystems, and is documented for Red Hat installs.

Good luck!


This was first published in June 2002
This Content Component encountered an error

Have a question for an expert?

Please add a title for your question

Get answers from a TechTarget expert on whatever's puzzling you.

You will be able to add details on the next page.

0 comments

Oldest 

Forgot Password?

No problem! Submit your e-mail address below. We'll send you an email containing your password.

Your password has been sent to:

-ADS BY GOOGLE

SearchDataCenter

SearchServerVirtualization

SearchCloudComputing

SearchEnterpriseDesktop

Close