Skip to contentSkip to conversation

problem with corrupted filesystem

DISCUSSION Marcus Becker 3 participants 9 messages Mar 30, 2010 1 message not in the archive

lore
Share & tools
lore
#0 lore raw

the problem is actual reproduceable. I emerged gcc again and the excact same happened:

disi-laptop portage # rm -r *
rm: cannot remove `sys-devel/gcc-4.4.3/work/gcc-4.4.3/libjava/classpath/resource/gnu/java/locale': Directory not empty

I am not sure, why it doesn't like that particular folder..
___________________________________________________________
GRATIS für alle WEB.DE-Nutzer: Die maxdome Movie-FLAT!
Jetzt freischalten unter http://movieflat.web.de
--
To unsubscribe from this list: send the line "unsubscribe reiserfs-devel" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html

#1 lore raw
Quoted 5 lines · Marcus Becker

the problem is actual reproduceable. I emerged gcc again and the excact same happened:

disi-laptop portage # rm -r *
rm: cannot remove `sys-devel/gcc-4.4.3/work/gcc-4.4.3/libjava/classpath/resource/gnu/java/locale': Directory not empty

Hello.

Would you please pack the metadata by
debugfs.reiser4 -P /dev/xxx | gzip > meta.gz
and let me download the file meta.gz

Thanks,
Edward.

Quoted 3 lines

I am not sure, why it doesn't like that particular folder..

#2 lore raw

Hi Edward,

I uploaded the file here:
http://omploader.org/vM3pxYw

hope I can help,

Marcus

-----Ursprüngliche Nachricht-----
Von: Edward Shishkin <[email protected]>
Gesendet: Mar 30, 2010 12:24:04 PM
An: Marcus Becker
Betreff: Re: problem with corrupted filesystem

Quoted 7 lines
Quoted 5 lines · Marcus Becker

the problem is actual reproduceable. I emerged gcc again and the excact same happened:

disi-laptop portage # rm -r *
rm: cannot remove `sys-devel/gcc-4.4.3/work/gcc-4.4.3/libjava/classpath/resource/gnu/java/locale': Directory not empty

Quoted 14 lines

Hello.

Would you please pack the metadata by
debugfs.reiser4 -P /dev/xxx | gzip > meta.gz
and let me download the file meta.gz

Thanks,
Edward.

Quoted 3 lines

I am not sure, why it doesn't like that particular folder..

___________________________________________________________
WEB.DE DSL: Internet, Telefon und Entertainment für nur 19,99 EUR/mtl.!
http://produkte.web.de/go/02/
--
To unsubscribe from this list: send the line "unsubscribe reiserfs-devel" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html

#3 lore raw
Quoted 5 lines · Marcus Becker

Hi Edward,

I uploaded the file here:
http://omploader.org/vM3pxYw

Ok, got it. Thanks.

So what's up with your emerge? Why did it fail? With what error? Was is a system crash, power loss, etc?

Edward.

Quoted 32 lines

hope I can help,

Marcus

-----Ursprüngliche Nachricht-----
Von: Edward Shishkin <[email protected]>
Gesendet: Mar 30, 2010 12:24:04 PM
An: Marcus Becker Betreff: Re: problem with corrupted filesystem

Quoted 21 lines
Quoted 6 lines · Marcus Becker

the problem is actual reproduceable. I emerged gcc again and the excact same happened:

disi-laptop portage # rm -r *
rm: cannot remove `sys-devel/gcc-4.4.3/work/gcc-4.4.3/libjava/classpath/resource/gnu/java/locale': Directory not empty

Hello.

Would you please pack the metadata by
debugfs.reiser4 -P /dev/xxx | gzip > meta.gz
and let me download the file meta.gz

Thanks,
Edward.

Quoted 2 lines
Quoted 7 lines
Quoted 2 lines
Quoted 2 lines

I am not sure, why it doesn't like that particular folder..

___________________________________________________________
WEB.DE DSL: Internet, Telefon und Entertainment für nur 19,99 EUR/mtl.!
http://produkte.web.de/go/02/

--
To unsubscribe from this list: send the line "unsubscribe reiserfs-devel" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html

A message that is not in the archive (sent off-list or not yet received): op.vad3n9sfhogzsi@g17b

#5 lore raw

Dne Tue, 30 Mar 2010 18:50:24 +0200 Edward Shishkin <[email protected]> napsal(a):

Quoted 3 lines

So what's up with your emerge? Why did it fail? With what error? Was is a system crash, power loss, etc?

Actually, I've had similar problem half a year ago or so. Emerge kept dying on gcc because of an unremovable file in the clean phase.
I solved it by switching all my partitions to tea hashing, so it is probably related to hash collisions with the default r5.

But it may as well be an unrelated problem.

Signature · 5 lines
Jonáš Vidra, [email protected]
--
To unsubscribe from this list: send the line "unsubscribe reiserfs-devel" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
#6 lore raw
In reply to Edward Shishkin

