xfs_healer(8)
β¨ xfs_healer β the manual page, but make it cute β¨
okay bestie, welcome to xfs_healer(8), straight out of the System Manager's Manual π this is the daemon that just... heals your XFS metadata for you. no big deal. it is a big deal actually.
πΈ NAME πΈ
xfs_healer β automatically heal damage to XFS filesystem metadata π©Ήβ¨
π¦ SYNOPSIS π¦
xfs_healer [ OPTIONS ] mount-point
xfs_healer -V
like. that's it. that's the whole summoning ritual π
π DESCRIPTION π
xfs_healer is a daemon that tries to automatically repair damaged XFS filesystem metadata. she's your little metadata nurse π©Ί no cap.
WARNING! This program is EXPERIMENTAL, which means that its behavior and interface could change at any time! π do not get attached. she's still figuring herself out.
xfs_healer asks the kernel to report all observations of corrupt metadata, media errors, filesystem shutdowns, and file I/O errors. and then, when runtime metadata corruption errors show up, she can respond by initiating targeted repairs of the suspect metadata, or by kicking off a full online fsck of the filesystem. she's got range π
Normally this program runs as a systemd service. the service gets activated via the xfs_healer_start service if systemd is supported. (iykyk π)
The kernel may not support repairing or optimizing the filesystem. if that's the vibe, the filesystem must be unmounted and xfs_repair(8) run on the filesystem to fix the problems. rude, but that's the rules π
π OPTIONS π
--everythingβ Ask the kernel to send us good metadata health events, not only events related to metadata corruption, media errors, shutdowns, and I/O errors. she wants the whole tea, not just the drama βπ--foregroundβ Start enough event handling threads to allow consumption of all online CPUs. If not specified, start exactly one event handling thread. one single thread. living her simple life π§--no-autofsckβ Do not use theautofsckfilesystem property to decide whether or not to repair corrupt metadata. If the--repairoption is given, then all corruptions will be repaired. If the--repairoption is not given, then the program will never try to repair the filesystem. so basically: you decide, she obeys π«Ά--quietβ Do not print every event to standard output. she's being demure π--repairβ Always try to repair each piece of corrupt metadata when the kernel tells us about it. If an individual repair fails or the kernel tells us that health events were lost, thexfs_scrubservice for this mount point will be launched. The default is not to try to repair anything. If this option is specified but the kernel does not support repairs, the program will exit. π harsh but honest--supportedβ Check if the filesystem supports sending health events. Exits with0if it does, and non-zero if not. vibe check, basically β β-Vβ Prints the version number and exit. that's the whole thing. she's an icon β
π AUTOFSCK π
By default, this program will read the autofsck filesystem property to decide if it should try to repair corruptions. If the property is set to these values:
repairβ Corruptions will be repaired. πcheckoroptimizeβ Corruptions will be logged. πnoneβ The program will exit. πͺ she's leaving
If the property is not set but the filesystem supports any back-reference metadata (reverse mappings and parent pointers), then corruptions will be logged. If no back-reference metadata are present, the program will exit.
See the xfs_scrub(8) manual page for more details on this filesystem property. she explains it better, fr fr π
π₯ CAVEATS π₯
xfs_healer is an immature utility! π
Do not run this program unless you have backups of your data! like. seriously bestie. back it up. back it up TWICE. π
This program takes advantage of in-kernel scrubbing to verify a given data structure with locks held and can keep the filesystem busy for a long time. The kernel must be new enough to support the SCRUB_METADATA ioctl. no old kernels allowed, sorry π
If errors are found and cannot be repaired, the filesystem must be unmounted and repaired. periodt. π
π SEE ALSO π
xfs_repair(8) and xfs_scrub(8). the whole girl squad π«Ά
and that's the page, bestie π this was xfs_healer(8) from the System Manager's Manual β page xfs_healer(8), that's the source, that's the version, that's the date tag living down in the footer. go heal some metadata, but back up first, love u πΈπ¦β¨
π¦ where this page comes from
- alpine 3.24: xfsprogs-doc 7.0.1-r0 Β· LGPL-2.1-or-later
- arch rolling: xfsprogs 7.2.0-1
- arch rolling: xfsprogs 7.2.1-1 Β· GPL-2.0-only AND LGPL-2.1-only
- fedora 44: xfsprogs 7.1.1-1.fc44 Β· GPL-1.0-or-later AND LGPL-2.1-or-later
- fedora 44: xfsprogs 7.1.1-1.fc44 Β· GPL-1.0-or-later AND LGPL-2.1-or-later
- nixpkgs unstable: xfsprogs 7.2.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms