---
name: "get_agsize"
section: "8"
platform: "linux"
package: "flashcache-utils"
version: "3.1.3+git20150701-5"
release: "Debian 9 (Stretch)"
platforms: ["linux"]
url: "https://new.carta.tech/get_agsize"
---

# get\_agsize(8)

Get the best agsize for XFS

## NAME

get\_agsize - Get the best agsize for XFS

## DESCRIPTION

The purpose of the **get\_agsize** command is to get the best agsize (and implicitly agcount) for XFS.

## SYNOPSIS

get\_agsize \[-v\] cache\_size(in GB) vol\_size(in GB)

## OPTIONS

- **-v**

  verbose

## EXAMPLE

- **get\_agsize 40 100**

  best agsize = 25 agcount=4

## SEE ALSO

[`mkfs.xfs`(8)](/mkfs.xfs/8.md), [`xfs_info`(8)](/xfs_info/8.md)

*README* and other documents in **/usr/share/doc/flashcache-utils**

The flashcache source code and all documentation may be downloaded from \<https://github.com/facebook/flashcache/\>.

## AUTHORS

Flashcache is developed by Mohan Srinivasan \<mohan@fb.com\>

This man page was written by Liang Guo \<guoliang@debian.org\> for Debian GNU/Linux (but may be used by others).
