* Eaten filesystem and unhelpfull fsck
@ 2002-10-15 20:05 Pavel Machek
2002-10-15 20:16 ` Theodore Ts'o
0 siblings, 1 reply; 2+ messages in thread
From: Pavel Machek @ 2002-10-15 20:05 UTC (permalink / raw)
To: kernel list
Hi!
I managed to kill filesystem on my omnibook... Now I'm pretty sure
most of data should be undamaged [I did not do any long writes to it],
but mount refuses to mount it and e2fsck refuses that, too.
fsck /dev/hda4
fsck 1.24a (02-Sep-2001)
...
try running...:
e2fsck -b 8193.
e2fsck -b 8193 /dev/hda4
....suggests me to run e2fsck -b 8193. Too bad. debugfs refuses to
mount it, too. How do I get my data back?
Pavel
--
When do you have heart between your knees?
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: Eaten filesystem and unhelpfull fsck
2002-10-15 20:05 Eaten filesystem and unhelpfull fsck Pavel Machek
@ 2002-10-15 20:16 ` Theodore Ts'o
0 siblings, 0 replies; 2+ messages in thread
From: Theodore Ts'o @ 2002-10-15 20:16 UTC (permalink / raw)
To: Pavel Machek; +Cc: kernel list
On Tue, Oct 15, 2002 at 10:05:11PM +0200, Pavel Machek wrote:
> Hi!
>
> I managed to kill filesystem on my omnibook... Now I'm pretty sure
> most of data should be undamaged [I did not do any long writes to it],
> but mount refuses to mount it and e2fsck refuses that, too.
>
> fsck /dev/hda4
> fsck 1.24a (02-Sep-2001)
> ...
> try running...:
>
> e2fsck -b 8193.
>
> e2fsck -b 8193 /dev/hda4
> ....suggests me to run e2fsck -b 8193. Too bad. debugfs refuses to
> mount it, too. How do I get my data back?
1) Update to something more recent that e2fsprogs 1.24 --- there have
been a lot of bugfixes since then, especially in the arena of dealing
with various "special" cases of corruption.
2) Assuming that you are using filesystems with 4k blocksizes, the
backup superblock is at 32768. More modern e2fsck's will correctly
fall back to the backup sb at 32768, but ancient versions (like the
one you're using) don't; that's one of the bugs that since been fixed. :-)
You could *try* using e2fsck -b 32768 with your current version of
e2fsck, and it *probably* will be able to fix things without doing any
more damage, but without knowing more about how your filesystem got
screwed up, using a more recent version of e2fsck would be the safer
course of action.
- Ted
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2002-10-15 20:10 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-10-15 20:05 Eaten filesystem and unhelpfull fsck Pavel Machek
2002-10-15 20:16 ` Theodore Ts'o
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.