All of lore.kernel.org
 help / color / mirror / Atom feed
* rebuild-tree hangs
@ 2003-04-11  1:53 Christian Folini
  2003-04-11  6:05 ` filesystem corruption howto ??? ndiowona
  2003-04-11  9:56 ` rebuild-tree hangs Vitaly Fertman
  0 siblings, 2 replies; 9+ messages in thread
From: Christian Folini @ 2003-04-11  1:53 UTC (permalink / raw)
  To: reiserfs-list

Hello,

Doing a rebuild tree on a 50GB partition hanged
with a 2GB log-file of the same line.

These are my infos:
machine: AMD 1800+
drive:  IC35L120AVVA07-0, ATA DISK drive
 (It's an IBM 120GB Diskstar (?))
kernel: vanilla 2.4.20
distribution: debian testing/unstable

reiserfsprogs: debian 3.6.4-4

reiserfs log-file:
head: 

******************************************************
* Warning: The dma on your hard drive is turned off. *
* This may really slow down the fsck process.        *
******************************************************
####### Pass 0 #######
7545 directory entries were hashed with "r5" hash.
####### Pass 1 #######
####### Pass 2 #######
do_pass_2: The block (level=35848, nr_items=39427, free_space=30815
rdkey), marked as a leaf on the first two passes, is not a leaf! Will be
skipped.

tail:
do_pass_2: The block (level=35848, nr_items=39427, free_space=30815
rdkey), marked as a leaf on the first two passes, is not a leaf! Will be
skipped.
do_pass_2: The block (level=35848, nr_items=39427, free_space=30815
rdkey), marked as a leaf on the first two passes, is not a leaf! Will be
skipped.
do_pass_2: The block (level=35848, nr_items=39427, free_space=30815
rdkey), marked as a leaf on the first two passes, is not a leaf! Will be
skipped.
do_pass_2: The block (level=35848, nr_items=39427, free_space=30815
rdkey), marked as a leaf on the first two passes, is not a leaf! Will be
skipped.
do_pass_2: The block (level=35848, nr_items=39427, free_space=30815
rdkey), marked as a leaf on the first two passes, is not a leaf! Will be
skipped.
do_pass_2: The block (level=35848, nr_items=39427, free_space=30815
rdkey), marked as a leaf on the first two passes, is not a leaf! Will be
skipped.
do_pass_2: The block (level=35848, nr_items=39427, free_space=30815
rdkey), marked as a leaf on the first two passes, is not a leaf! Will be
skipped.
do_pass_2: The block (level=35848, nr_items=39427, free_space=30815
rdkey), marked as a leaf on the first two passes, is not a leaf! Will be
skipped.
do_pass_2: The block (level=35848, nr_items=39427, free_space=30815
rdkey), marked as a leaf on the first two passes, is not a leaf! Will be
skipped.
do_pass_2: The block (level=35848, nr_items=39427, free_s

                                                    ^^^^^^hang

root@coloppl:/home/dune73/data# l reiserfsck-hdb8-11042003.log 
-rw-r--r--    1 root     root     2147483648 2003-04-11 03:32
reiserfsck-hdb8-11042003.log


The fsck hanged litterally immediately after starting pass 2.
Screen:

Pass 2:
0%....20%....40%..                                             left 342,
0 /sec


afterwards i tried to rebuild my superblock. Did not help
anymore...

It says:

Do you want to run this program?[N/Yes] (note need to type Yes if you
do):Yes
super.c 218 rebuild_sb
Reiserfs with standard journal found, but there was specified a journal
dev

No log-file returned.


I am not subscribed to this mailinglist, please get back via
private mail.

Any help would be appreciated.

Christian Folini - loosing a lot of radio-shows he had no
space to backup

-- 
Christian Folini - <christian.folini@netnea.com>

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

* filesystem corruption howto ???
  2003-04-11  1:53 rebuild-tree hangs Christian Folini
@ 2003-04-11  6:05 ` ndiowona
  2003-04-11 10:09   ` Vitaly Fertman
  2003-04-11  9:56 ` rebuild-tree hangs Vitaly Fertman
  1 sibling, 1 reply; 9+ messages in thread
From: ndiowona @ 2003-04-11  6:05 UTC (permalink / raw)
  To: reiserfs-list

Hi,
I'm running RH linux  2.2.20 with reiserfs.I have some trouble with the wn
web server.
The system reports me the following message:

wnsd: can't create temp directory /tmp/wn_tmp99.
When I " cd /tmp",running "ls -ltr" reports me the following:
ls: wn_temp99: Input/Output error
ls: ftpcopy2.log: Input/Output error
-rw-r--r-- 1 root root 246 apr 10:02 ftpcopy1.log

Can someone tell me how to fix this problem?
I think it can be a filesystem corruption.tmp is not a partition but just a
directory under "/" partition

Many thanks for your help

Vincent




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

* Re: rebuild-tree hangs
  2003-04-11  1:53 rebuild-tree hangs Christian Folini
  2003-04-11  6:05 ` filesystem corruption howto ??? ndiowona
@ 2003-04-11  9:56 ` Vitaly Fertman
  2003-04-11 10:13   ` Philippe Gramoullé
  1 sibling, 1 reply; 9+ messages in thread
From: Vitaly Fertman @ 2003-04-11  9:56 UTC (permalink / raw)
  To: Christian Folini; +Cc: reiserfs-list

Hi,

> do_pass_2: The block (level=35848, nr_items=39427, free_space=30815
> rdkey), marked as a leaf on the first two passes, is not a leaf! Will be
> skipped.
> do_pass_2: The block (level=35848, nr_items=39427, free_space=30815
> rdkey), marked as a leaf on the first two passes, is not a leaf! Will be
> skipped.

This appears when you compile the progs on one computer not statically
and run it on another computer with other libs. Could you tell me what version
of reiserfsprogs you use and what glibc version you had on the mashine you
compiled reiserfsprog on and glibc version you have on the mashine you run 
reiserfsck on?

-- 
Thanks,
Vitaly Fertman

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

* Re: filesystem corruption howto ???
  2003-04-11  6:05 ` filesystem corruption howto ??? ndiowona
@ 2003-04-11 10:09   ` Vitaly Fertman
  0 siblings, 0 replies; 9+ messages in thread
From: Vitaly Fertman @ 2003-04-11 10:09 UTC (permalink / raw)
  To: ndiowona; +Cc: reiserfs-list

Hi,

On Friday 11 April 2003 10:05, ndiowona wrote:
> Hi,
> I'm running RH linux  2.2.20 with reiserfs.I have some trouble with the wn
> web server.
> The system reports me the following message:
>
> wnsd: can't create temp directory /tmp/wn_tmp99.
> When I " cd /tmp",running "ls -ltr" reports me the following:
> ls: wn_temp99: Input/Output error
> ls: ftpcopy2.log: Input/Output error
> -rw-r--r-- 1 root root 246 apr 10:02 ftpcopy1.log

This probably means bad blocks on the partition. Do you see anything 
related in the syslog? 

-- 
Thanks,
Vitaly Fertman

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

* Re: rebuild-tree hangs
  2003-04-11  9:56 ` rebuild-tree hangs Vitaly Fertman
@ 2003-04-11 10:13   ` Philippe Gramoullé
  2003-04-11 12:20     ` Vitaly Fertman
  0 siblings, 1 reply; 9+ messages in thread
From: Philippe Gramoullé @ 2003-04-11 10:13 UTC (permalink / raw)
  To: reiserfs-list


Hi,

Just my 0.02 euro but why not build reiserfsck statically out of the box ?

This would avoid such problems and also when someone uses a floppy to repair
a root filesystem ( stripped 3.6.5 reiserfsck static binary is about 643 Ko )

Thanks,

Philippe

On Fri, 11 Apr 2003 13:56:18 +0400
Vitaly Fertman <vitaly@namesys.com> wrote:

  | This appears when you compile the progs on one computer not statically
  | and run it on another computer with other libs. Could you tell me what version
  | of reiserfsprogs you use and what glibc version you had on the mashine you
  | compiled reiserfsprog on and glibc version you have on the mashine you run 
  | reiserfsck on?

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

* Re: rebuild-tree hangs
  2003-04-11 10:13   ` Philippe Gramoullé
@ 2003-04-11 12:20     ` Vitaly Fertman
  2003-04-11 14:14       ` Philippe Gramoullé
  0 siblings, 1 reply; 9+ messages in thread
From: Vitaly Fertman @ 2003-04-11 12:20 UTC (permalink / raw)
  To: Philippe Gramoullé; +Cc: reiserfs-list

On Friday 11 April 2003 14:13, Philippe Gramoullé wrote:
> Hi,
>
> Just my 0.02 euro but why not build reiserfsck statically out of the box ?
>
> This would avoid such problems and also when someone uses a floppy to
> repair a root filesystem ( stripped 3.6.5 reiserfsck static binary is about
> 643 Ko )

This is probably pretty big for a floppy, stripped not-static binary is 3 times smaller.
Actually, there was only this problem with different libc versions and I hope that I will 
be able to reproduce it and to resolve it soon. 

-- 
Thanks,
Vitaly Fertman

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

* Re: rebuild-tree hangs
  2003-04-11 12:20     ` Vitaly Fertman
@ 2003-04-11 14:14       ` Philippe Gramoullé
  2003-04-13 16:05         ` Hans Reiser
  0 siblings, 1 reply; 9+ messages in thread
From: Philippe Gramoullé @ 2003-04-11 14:14 UTC (permalink / raw)
  To: Vitaly Fertman; +Cc: reiserfs-list


Hello,

On Fri, 11 Apr 2003 16:20:27 +0400
Vitaly Fertman <vitaly@namesys.com> wrote:

  | This is probably pretty big for a floppy, stripped not-static binary is 3 times smaller.

Yes, you're right. My point was just to say that it was still small enough to fit on a floppy.

It just happened that it helped me many times when i had to boot from an old rescue CD
which didn't have the latest fsck, to rebuild the root filesystem.

  | Actually, there was only this problem with different libc versions and I hope that I will 
  | be able to reproduce it and to resolve it soon. 

Yes, a problem that at least several people hit and i thought it would be a goo way to solve this.

Personally, i always build reiserfsck statically for the reasons i mentioned above but i'm sure
there are other environments that would require the smallest tools.

Thanks,

Philippe

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

* Re: rebuild-tree hangs
  2003-04-11 14:14       ` Philippe Gramoullé
@ 2003-04-13 16:05         ` Hans Reiser
  2003-04-14  5:22           ` Oleg Drokin
  0 siblings, 1 reply; 9+ messages in thread
From: Hans Reiser @ 2003-04-13 16:05 UTC (permalink / raw)
  To: Philippe Gramoullé; +Cc: Vitaly Fertman, reiserfs-list

Philippe Gramoullé wrote:

>Hello,
>
>On Fri, 11 Apr 2003 16:20:27 +0400
>Vitaly Fertman <vitaly@namesys.com> wrote:
>
>  | This is probably pretty big for a floppy, stripped not-static binary is 3 times smaller.
>
>Yes, you're right. My point was just to say that it was still small enough to fit on a floppy.
>
>It just happened that it helped me many times when i had to boot from an old rescue CD
>which didn't have the latest fsck, to rebuild the root filesystem.
>
>  | Actually, there was only this problem with different libc versions and I hope that I will 
>  | be able to reproduce it and to resolve it soon. 
>
>Yes, a problem that at least several people hit and i thought it would be a goo way to solve this.
>
>Personally, i always build reiserfsck statically for the reasons i mentioned above but i'm sure
>there are other environments that would require the smallest tools.
>
>Thanks,
>
>Philippe
>
>
>  
>
Most people boot from CDROMS now, so Philippe's suggestion seems like a 
good one to me.

-- 
Hans



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

* Re: rebuild-tree hangs
  2003-04-13 16:05         ` Hans Reiser
@ 2003-04-14  5:22           ` Oleg Drokin
  0 siblings, 0 replies; 9+ messages in thread
From: Oleg Drokin @ 2003-04-14  5:22 UTC (permalink / raw)
  To: Hans Reiser; +Cc: Philippe Gramoull?, Vitaly Fertman, reiserfs-list

Hello!

On Sun, Apr 13, 2003 at 08:05:46PM +0400, Hans Reiser wrote:

> >Personally, i always build reiserfsck statically for the reasons i 
> >mentioned above but i'm sure
> >there are other environments that would require the smallest tools.
> Most people boot from CDROMS now, so Philippe's suggestion seems like a 
> good one to me.

We agreed with Vitaly that he will implement "--build-fsck-statucally" kind of configure 
switch for those who want static fack. Aternatively we can change it to build always
static fsck, unless "--build-fsck-dynamically" kind of configure switch is supplied.

Bye,
    Oleg

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

end of thread, other threads:[~2003-04-14  5:22 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-04-11  1:53 rebuild-tree hangs Christian Folini
2003-04-11  6:05 ` filesystem corruption howto ??? ndiowona
2003-04-11 10:09   ` Vitaly Fertman
2003-04-11  9:56 ` rebuild-tree hangs Vitaly Fertman
2003-04-11 10:13   ` Philippe Gramoullé
2003-04-11 12:20     ` Vitaly Fertman
2003-04-11 14:14       ` Philippe Gramoullé
2003-04-13 16:05         ` Hans Reiser
2003-04-14  5:22           ` Oleg Drokin

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.