mfstools(1)
β¨ NAME β¨
mfstools β the whole MooseFS bestie toolkit π it does all the MooseFS-specific operations, and honestly? it's a whole squad, not just one command. So let me introduce you to everyone in the group chat, block by block π
ποΈ TRASH RETENTION MANAGEMENT TOOLS
mfsgettrashretention, mfssettrashretention, mfscopytrashretention
π EXTRA ATTRIBUTES MANAGEMENT TOOLS
mfsgeteattr, mfsseteattr, mfsdeleattr, mfscopyeattr
π¦ ARCHIVE BIT MANIPULATION TOOLS
mfschkarchive, mfssetarchive, mfsclrarchive
π©Ί DIAGNOSTIC TOOLS
mfscheckfile, mfsfileinfo, mfsdirinfo, mfsfilepaths, mfsfilerepair
π QUOTA MANAGEMENT TOOLS
mfsgetquota, mfssetquota, mfsdelquota, mfscopyquota
πΈ SNAPSHOT TOOLS
mfsappendchunks, mfsmakesnapshot, mfsrmsnapshot
π STORAGE CLASSES MANAGEMENT TOOLS
mfsgetsclass, mfssetsclass, mfscopysclass, mfsxchgsclass
π ACL MANAGEMENT TOOLS
mfsgetfacl, mfssetfacl
π STORAGE CLASSES ADMINISTRATION TOOLS
mfscreatesclass, mfsmodifysclass, mfsdeletesclass, mfsclonesclass, mfsrenamesclass, mfslistsclass, mfsimportsclass
π§ PATTERNS ADMINISTRATION TOOLS
mfscreatepattern, mfsdeletepattern, mfslistpattern
π NOTES π
π’ GENERAL OPTIONS
okay so most of mfstools share the same little number-glow-up squad: -n, -h, -H, -k, -m and -g. These are all about how your numbers get printed, and bestie there are options:
-nβ prints exact numbers, no shortcuts, no vibes, just the raw truth π―-hβ uses binary prefixes:Ki,Mi,Gi, which are 2^10, 2^20, etc.-Hβ uses SI prefixes:k,M,G, which are 10^3, 10^6, etc.-kβ shows plain numbers in kibis (that's binary kilo,1024)-mβ shows plain numbers in mebis (binary mega,1024^2)-gβ shows plain numbers in gibis (binary giga,1024^3)
β¨ plot twist β¨ you can get all the same behaviour by setting the MFSHRFORMAT environment variable, and here's the mapping because it is giving secret menu:
0β exact numbers1orhβ binary prefixes2orHβ SI prefixes3orh+β exact numbers and binary prefixes4orH+β exact numbers and SI prefixes
The default, if you don't say anything? Just exact numbers. periodt.
𧬠INHERITANCE
When a new object gets created in MooseFS, its attributes β storage class, trash retention, extra attributes β are inherited from the parent directory. It's giving strong family resemblance, honestly.
So like, if you set the "noowner" attribute and set storage class to "important" in a directory, then every new object created in that directory will have storage class set to "important" and the "noowner" flag set. A newly created object always inherits the current set of its parent's attributes. π«Ά
β οΈ but listen: changing a directory attribute does not affect its already-created children. The past is the past, bestie. If you want to change an attribute for a directory and all of its children, use the -r option.
π― PATTERNS
Since version 4.2.0 and above, those attributes we just talked about (storage class, trash retention and extra attributes) can be overridden by defining specific name patterns. iconique behaviour fr fr π
π REPORTING BUGS π
Found a bug? Not the cute kind? π 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 π
mfstrashretention(1), mfseattr(1), mfsarchive(1), mfsdiagtools(1), mfsquota(1), mfssnapshots(1), mfssclass(1), mfsfacl(1), mfsscadmin(1), mfspatadmin(1), mfsmount(8)
and that's the whole page, bestie π this one's from MooseFS 4.59.2-1, dated May 2026, and yeah β it's part of MooseFS in case the "This is part of MooseFS" at the top didn't already give it away π go forth and slay your filesystem ππ¦
π¦ 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-client 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