From: Vladimir Shebordaev Subject: Re: using debugfs.reiser4 options to access R4 on /dev/sdb Date: Wed, 25 Feb 2015 18:35:38 +0300 Message-ID: <1424878538.16839.6.camel@home.ted.local> References: <2a39c4776614cb7a675f299083a3627a@mail.velocitynet.com.au> <1424809332.12259.67.camel@home.ted.local> <4e67fef614d6e56cca9bdb540d592c78@mail.velocitynet.com.au> Mime-Version: 1.0 Content-Transfer-Encoding: 7bit Return-path: DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=message-id:subject:from:to:cc:date:in-reply-to:references :content-type:mime-version:content-transfer-encoding; bh=ufMerKbuv9XoeLPPWm5iO/aDdO4er6hCNR2ugebJnz4=; b=xedrdgA+69Z1l5sZ69eiG5TlPNk9fLzQ1/sAFq1/jw2Po0hIQwpiGdzdMXBSmsyUSi 5GqZKPvwRfhYzAp9NsmxYlXvzVDAa2vvwmnWsccItN1C3LMx9pSawkVjWnIg9Qv/kT2l kzbee739dMtCO+sFdWMj60EgxKduD90EjnihT8x2AzA/S93FRvbhxoqMtteue4axbwdV 0VA0Pd+h/NIyWR/QWkcn6YCCq6SJ5iIIGHmelTcdRQRRvYQKA5BFH97++MVGCCFivfWH kTqPoHtjdrMaijR3rXN1KL2YqaQMqXI5Ui9Q9OqHBU+3FuZOZkwBoNJ7t6h4tqm1Aq3n xa4A== In-Reply-To: <4e67fef614d6e56cca9bdb540d592c78@mail.velocitynet.com.au> Sender: reiserfs-devel-owner@vger.kernel.org List-ID: Content-Type: text/plain; charset="us-ascii" To: doiggl@velocitynet.com.au Cc: reiserfs-devel@vger.kernel.org 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