Re: reiser4progs revision.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 08/28/2014 04:34 AM, doiggl@xxxxxxxxxxxxxxxxxx wrote:
On Wed, 27 Aug 2014 14:56:05 +0200, Edward Shishkin
<edward.shishkin@xxxxxxxxx> wrote:
On 08/27/2014 09:33 AM, doiggl@xxxxxxxxxxxxxxxxxx wrote:
Looks like the filesystem is damaged. Make sure that reiser4progs are
installed
and run

# fsck.reiser4 --build-fs /dev/sdb

(You may need to use --force because apparently you have R4 on a whole
disk,
not on a partition.)

Hope that helps,
#

Hello,
Thanks for the details.

I did the fpllowing steps:
# fsck.reiser4 --build-fs --force  /dev/sdb
*******************************************************************
This is an EXPERIMENTAL version of fsck.reiser4. Read README first.
*******************************************************************

Fscking the /dev/sdb block device.


Will check the consistency of the Reiser4 SuperBlock. Will build the Reiser4 FileSystem. ***** fsck.reiser4 started at Tue Aug 26 17:22:24 2014
Reiser4 fs was detected on /dev/sdb.
Master super block (16):
magic:          ReIsEr4
blksize:        4096
format:         0x0 (format40)
uuid:           3006ced1-7490-4ea8-a9b8-d82143c6bede
label:          <none>
Format super block (17):
plugin:         format40
description:    Disk-format plugin.
version:        0
magic:          ReIsEr40FoRmAt
mkfs id:        0x1ddaf754
flushes:        0
blocks:         488378640
free blocks:    217146980
root block:     37017218
tail policy:    0x2 (smart)
next oid:       0xedade
file count:     188313
tree height:    6
key policy:     LARGE
CHECKING THE STORAGE TREE Read nodes 197008413 Nodes left in the tree 197008413 Leaves of them 194764277, Twigs of them 2217790 Time interval: Tue Aug 26 17:24:21 2014 - Wed Aug 27 01:25:31
          2014
CHECKING EXTENT REGIONS. Read twigs 2217790 Time interval: Wed Aug 27 01:25:31 2014 - Wed Aug 27 03:35:39
          2014
LOOKING FOR UNCONNECTED NODES FSCK: node.c: 108: repair_node_items_check: Node (43828275), items (0)
and
(1): Wrong order of keys.
FSCK: node.c: 108: repair_node_items_check: Node (52697435), items (79)
and (80): Wrong order of keys.
FSCK: node.c: 108: repair_node_items_check: Node (63227569), items (24)
and (25): Wrong order of keys.
FSCK: node.c: 108: repair_node_items_check: Node (63227571), items (73)
and (74): Wrong order of keys.
FSCK: node.c: 108: repair_node_items_check: Node (116595727), items
(20)
and (21): Wrong order of keys.
FSCK: node.c: 108: repair_node_items_check: Node (227923161), items
(22)
and (23): Wrong order of keys.
FSCK: node.c: 108: repair_node_items_check: Node (284305753), items
(61)
and (62): Wrong order of keys.
          Read nodes 1481038
Good nodes 471512
                  Leaves of them 466164, Twigs of them 5348
          Time interval: Wed Aug 27 03:35:57 2014 - Wed Aug 27 03:39:46
          2014

***** fsck.reiser4 finished at Wed Aug 27 03:39:46 2014
Closing fs...done

FS is consistent.

This is a bug in fsck: it jumps to wrong branch for some reasons.
Not yet fixed.

Edward.
Hello,

Hello.

Some questions:

  - Can fsck be fixed so it jumps to "correct" branch branch. ?

Yes, it can.

  - It would be useful to display a message when a Node or key is fixed.

Why?


Thanks,
Edward.


  - I can test and report back on the results on a newer reiser4progs

  - I can get it build at following location:
    Rpms will be produced.
    https://build.opensuse.org/package/show/home:doiggl/reiser4progs
reiser4progs.changes 5.73 KB
    reiser4progs.spec 	3.73 KB 	
    reiser4progs-1.0.9.tar.gz 	892 KB

Thanks Glenn

# fsck.reiser4  --h
Usage: fsck.reiser4 [ options ] FILE
Fsck options:
   --check                       checks the consistency (default)
   --fix                         fixes minor corruptions
   --build-sb                    rebuilds the super block
   --build-fs                    rebuilds the filesystem

   -L, --logfile file            complains into the file
   -n, --no-log                  makes fsck to not complain
   -a, --auto                    automatically checks the consistency
                                 without any questions.
   -q, --quiet                   supresses gauges
   -r                            ignored
Plugins options:
   --print-profile               prints the plugin profile.
   -l, --print-plugins           prints all known plugins.
   -o, --override TYPE=PLUGIN    overrides the default plugin of the type
                                 "TYPE" by the plugin "PLUGIN" in the
                                 profile.
Common options:
   -?, -h, --help                prints program usage.
   -V, --version                 prints current version.
   -y, --yes                     assumes an answer 'yes' to all questions.
   -f, --force                   makes fsck to use whole disk, not block
                                 device or mounted partition.
   -p, --preen                   automatically repair the filesysem.
   -c, --cache N                 number of nodes in tree buffer cache

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




[Index of Archives]     [Linux File System Development]     [Linux BTRFS]     [Linux NFS]     [Linux Filesystems]     [Ext4 Filesystem]     [Kernel Newbies]     [Share Photos]     [Security]     [Netfilter]     [Bugtraq]     [Yosemite Forum]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Device Mapper]     [Linux Resources]

  Powered by Linux