All of lore.kernel.org
 help / color / mirror / Atom feed
From: Joseph Qi <joseph.qi@huawei.com>
To: ocfs2-devel@oss.oracle.com
Subject: [Ocfs2-devel] extent alloc gd abnormally cleared
Date: Sat, 25 Jul 2015 18:08:41 +0800	[thread overview]
Message-ID: <55B36029.5010900@huawei.com> (raw)

Hi All,
We have encountered a case that extent alloc gd has been abnormally
cleared.
In our environment, the volume has been formatted with 128 slots but
actually has 64 slots in use. Since extent alloc is allocated when
formatting, and extent_alloc:0107 (inode 259) hasn't been use in our
environment, I have no idea how it can happen.
Does any one have an idea?

The fsck log is attached below:
fsck.ocfs2 1.6.4
Checking OCFS2 filesystem in /dev/disk/by-id/scsi-360022a11000b17590551993300000001:
  Label:              <NONE>
  UUID:               908A3228F49B41468FFC4927FAE1E54F
  Number of blocks:   2415918080
  Block size:         4096
  Number of clusters: 301989760
  Cluster size:       32768
  Number of slots:    128

/dev/disk/by-id/scsi-360022a11000b17590551993300000001 was run with -f, check forced.
Pass 0a: Checking cluster allocation chains
Pass 0b: Checking inode allocation chains
Pass 0c: Checking extent block allocation chains
[CHAIN_LINK_MAGIC] Chain 24 in allocator at inode 259 contains a reference at depth 0 to block 6578184 which doesn't have a valid checksum.  Truncate this chain? y
[CHAIN_BITS] Chain 24 in allocator inode 259 has 1023 bits marked free out of 1024 total bits but the block groups in the chain have 0 free out of 0 total.  Fix this by updating the chain record? y
[CHAIN_EMPTY] Chain 24 in allocator inode 259 is empty.  Remove it from the chain record array in the inode and shift further chains into its place? y
[GROUP_CHAIN] Group descriptor at block 6603784 was found in chain 24 but it claims to be in chain 49. Update the descriptor's recorded chain? y
Duplicate clusters detected.  Pass 1b will be run
Pass 1: Checking inodes and blocks.
......
Running additional passes to resolve clusters claimed by more than one inode...
Pass 1b: Determining ownership of multiply-claimed clusters
pass1b: Inode type does not contain extents while processing inode 17

                 reply	other threads:[~2015-07-25 10:08 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=55B36029.5010900@huawei.com \
    --to=joseph.qi@huawei.com \
    --cc=ocfs2-devel@oss.oracle.com \
    /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.