Skip to contentSkip to conversation

rebuild-tree hangs

DISCUSSION Christian Folini 6 participants 9 messages Apr 11, 2003 – Apr 14, 2003

lore
Share & tools
lore
#0 lore raw

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

Signature · 1 line
Christian Folini - <[email protected]>
#1 lore raw

filesystem corruption howto ???

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

#2 lore raw

Re: filesystem corruption howto ???

Hi,

Quoted 10 lines · ndiowona

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?

Signature · 2 lines
Thanks,
Vitaly Fertman
#3 lore raw
In reply to Christian Folini

Hi,

Quoted 6 lines

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?

Signature · 2 lines
Thanks,
Vitaly Fertman
#4 lore raw

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 <[email protected]> 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?
#5 lore raw
Quoted 7 lines · Philippe Gramoullé

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.

Signature · 2 lines
Thanks,
Vitaly Fertman
#6 lore raw

Hello,

On Fri, 11 Apr 2003 16:20:27 +0400
Vitaly Fertman <[email protected]> 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

#7 lore raw
Quoted 15 lines · Philippe Gramoullé

Hello,

On Fri, 11 Apr 2003 16:20:27 +0400
Vitaly Fertman <[email protected]> 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.

Quoted 12 lines

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.

Signature · 1 line
Hans
#8 lore raw

Hello!

Quoted 5 lines · Hans Reiser
Quoted 3 lines

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