Martin DiViaio on Sat, 26 Jan 2002 17:50:46 +0100


[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]

Re: [PLUG] EXT2-fs error


On the 25th day of January in the year 2002 you wrote:

>
> When I included 'Linux 2.4' in the search, one suggestion which was posted
> was to do a e2fsck.
> When I did this on the mounted partition
> e2fsck -p /dev/hda1 (which is '/') I got threatening messages saying that
> everything may be severely damaged if I went any further. I have /home on
> another partition. I am not sure how to do the repairing, if that is the
> solution.
>

Running e2fsck on a read/write mounted partition is not considered a good
idea. From what I remember, older versions of e2fsck did not do any sort
of sanity checking to see if the OS wrote to the filesystem while it was
running. This could potentially hose the entire partition if the OS wrote
to an area that e2fsck was working on. I don't know if the current version
of e2fsck has any sort of checks in place or not but if it is still
producing the warning message it should be taken at face value.

In order to run e2fsck on your root partition you need to boot from some
sort of rescue disk with e2fsck on it and run it from there while
/dev/hda1 is unmounted.




______________________________________________________________________
Philadelphia Linux Users Group       -      http://www.phillylinux.org
Announcements-http://lists.phillylinux.org/mail/listinfo/plug-announce
General Discussion  -  http://lists.phillylinux.org/mail/listinfo/plug