From: Sergey Vlasov <vsu@altlinux.ru>
To: Markus M_ller <mm@priv.de>
Cc: linux-kernel@vger.kernel.org
Subject: Re: Reiserfsck dies
Date: Wed, 3 May 2006 21:56:35 +0400 [thread overview]
Message-ID: <20060503215635.4b3a28bf.vsu@altlinux.ru> (raw)
In-Reply-To: <4458C48B.8040703@priv.de>
[-- Attachment #1: Type: text/plain, Size: 1578 bytes --]
On Wed, 03 May 2006 16:56:11 +0200 Markus M_ller wrote:
> reiserfsck told me that I have to run --rebuild-tree to fix all errors.
> But this don't work (see below), I tried two times (every time I am
> waiting 28 hours).
Apparently you have a huge filesystem (374936503 blocks - about 1.5 TB,
if these are 4KB blocks). reiserfsck --rebuild-tree works by reading
every data block on the filesystem, finding blocks which look like
reiserfs tree nodes and rebuilding the tree from that nodes - so it
would take a long time, even if the volume was almost empty.
> If I mount the filesystem, there are no files in it.
> What can I do?
[skip]
> Pass 1 (will try to insert 423131 leaves):
> ####### Pass 1 #######
> Looking for allocable blocks .. Killed
[skip]
> Out of memory: Killed process 5622 (reiserfsck).
reiserfsck may need lots of memory (especially with such a huge FS) ...
> stacker:/# cat /proc/meminfo
> MemTotal: 512716 kB
> MemFree: 413660 kB
> Buffers: 20268 kB
> Cached: 47324 kB
> SwapCached: 0 kB
> Active: 19500 kB
> Inactive: 56656 kB
> HighTotal: 0 kB
> HighFree: 0 kB
> LowTotal: 512716 kB
> LowFree: 413660 kB
> SwapTotal: 0 kB
> SwapFree: 0 kB
... and you have only 512 MB with no swap. Try to add some swap space -
then reiserfsck might eventually complete.
AFAIK, the only way to recover reiserfs after --rebuild-tree has been
attempted is to run "reiserfsck --rebuild-tree" to completion.
[-- Attachment #2: Type: application/pgp-signature, Size: 190 bytes --]
next prev parent reply other threads:[~2006-05-03 17:57 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-05-03 14:56 Reiserfsck dies Markus Müller
2006-05-03 16:45 ` Jan Engelhardt
2006-05-03 17:19 ` Markus Müller
2006-05-03 17:30 ` Andreas Steinmetz
2006-05-03 17:48 ` Markus Müller
[not found] ` <4458ECE0.7030901@priv.de>
2006-05-03 17:52 ` Andreas Steinmetz
2006-05-03 17:56 ` Sergey Vlasov [this message]
2006-05-03 18:18 ` Markus Müller
2006-05-03 19:12 ` Jan Engelhardt
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20060503215635.4b3a28bf.vsu@altlinux.ru \
--to=vsu@altlinux.ru \
--cc=linux-kernel@vger.kernel.org \
--cc=mm@priv.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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.