From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail2.postbox.xyz ([81.169.216.193]:53343 "EHLO mail2.postbox.xyz" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S935170AbcKJUYD (ORCPT ); Thu, 10 Nov 2016 15:24:03 -0500 Message-ID: <164fda6af0c9e67fcacbe9b0860bf44f.squirrel@mail2.postbox.xyz> In-Reply-To: References: <44d2cb2765781d64e9549b371a2f9686.squirrel@mail2.postbox.xyz> Date: Thu, 10 Nov 2016 21:23:59 +0100 Subject: Re: sb_agblocks From: "Chris" MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7BIT Sender: linux-xfs-owner@vger.kernel.org List-ID: List-Id: xfs To: Eric Sandeen , linux-xfs@vger.kernel.org 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 >