Nothing wrong with it, just couldn't clean up afterwards. No crash etc.
emerge uses /var/tmp/portage as a build directory and when the binaries are finished it moves them to the live system and removes all files in there. It cleans all other files/folders but cannot remove that folder (same as me).

Actual, I built gcc just again to see if the same happens again. this time I ran it again after moving the folder to /root and without fsck. It ended up in a segmentation fault
Also I have another "locale" folder that cannot be removed. Third time, same happens.

I'll now go ahead and do fsck again, remove those 2 folders and see afterwards if gcc builds fine again.

Always different inode, same problem with that "locale" folder I can emerge other ebuilds without problems.

Cheers,

Marcus

-----Urspr��ngliche Nachricht-----
Von: Edward Shishkin <[email protected]>
Gesendet: Mar 30, 2010 6:50:24 PM
An: Marcus Becker
Betreff: Re: problem with corrupted filesystem

Quoted 7 lines
Quoted 5 lines · Marcus Becker

Hi Edward,

I uploaded the file here:
http://omploader.org/vM3pxYw

Quoted 48 lines

Ok, got it. Thanks.

So what's up with your emerge? Why did it fail? With what error? Was is a system crash, power loss, etc?

Edward.

Quoted 40 lines

hope I can help,

Marcus

-----Urspr��ngliche Nachricht-----
Von: Edward Shishkin <[email protected]>
Gesendet: Mar 30, 2010 12:24:04 PM
An: Marcus Becker
Betreff: Re: problem with corrupted filesystem

Quoted 8 lines
Quoted 6 lines · Marcus Becker

the problem is actual reproduceable. I emerged gcc again and the excact same happened:

disi-laptop portage # rm -r *
rm: cannot remove `sys-devel/gcc-4.4.3/work/gcc-4.4.3/libjava/classpath/resource/gnu/java/locale': Directory not empty

Quoted 15 lines

Hello.

Would you please pack the metadata by
debugfs.reiser4 -P /dev/xxx | gzip > meta.gz
and let me download the file meta.gz

Thanks,
Edward.

Quoted 4 lines

I am not sure, why it doesn't like that particular folder..

___________________________________________________________
WEB.DE DSL: Internet, Telefon und Entertainment f��r nur 19,99 EUR/mtl.!
http://produkte.web.de/go/02/

___________________________________________________________
WEB.DE DSL: Internet, Telefon und Entertainment f��r nur 19,99 EUR/mtl.!
http://produkte.web.de/go/02/
--
To unsubscribe from this list: send the line "unsubscribe reiserfs-devel" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html

#7 lore raw
In reply to Edward Shishkin

Hi,

I tried using hash=tea as mount option with the same result.
Is this something I can change on an already formatted partition? Where can I check, which hash is used? /proc/mounts doesn't list the option.

Thanks,

Marcus

-----Urspr��ngliche Nachricht-----
Von: Edward Shishkin <[email protected]>
Gesendet: Mar 30, 2010 6:50:24 PM
An: Marcus Becker
Betreff: Re: problem with corrupted filesystem

Quoted 7 lines
Quoted 5 lines · Marcus Becker

Hi Edward,

I uploaded the file here:
http://omploader.org/vM3pxYw

Quoted 48 lines

Ok, got it. Thanks.

So what's up with your emerge? Why did it fail? With what error? Was is a system crash, power loss, etc?

Edward.

Quoted 40 lines

hope I can help,

Marcus

-----Urspr��ngliche Nachricht-----
Von: Edward Shishkin <[email protected]>
Gesendet: Mar 30, 2010 12:24:04 PM
An: Marcus Becker
Betreff: Re: problem with corrupted filesystem

Quoted 8 lines
Quoted 6 lines · Marcus Becker

the problem is actual reproduceable. I emerged gcc again and the excact same happened:

disi-laptop portage # rm -r *
rm: cannot remove `sys-devel/gcc-4.4.3/work/gcc-4.4.3/libjava/classpath/resource/gnu/java/locale': Directory not empty

Quoted 15 lines

Hello.

Would you please pack the metadata by
debugfs.reiser4 -P /dev/xxx | gzip > meta.gz
and let me download the file meta.gz

Thanks,
Edward.

Quoted 4 lines

I am not sure, why it doesn't like that particular folder..

___________________________________________________________
WEB.DE DSL: Internet, Telefon und Entertainment f��r nur 19,99 EUR/mtl.!
http://produkte.web.de/go/02/

___________________________________________________________
GRATIS f��r alle WEB.DE-Nutzer: Die maxdome Movie-FLAT!
Jetzt freischalten unter http://movieflat.web.de
--
To unsubscribe from this list: send the line "unsubscribe reiserfs-devel" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html

#8 lore raw
Quoted 4 lines · Marcus Becker

Hi,

I tried using hash=tea as mount option with the same result.

I don't think that reiser4 supports such mount option

Quoted 2 lines

Is this something I can change on an already formatted partition?

What do you want to change? IMHO the type of hash can be assigned only in mkfs time. There was an interface to change it on-line per-directory (via so-called pseudo-files), but this is still deprecated and is not used.

Quoted 1 line

Where can I check, which hash is used?

