All of lore.kernel.org
 help / color / mirror / Atom feed
From: Subranshu Patel <spatel.ml@gmail.com>
To: linux-ext4@vger.kernel.org
Subject: Type of filesystem block
Date: Sun, 24 Mar 2013 22:05:12 +0530	[thread overview]
Message-ID: <CAEUQcegWM0d3tmpNXVmeOSKAJUPzthk8uH96XMN+Ax_5ex5H5Q@mail.gmail.com> (raw)

Query related to finding the block usage information of metadata
blocks in ext4 filesystem.

Using debugfs testb command I can check whether a particular
filesystem block is used or not.
# debugfs -R "testb 171428" /dev/sdd4
debugfs 1.41.12 (17-May-2010)
Block 171428 marked in use

Also its icheck command prints the inode associated, if any, with a
filesystem block.
# debugfs -R "icheck 171428" /dev/sdd4
debugfs 1.41.12 (17-May-2010)
Block     Inode number
171428    65152
But I don’t find any  debugfs command which can show similar block
usage information about metadata blocks, whether it is a superblock,
or inode bitmap block or block group descriptor, etc.
Is there any way to extract the usage information of metadata blocks
in ext4 filesystem ?
--
To unsubscribe from this list: send the line "unsubscribe linux-ext4" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

             reply	other threads:[~2013-03-24 16:49 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-03-24 16:35 Subranshu Patel [this message]
2013-03-24 19:00 ` Type of filesystem block Theodore Ts'o

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=CAEUQcegWM0d3tmpNXVmeOSKAJUPzthk8uH96XMN+Ax_5ex5H5Q@mail.gmail.com \
    --to=spatel.ml@gmail.com \
    --cc=linux-ext4@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.