All of lore.kernel.org
 help / color / mirror / Atom feed
From: Eric Sandeen <sandeen@sandeen.net>
To: Chris <chris2014@postbox.xyz>, linux-xfs@vger.kernel.org
Subject: Re: sb_agblocks
Date: Thu, 10 Nov 2016 10:55:19 -0600	[thread overview]
Message-ID: <bbd0f6bd-2d69-29ab-4205-19e3202c8444@sandeen.net> (raw)
In-Reply-To: <44d2cb2765781d64e9549b371a2f9686.squirrel@mail2.postbox.xyz>

On 11/10/16 8:15 AM, Chris wrote:
> All,
> 
> howto display size and number of Allocation Groups? I think 1 varialbe is
> sb_agblocks.

(whoops, reply-all this time)

xfs_info /path/to/mount/point will tell you, if it's mounted.

Otherwise xfs_db -c "sb 0" -c "p blocksize" -c "p agblocks" -c "p agcount" /dev/whatever

will give you block size, blocks per AG, and number of AGs.

-Eric

> - Chris

  reply	other threads:[~2016-11-10 16:55 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-11-10 14:15 sb_agblocks Chris
2016-11-10 16:55 ` Eric Sandeen [this message]
2016-11-10 20:23   ` sb_agblocks Chris

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=bbd0f6bd-2d69-29ab-4205-19e3202c8444@sandeen.net \
    --to=sandeen@sandeen.net \
    --cc=chris2014@postbox.xyz \
    --cc=linux-xfs@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.