reiserfs-devel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Vladimir Shebordaev <vladimir.shebordaev@gmail.com>
To: doiggl@velocitynet.com.au
Cc: reiserfs-devel@vger.kernel.org
Subject: Re: using debugfs.reiser4 options to access R4 on /dev/sdb
Date: Wed, 25 Feb 2015 18:35:38 +0300	[thread overview]
Message-ID: <1424878538.16839.6.camel@home.ted.local> (raw)
In-Reply-To: <4e67fef614d6e56cca9bdb540d592c78@mail.velocitynet.com.au>

On Wed, 2015-02-25 at 13:04 +1100, doiggl@velocitynet.com.au wrote:
> Hello
> I want to access the content on volume.
> --Glenn
> 
> # debugfs.reiser4
> -l to dump all plugins known to libreiser4
> -p to show default profile
> -t to dump the tree
> 
> # debugfs.reiser4 -l /dev/sdb
> debugfs.reiser4 1.0.9
> Copyright (C) 2001-2005 by Hans Reiser, licensing governed by
> reiser4progs/COPYING. 
> 
> Known plugins:
> "reg40"             (id:0x0 type:0x0) [Unix-file regular file plugin.]
> "dir40"             (id:0x1 type:0x0) [Directory file plugin.]
> "sym40"             (id:0x2 type:0x0) [Symlink file plugin.]
> "spl40"             (id:0x3 type:0x0) [Special file plugin.]
> "ccreg40"           (id:0x4 type:0x0) [Cryptcompress regular file plugin.]
> "stat40"            (id:0x0 type:0x1) [StatData item plugin.]
> "cde40"             (id:0x2 type:0x1) [Compound directory entry item
> plugin.]
> "nodeptr40"         (id:0x3 type:0x1) [Node pointer item plugin.]
> "extent40"          (id:0x5 type:0x1) [Extent file body item plugin.]
> "plain40"           (id:0x6 type:0x1) [Plain file body item plugin.]
> "ctail40"           (id:0x7 type:0x1) [Compressed file body item plugin.]
> "bbox40"            (id:0x8 type:0x1) [Safe link item plugin.]
> "node40"            (id:0x0 type:0x2) [Node plugin.]
> "rupasov_hash"      (id:0x0 type:0x3) [Rupasov hash plugin.]
> "r5_hash"           (id:0x1 type:0x3) [R5 hash plugin.]
> "tea_hash"          (id:0x2 type:0x3) [Tea hash plugin.]
> "fnv1_hash"         (id:0x3 type:0x3) [Fnv1 hash plugin.]
> "deg_hash"          (id:0x4 type:0x3) [Degenerate hash plugin.]
> "lexic_fibre"       (id:0x0 type:0x4) [Lexicographic fibration plugin.]
> "dot_o_fibre"       (id:0x1 type:0x4) ['.o' fibration plugin.]
> "ext_1_fibre"       (id:0x2 type:0x4) [1-symbol extention fibration
> plugin.]
> "ext_3_fibre"       (id:0x3 type:0x4) [3-symbol extention fibration
> plugin.]
> "extents"           (id:0x0 type:0x5) ['Extents only' tail policy plugin.]
> "tails"             (id:0x1 type:0x5) ['Tails only' tail policy plugin.]
> "smart"             (id:0x2 type:0x5) [Smart tail policy plugin.]
> "sdext_lw"          (id:0x0 type:0x6) [Light stat data extension plugin.]
> "sdext_unix"        (id:0x1 type:0x6) [Unix stat data extension plugin.]
> "sdext_lt"          (id:0x2 type:0x6) [Large times stat data extension
> plugin.]
> "sdext_symlink"     (id:0x3 type:0x6) [Symlink stat data extension
> plugin.]
> "sdext_plugin_set"  (id:0x4 type:0x6) [Plugin Set StatData extension
> plugin.]
> "sdext_flags"       (id:0x5 type:0x6) [Inode flags stat data extension
> plugin.]
> "sdext_crypto"      (id:0x7 type:0x6) [Crypto stat data extension plugin.]
> "sdext_heir_set"    (id:0x8 type:0x6) [Heir Set StatData extension
> plugin.]
> "format40"          (id:0x0 type:0x7) [Disk-format plugin.]
> "oid40"             (id:0x0 type:0x8) [Inode number allocator plugin.]
> "alloc40"           (id:0x0 type:0x9) [Space allocator plugin.]
> "journal40"         (id:0x0 type:0xa) [Journal plugin.]
> "key_short"         (id:0x0 type:0xb) [Short key plugin.]
> "key_large"         (id:0x1 type:0xb) [Large key plugin.]
> "lzo1"              (id:0x0 type:0xc) [lzo1 compression transform plugin.]
> "gzip1"             (id:0x1 type:0xc) [gzip1 compression transform
> plugin.]
> "none"              (id:0x0 type:0xd) ['Don't compress' compression mode
> plugin.]
> "latt"              (id:0x1 type:0xd) ['Check on dynamic lattice'
> compression mode plugin.]
> "ultim"             (id:0x2 type:0xd) ['Check ultimately' compression mode
> plugin.]
> "force"             (id:0x3 type:0xd) ['Compress evrything' compression
> mode plugin.]
> "conv"              (id:0x4 type:0xd) ['Convert to extent' compression
> mode plugin.]
> "64K"               (id:0x0 type:0x10) [64K size cluster plugin.]
> "32K"               (id:0x1 type:0x10) [32K size cluster plugin.]
> "16K"               (id:0x2 type:0x10) [16K size cluster plugin.]
> "8K"                (id:0x3 type:0x10) [8K size cluster plugin.]
> "4K"                (id:0x4 type:0x10) [4K size cluster plugin.]
> 

