Re: e2fsck problems :o
- From: "J.O. Aho" <user@xxxxxxxxxxx>
- Date: Sat, 16 May 2009 01:13:56 +0200
Ron wrote:
On May 15, 5:06 pm, GPS <georg...@xxxxxxxxxxxx> wrote:
roN wrote:Thanks for your reply - I actually didn't check well enough, the new
Hi There,
We have developed an embedded application utilizing an ext2 filesystem on
a flash card. This has worked fine without any major problems. Now I
thought in order to obbserve our devices, we should run a e2fsck on a
regular basis returning the results.
Now our device has two partitions, one is the boot partition (hda1) and
the other one (hda2) is where '/'is mounted. So one the booted device I
should be able to run "e2fsck -n /dev/hda2", right?
versions are using ext3 fs already for / but i get the exact same
results with it when using e2fsck on it...:(
ext3 = ext2 + journal
So don't expect e2fsck to work much differently on problems that can't be
fixed with a journal that was there before the change.
fsck should never be run on a mounted device, as far as I could see in your
original post, you booted into the distribution on the flash and then run the
fsck, which would indicate that the device is mounted.
I do suggest you rewrite your init script so that a fsck is done while the
root file system still is read only and store the result in ramfs until you
have finished and then mail the resuult or what ever you do.
It could be good to look at the other file systems, they tend to be better as
long as you don't think of needing to use file system shrinking.
--
//Aho
.
- Follow-Ups:
- Re: e2fsck problems :o
- From: Ron
- Re: e2fsck problems :o
- References:
- e2fsck problems :o
- From: roN
- Re: e2fsck problems :o
- From: GPS
- Re: e2fsck problems :o
- From: Ron
- e2fsck problems :o
- Prev by Date: Re: e2fsck problems :o
- Next by Date: Re: suggestions for cheap linux hosting
- Previous by thread: Re: e2fsck problems :o
- Next by thread: Re: e2fsck problems :o
- Index(es):
Relevant Pages
|