On Tue, Jun 20, 2000 at 07:58:54PM +0530, Sthitaprajna wrote:
> Hi
>
> My friend's Lin box is not mounting some partitions. Even in the recsue
> mode, I've moved from
> efsck -b 8193 /dev/home and /usr directories. through to 5-6 iterations.
> Seems like MANY blocks are damaged. I've been doing this with the Slack7
> Live FS CD since the Redhat rescue image was also no good. Has anyone
> managed a recovery after a crash?
Heh heh, the dangers of putting performance over reliability :) I don't
know if you can recover (run fsck -y in a loop for a while), but the
two solutions are:
1. Journalling (write logs to disk and recover later - requires file format
change, plus disk write overhead. The advantage is - sequential writes
to the logs)
2. Softupdates http://www.mckusick.com/softdep/ (Imposes ordering rules
on meta data (non data blocks) such that the disk is in a consistent
state at all times. No fs format change, ordering information kept in
memory).
There's a USENIX paper on this being presented in San Diego. Softupdates
code is becoming free (BSD licensed) today. Perhaps someone will "fix"
ext2fs with it.
-Arun
The paper is at: http://www.ece.cmu.edu/~ganger/papers/usenix2000.ps
-----------------------------------------------------------------------
Check out the 'What to do before posting to the list' site
for a list of things to try before posting. The site is
at http://botsie.tripod.com/beforeposting/