So, what? fsck complains about unknown plugin for the root directory,
you have to try to dump the tree.

Since you fail to mount the disk, you anyway need debugging output from
running filesystem.

> # debugfs.reiser4 -p /dev/sdb
> debugfs.reiser4 1.0.9
> Copyright (C) 2001-2005 by Hans Reiser, licensing governed by
> reiser4progs/COPYING. 
> 
> Default profile:
> create:          "ccreg40"         (id:0x4 type:0x0)    [Regular file
> plugin for creat(2)]
> key:             "key_large"       (id:0x1 type:0xb)    [Key plugin]
> compress:        "lzo1"            (id:0x0 type:0xc)    [Compression
> plugin]
> compressMode:    "conv"            (id:0x4 type:0xd)    [Compression Mode
> plugin]
> cluster:         "64K"             (id:0x0 type:0x10)   [Cluster plugin]
> hash:            "r5_hash"         (id:0x1 type:0x3)    [Directory entry
> hash plugin]
> fibration:       "ext_1_fibre"     (id:0x2 type:0x4)    [Key fibration
> plugin]
> formatting:      "smart"           (id:0x2 type:0x5)    [File body
> formatting plugin]
> 
> --Glenn



  reply	other threads:[~2015-02-25 15:35 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-02-24 14:24 using debugfs.reiser4 options to access R4 on /dev/sdb doiggl
2015-02-24 20:22 ` Vladimir Shebordaev
2015-02-25  2:04   ` doiggl
2015-02-25 15:35     ` Vladimir Shebordaev [this message]
2015-02-26  3:13       ` doiggl
2015-02-26 12:39         ` Vladimir Shebordaev
     [not found]           ` <8285e510086433ffcc25556941f7bbe3@mail.velocitynet.com.au>
2015-02-27  5:35             ` Vladimir Shebordaev
2015-02-27  2:22     ` doiggl

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=1424878538.16839.6.camel@home.ted.local \
    --to=vladimir.shebordaev@gmail.com \
    --cc=doiggl@velocitynet.com.au \
    --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).