All of lore.kernel.org
 help / color / mirror / Atom feed
From: Edward Shishkin <edward.shishkin@gmail.com>
To: "Dušan Čolić" <dusanc@gmail.com>,
	reiserfs-devel <reiserfs-devel@vger.kernel.org>
Subject: Re: fsck.reiser4-1.1.0 doesn't remove corrupted files
Date: Fri, 12 Aug 2016 01:06:11 +0200	[thread overview]
Message-ID: <57AD04E3.3020602@gmail.com> (raw)
In-Reply-To: <CADW=+3nf-BRyzJApVavoq-tUXNj=sAJbxqUXL=822-BCSrd7BA@mail.gmail.com>

So, as we can see, fsck doesn't fix the corruption.
Kernel reports read-only mount, while mounting it rw.
In the result we have an impression that fsck makes things worse.

Edward.


On 08/11/2016 04:12 PM, Dušan Čolić wrote:
> Every time I check one same partition it warns me that same files are corrupted.
> After fsck.reiser4 --build-fs those errors aren't fixed. Strangely, if
> I read it correctly, one same cluster containing 3 files is corrupted.
> In logs on mount:
>
> Aug 11 16:11:15 krshina3 kernel: reiser4[mount(9121)]:
> try_init_format40
> (fs/reiser4/plugin/disk_format/disk_format40.c:303)[vpf-1364]:\x0aNOTICE:
> Warning: mounting md125 with fatal errors, forcing read-only mount.
>
>
> krshina3 dusan # fsck.reiser4 --build-fs /dev/md125
> *******************************************************************
> This is an EXPERIMENTAL version of fsck.reiser4. Read README first.
> *******************************************************************
>
> Fscking the /dev/md125 block device.
> Will check the consistency of the Reiser4 SuperBlock.
> Will build the Reiser4 FileSystem.
> Continue?
> (Yes/No): y
> ***** fsck.reiser4 started at Thu Aug 11 13:54:49 2016
> Reiser4 fs was detected on /dev/md125.
> Master super block (16):
> magic:          ReIsEr4
> blksize:        4096
> format:         0x0 (format40)
> uuid:           184e9560-bdf9-42b0-896c-0af2a0c84066
> label:          <none>
>
> Format super block (17):
> plugin:         format40
> description:    Disk-format plugin.
> version:        1
> magic:          ReIsEr40FoRmAt
> mkfs id:        0x2a685787
> flushes:        0
> blocks:         17091120
> free blocks:    3030583
> root block:     10465827
> tail policy:    0x2 (smart)
> next oid:       0x12b412f
> file count:     1258379
> tree height:    5
> key policy:     LARGE
>
>
> CHECKING THE STORAGE TREE
>          Read nodes 7914473
>          Nodes left in the tree 7914473
>                  Leaves of them 7819775, Twigs of them 93497
>          Time interval: Thu Aug 11 13:54:53 2016 - Thu Aug 11 14:06:40 2016
> CHECKING EXTENT REGIONS.
>          Read twigs 93497
>          Time interval: Thu Aug 11 14:06:40 2016 - Thu Aug 11 14:12:39 2016
> LOOKING FOR UNCONNECTED NODES
>          Read nodes 0
>          Good nodes 0
>                  Leaves of them 0, Twigs of them 0
>          Time interval: Thu Aug 11 14:12:39 2016 - Thu Aug 11 14:12:39 2016
> CHECKING EXTENT REGIONS.
>          Read twigs 0
>          Time interval: Thu Aug 11 14:12:39 2016 - Thu Aug 11 14:12:39 2016
> INSERTING UNCONNECTED NODES
> 1. Twigs: done
> 2. Twigs by item: done
> 3. Leaves: done
> 4. Leaves by item: done
>          Twigs: read 0, inserted 0, by item 0, empty 0
>          Leaves: read 0, inserted 0, by item 0
>          Time interval: Thu Aug 11 14:12:39 2016 - Thu Aug 11 14:12:39 2016
> CHECKING THE SEMANTIC TREE
> FSCK: ccreg40_repair.c: 189: ccreg40_check_cluster: The file
> [12ad163:2e77696e646f77:12ad164] (ccreg40): the cluster at [851116032] offset
> 65536 bytes long is corrupted. Removed.
> FSCK: ccreg40_repair.c: 189: ccreg40_check_cluster: The file
> [1253cec:2e77696e646f77:1253ced] (ccreg40): the cluster at [851116032] offset
> 65536 bytes long is corrupted. Removed.
> FSCK: ccreg40_repair.c: 189: ccreg40_check_cluster: The file
> [124224e:2e77696e646f77:124224f] (ccreg40): the cluster at [851116032] offset
> 65536 bytes long is corrupted. Removed.
>          Found 1258379 objects.
>          Time interval: Thu Aug 11 14:12:39 2016 - Thu Aug 11 14:51:12 2016
> CLEANING UP THE STORAGE TREE
>          Removed items 0
>          Time interval: Thu Aug 11 14:51:12 2016 - Thu Aug 11 15:08:59 2016
> ***** fsck.reiser4 finished at Thu Aug 11 15:08:59 2016
> Closing fs...done
>
> FS is consistent.
>
> And then:
>
> krshina3 dusan # fsck.reiser4 -y /dev/md125
> *******************************************************************
> This is an EXPERIMENTAL version of fsck.reiser4. Read README first.
> *******************************************************************
>
> Fscking the /dev/md125 block device.
> Will check the consistency of the Reiser4 SuperBlock.
> Will check the consistency of the Reiser4 FileSystem.
> ***** fsck.reiser4 started at Thu Aug 11 15:31:52 2016
> Reiser4 fs was detected on /dev/md125.
> Master super block (16):
> magic:          ReIsEr4
> blksize:        4096
> format:         0x0 (format40)
> uuid:           184e9560-bdf9-42b0-896c-0af2a0c84066
> label:          <none>
>
> Format super block (17):
> plugin:         format40
> description:    Disk-format plugin.
> version:        1
> magic:          ReIsEr40FoRmAt
> mkfs id:        0x2a685787
> flushes:        0
> blocks:         17091120
> free blocks:    3030583
> root block:     10465827
> tail policy:    0x2 (smart)
> next oid:       0x12b412f
> file count:     1258379
> tree height:    5
> key policy:     LARGE
>
>
> CHECKING THE STORAGE TREE
>          Read nodes 7914473
>          Nodes left in the tree 7914473
>                  Leaves of them 7819775, Twigs of them 93497
>          Time interval: Thu Aug 11 15:31:56 2016 - Thu Aug 11 15:41:52 2016
> CHECKING EXTENT REGIONS.
>          Read twigs 93497
>          Time interval: Thu Aug 11 15:41:52 2016 - Thu Aug 11 15:47:27 2016
> CHECKING THE SEMANTIC TREE
> FSCK: ccreg40_repair.c: 189: ccreg40_check_cluster: The file
> [12ad163:2e77696e646f77:12ad164] (ccreg40): the cluster at [851116032]
> offset 65536 bytes long
> is corrupted.
> FSCK: ccreg40_repair.c: 189: ccreg40_check_cluster: The file
> [1253cec:2e77696e646f77:1253ced] (ccreg40): the cluster at [851116032]
> offset 65536 bytes long
> is corrupted.
> FSCK: ccreg40_repair.c: 189: ccreg40_check_cluster: The file
> [124224e:2e77696e646f77:124224f] (ccreg40): the cluster at [851116032]
> offset 65536 bytes long
> is corrupted.
>          Found 3248399 objects (some could be encountered more then once).
>          Time interval: Thu Aug 11 15:47:28 2016 - Thu Aug 11 16:07:43 2016
> ***** fsck.reiser4 finished at Thu Aug 11 16:07:43 2016
> Closing fs...done
>
> 3 fatal corruptions were detected in FileSystem. Run with --build-fs
> option to fix them.


      parent reply	other threads:[~2016-08-11 23:06 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-08-11 14:12 fsck.reiser4-1.1.0 doesn't remove corrupted files Dušan Čolić
2016-08-11 14:33 ` Edward Shishkin
2016-08-11 14:56   ` Edward Shishkin
2016-08-11 23:06 ` Edward Shishkin [this message]

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=57AD04E3.3020602@gmail.com \
    --to=edward.shishkin@gmail.com \
    --cc=dusanc@gmail.com \
    --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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.