mfsmetadirinfo(8)
β¨ mfsmetadirinfo β¨ β the MooseFS meta-directory-info girlie
okay so bestie, welcome to mfsmetadirinfo, one of the little tools that ships with MooseFS π it's giving "detective mode" for your filesystem β no cap.
πΈ NAME πΈ
mfsmetadirinfo β uses MooseFS metadata to calculate precise directory information (similar to mfsdirinfo). literally the receipts version of mfsdirinfo, fr fr π§Ύβ¨
π¦ SYNOPSIS π¦
mfsmetadirinfo [-f J|C|C x] [-o outputfile] [-a sum_name] metadata_file
PATH [PATH...]
π DESCRIPTION π
so mfsmetadirinfo is a tool that can be used to calculate precise directory information β things like number of inodes, number of chunks, total length of all files, size, real size, etc. π
and the output?? she's flexible. plain text, CSV, or JSON, pick your vibe. the data for all those calculations gets read from the indicated metadata.mfs mfs master metadata file, and it's calculated for the directory(ies) you specify with the PATH parameter(s) β relative in mfs instance, just so we're clear π«Ά
default output is human-readable plain text, and JSON or CSV can be selected using options. iconic honestly.
β¨ Options β¨
-fβ switch output format to JSON (J) or CSV (C); for CSV, if onlyCis specified, default separator will be used (comma), if second character is specified, this character will be used as the separator in CSV data π«-oβ write output to outputfile instead of stdout-aβ optional parameter that indicates the tool should calculate the information for all supplied paths together (a sum), this calculation is indicated by sum_name in output datametadata_fileβ path tometadata.mfsfile π
π OUTPUT FIELDS π
for each PATH and, if defined, for sum_name, following information will be indicated:
inodesβ number of all unique inodes (file system objects)filesβ number of all unique filesdirsβ number of all unique directorieschunksβ number of all unique chunkskchunksβ number of all unique chunks using KEEP policyachunksβ number of all unique chunks using ARCH policylengthβ total length of all unique filessizeβ total size of all unique chunksrsizeβ total real size of all unique chunks (number of copies taken into account)ksizeβ hypothetical real size of all unique chunks if all were using KEEP policyasizeβ hypothetical real size of all unique chunks if all were using ARCH policy
π REPORTING BUGS π
found a bug? don't suffer in silence bestie, report bugs to <bugs@moosefs.com>. π
π COPYRIGHT π
Copyright (C) 2026 Jakub Kruszona-Zawadzki, Saglabs SA
This file is part of MooseFS.
MooseFS is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, version 2 (only).
MooseFS is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with this program; if not, see <https://www.gnu.org/licenses/>.
π SEE ALSO π
MooseFS 4.59.2-1 π May 2026 β k bye bestie, go count some inodes, you ate π β¨π«Ά
π¦ where this page comes from
- arch rolling: moosefs 4.59.2-2 Β· GPL-2.0-only
- nixos 26.05: moosefs 4.59.2
- nixpkgs unstable: moosefs 4.59.2
- ubuntu stonking: moosefs-master 4.59.2-1 Β· GPL-2.0-only
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms