All of lore.kernel.org
 help / color / mirror / Atom feed
* reiserfs rebuild-tree time?
@ 2004-03-11  6:27 jlewis
  2004-03-11  7:18 ` Ryan Underwood
                   ` (2 more replies)
  0 siblings, 3 replies; 18+ messages in thread
From: jlewis @ 2004-03-11  6:27 UTC (permalink / raw)
  To: reiserfs-list

I've got a several year old Red Hat 7.0 server with a 70gb partition on
[adaptec i2o, 5 18gb drive] hardware raid5.  This morning, it crashed, and
each time someone rebooted it, it would freeze|reboot|panic seconds after
the bootup process was complete.  It seems this reiserfs partition has
corruption, which was not properly handled in the older kernel (it's a Red
Hat 7.0 system).

I booted it single user and installed the latest 7.3 kernel from the
fedorlegacy project.  That kernel didn't crash, but instead began logging
lots of reiserfs corruption warnings, which is actually what alerted us as
to what the problem was.

reiserfsck (from reiserfsprogs-3.6.13) found problems and said it could
not fix them without doing a --rebuild-tree.  So I ran it again with that
option.  That was about 13 hours ago...and its still running.  I didn't
think to redirect output to a file, but AFAIK, it's in Pass 3 now.  Lots
of file names are scrolling by, but only on the last line of my terminal,
so it's difficult to tell what its up to.

At this point, I'm wondering how much longer this could possibly take to
finish?  The partition has about 45gb of files (maildirs, so lots of
files).  My next question was already answered by the FAQ...regardless of
the safety of trying it, mounting it ro at this point to try to get to
some of the files isn't possible.  Am I correct in assuming that stopping
reiserfsck before the rebuild-tree finishes would be "bad"...i.e. we won't
be able to access the data, and would have to start over anyway?

It seems to be taking an awful long time (hours) scrolling path names
inside the same user's maildir...so I'm beginning to wonder if it's caught
in some sort of loop or if this maildir is just huge and its taking time
to get through.

Is there any possibility of getting to the data (most of it anyway) on
this partition if we have to stop the rebuild before it completes?...i.e.
if it really is caught in a loop.

The system is a dual PIII-733.  Other than the rebuild and a few admins
ssh'd in to keep an eye on it, the system is idle.  I'm not seeing a whole
lot of activity (1MB/s in, 1MB/5s or so out according to vmstat) and CPU
idle 98%.  If CPU and disk i/o aren't limiting it, what's causing the
rebuild-tree to take so long?

----------------------------------------------------------------------
 Jon Lewis *jlewis@lewis.org*|  I route
 Senior Network Engineer     |  therefore you are
 Atlantic Net                |
_________ http://www.lewis.org/~jlewis/pgp for PGP public key_________

^ permalink raw reply	[flat|nested] 18+ messages in thread

end of thread, other threads:[~2004-03-15 10:31 UTC | newest]

Thread overview: 18+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-03-11  6:27 reiserfs rebuild-tree time? jlewis
2004-03-11  7:18 ` Ryan Underwood
2004-03-12  1:57   ` jlewis
2004-03-11  9:28 ` Vladimir Saveliev
2004-03-11 13:58   ` jlewis
2004-03-11 14:15     ` Vladimir Saveliev
2004-03-11 14:52       ` jlewis
2004-03-11 15:17         ` Jens Benecke
2004-03-11 15:48         ` Vitaly Fertman
2004-03-11 16:07           ` Vitaly Fertman
2004-03-11 15:50       ` Vitaly Fertman
2004-03-14  0:23         ` jlewis
2004-03-14  6:14           ` jlewis
2004-03-15 10:31             ` Vladimir Saveliev
2004-03-12  2:05   ` jlewis
2004-03-12 10:02     ` Vitaly Fertman
2004-03-12 14:39       ` jlewis
2004-03-11  9:29 ` Philippe Gramoullé

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.