reiserfs-devel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Edward Shishkin <edward.shishkin@gmail.com>
To: Marcus Becker <Becker_Marcus1@web.de>
Cc: reiserfs-devel@vger.kernel.org
Subject: Re: problem with corrupted filesystem
Date: Tue, 30 Mar 2010 23:07:32 +0200	[thread overview]
Message-ID: <4BB26814.9000007@gmail.com> (raw)
In-Reply-To: <28084896.266414.1269980037917.JavaMail.fmail@mwmweb061>

Marcus Becker wrote:
> Hi,
>
> I tried using hash=tea as mount option with the same result.
>   

I don't think that reiser4 supports such mount option

> 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.

> 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.

>  /proc/mounts doesn't list the option.
>
> Thanks,
>
> Marcus
>
>
> -----Urspr

  reply	other threads:[~2010-03-30 21:07 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-03-30  8:59 problem with corrupted filesystem Marcus Becker
2010-03-30 10:24 ` Edward Shishkin
2010-03-30 16:06   ` Marcus Becker
2010-03-30 16:50     ` Edward Shishkin
     [not found]       ` <op.vad3n9sfhogzsi@g17b>
2010-03-30 16:51         ` Fwd: " Jonáš Vidra
2010-03-30 17:47       ` Marcus Becker
2010-03-30 20:13       ` Marcus Becker
2010-03-30 21:07         ` Edward Shishkin [this message]
2010-03-30 21:24           ` Marcus Becker
  -- strict thread matches above, loose matches on Subject: below --
2010-03-29 16:32 Marcus Becker

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=4BB26814.9000007@gmail.com \
    --to=edward.shishkin@gmail.com \
    --cc=Becker_Marcus1@web.de \
    --cc=reiserfs-devel@vger.kernel.org \
    /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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).