Product SiteDocumentation Site

4.3. mkfs - Allocation groups

An XFS filesystem is divided into allocation groups
More allocation groups offer more parallelism when allocating blocks and inodes
To create filesystem with 16 allocation groups you would use
mkfs.xfs -d acount=16 device
To create a filesystem with a specific size for the allocation groups
mkfs.xfs -d agsize=4g device
Filesystems with too few or too many allocation groups should be avoided.