[UCLA-LUG] Error in /dev/sda7

MIng Yu myu@anderson.ucla.edu
Mon, 07 Feb 2000 15:21:39 -0800


Millions of thanks for witten and Bryan for helping me out on this. It works!
Everything returns to normal condition now.

Ming

witten wrote:

> On Mon, Feb 07, 2000 at 01:41:35PM -0800, MIng Yu wrote:
> > Hi,
> >
> > My linux ran perfectly till this Monday. It suddenly cannot boot up. The
> > error msg said:
> >
> > checking root filesyste
> > /dev/sda7 contains a file system with errors, check forced.
> > /dev/sda7:
> > Inode 23271 has illegal blocks.
> > /dev/sda7: unexpected inconsistency; run fsck manually.
>
> This is usually what happens if you power off the machine without properly
> shutting down the machine. fsck is analogous to scandisk in Windows.. If you
> power off the machine without shutting down properly, Windows will run
> scandisk the next time you boot up to correct filesystem errors.
>
> >
> > When I tried to run fsck, it said "Parallelizing fsck version 1.15".
> >
>
> fsck  -a /dev/sda7
>
> Then answer yes to all questions.
>
> That should do the trick. Usually, the machine will be able to run fsck by
> itself and correct everything, but sometimes, as in this case you're
> experiencing, fsck must be run manually.
>
> > I have no idea what's the problm since I'm new to linux. Can anyone help
> > me on this?
> >
>
> Once you fix the filesystem, be sure that in the future you shut off the
> machine all the way before you power down.
>
> > Thanks.
> >
> > Ming
> >
> >
> > _______________________________________________
> > UCLALUG Linux mailing list - Linux@linux.ucla.edu
> > http://linux.ucla.edu/mailman/listinfo/linux
>
> --
> Dan Helfman
> UCLA Linux Users Group: http://www.linux.ucla.edu
> My GnuPG key: http://torsion.org/witten/public-key.txt
>
> _______________________________________________
> UCLALUG Linux mailing list - Linux@linux.ucla.edu
> http://linux.ucla.edu/mailman/listinfo/linux

It should allow you to enter the root password.
After you login and arep resented with a prompt, type
fsck /dev/sda7

It should find and fix all problems.
If it does not, your disk might be going bad.

Bryan G. Seitz
UofD Computer Science
UofD LUG Admin