All of lore.kernel.org
 help / color / mirror / Atom feed
* sb_agblocks
@ 2016-11-10 14:15 Chris
  2016-11-10 16:55 ` sb_agblocks Eric Sandeen
  0 siblings, 1 reply; 3+ messages in thread
From: Chris @ 2016-11-10 14:15 UTC (permalink / raw)
  To: linux-xfs

All,

howto display size and number of Allocation Groups? I think 1 varialbe is
sb_agblocks.

- Chris


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: sb_agblocks
  2016-11-10 14:15 sb_agblocks Chris
@ 2016-11-10 16:55 ` Eric Sandeen
  2016-11-10 20:23   ` sb_agblocks Chris
  0 siblings, 1 reply; 3+ messages in thread
From: Eric Sandeen @ 2016-11-10 16:55 UTC (permalink / raw)
  To: Chris, linux-xfs

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

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: sb_agblocks
  2016-11-10 16:55 ` sb_agblocks Eric Sandeen
@ 2016-11-10 20:23   ` Chris
  0 siblings, 0 replies; 3+ messages in thread
From: Chris @ 2016-11-10 20:23 UTC (permalink / raw)
  To: Eric Sandeen, linux-xfs

Thank you!

Eric Sandeen wrote:
> 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
>



^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2016-11-10 20:24 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-11-10 14:15 sb_agblocks Chris
2016-11-10 16:55 ` sb_agblocks Eric Sandeen
2016-11-10 20:23   ` sb_agblocks Chris

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.