In the plugin table of (root) directory of debugfs.reiser4 -t output. Attributes of other objects are inherited through the semantic tree by default and, hence, are not shown.

In your case (that you have sent me) we have the following:

NODE (715370) LEVEL=1 ITEMS=22 SPACE=0 MKFS ID=0x7c4de18e FLUSH=0x0 #0 SD (stat40): [29:1(SD):0:2a:0] OFF=28, LEN=94, flags=0x0 [...]
permission : id = 0
formatting : id = 2 (smart)
hash : id = 1 (r5_hash) <<<<<<<<<<<<<<<
fibration : id = 2 (ext_1_fibre)
statdata : id = 0 (stat40)
diritem : id = 2 (cde40)
crypto : id = 0
digest : id = 0
compress : id = 0 (lzo1)
compressMode : id = 4 (conv)
cluster : id = 0 (64K)
create : id = 0 (reg40)

Edward.

Quoted 74 lines

/proc/mounts doesn't list the option.

Thanks,

Marcus

-----Urspr��ngliche Nachricht-----
Von: Edward Shishkin <[email protected]>
Gesendet: Mar 30, 2010 6:50:24 PM
An: Marcus Becker Betreff: Re: problem with corrupted filesystem

Quoted 8 lines
Quoted 6 lines · Marcus Becker

Hi Edward,

I uploaded the file here:
http://omploader.org/vM3pxYw

Quoted 53 lines

Ok, got it. Thanks.

So what's up with your emerge? Why did it fail? With what error? Was is a system crash, power loss, etc?

Edward.

Quoted 45 lines

hope I can help,

Marcus

-----Urspr��ngliche Nachricht-----
Von: Edward Shishkin <[email protected]>
Gesendet: Mar 30, 2010 12:24:04 PM
An: Marcus Becker Betreff: Re: problem with corrupted filesystem

Quoted 10 lines
Quoted 7 lines · Marcus Becker

the problem is actual reproduceable. I emerged gcc again and the excact same happened:

disi-laptop portage # rm -r *
rm: cannot remove `sys-devel/gcc-4.4.3/work/gcc-4.4.3/libjava/classpath/resource/gnu/java/locale': Directory not empty

Quoted 17 lines

Hello.

Would you please pack the metadata by
debugfs.reiser4 -P /dev/xxx | gzip > meta.gz
and let me download the file meta.gz

Thanks,
Edward.

Quoted 5 lines

I am not sure, why it doesn't like that particular folder..

___________________________________________________________
WEB.DE DSL: Internet, Telefon und Entertainment f��r nur 19,99 EUR/mtl.!
http://produkte.web.de/go/02/

Quoted 5 lines

___________________________________________________________
GRATIS f��r alle WEB.DE-Nutzer: Die maxdome Movie-FLAT! Jetzt freischalten unter http://movieflat.web.de

--
To unsubscribe from this list: send the line "unsubscribe reiserfs-devel" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html

#9 lore raw

kk, thanks for the answer

I just read that other mail from Jonas and thought I give it a shot. Nothing changed on the filesystem.
If you need more information, let me know.

Marcus

-----Ursprüngliche Nachricht-----
Von: Edward Shishkin <[email protected]>
Gesendet: Mar 30, 2010 11:07:32 PM
An: Marcus Becker
Betreff: Re: problem with corrupted filesystem

Quoted 39 lines
Quoted 4 lines · Marcus Becker

Hi,

I tried using hash=tea as mount option with the same result.

I don't think that reiser4 supports such mount option

Quoted 2 lines

Is this something I can change on an already formatted partition?

What do you want to change? IMHO the type of hash can be assigned only in mkfs time. There was an interface to change it on-line per-directory (via so-called pseudo-files), but this is still deprecated and is not used.

Quoted 1 line

Where can I check, which hash is used?

In the plugin table of (root) directory of debugfs.reiser4 -t output. Attributes of other objects are inherited through the semantic tree by default and, hence, are not shown.

In your case (that you have sent me) we have the following:

NODE (715370) LEVEL=1 ITEMS=22 SPACE=0 MKFS ID=0x7c4de18e FLUSH=0x0 #0 SD (stat40): [29:1(SD):0:2a:0] OFF=28, LEN=94, flags=0x0 [...]
permission : id = 0
formatting : id = 2 (smart)
hash : id = 1 (r5_hash) <<<<<<<<<<<<<<<
fibration : id = 2 (ext_1_fibre)
statdata : id = 0 (stat40)
diritem : id = 2 (cde40)
crypto : id = 0
digest : id = 0
compress : id = 0 (lzo1)
compressMode : id = 4 (conv)
cluster : id = 0 (64K)
create : id = 0 (reg40)

Quoted 9 lines

Edward.

Quoted 6 lines

/proc/mounts doesn't list the option.

Thanks,

Marcus

___________________________________________________________
GRATIS für alle WEB.DE-Nutzer: Die maxdome Movie-FLAT!
Jetzt freischalten unter http://movieflat.web.de
--
To unsubscribe from this list: send the line "unsubscribe reiserfs-devel" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html