man > e2scrub_all(8)

📛 Name

e2scrub_all — check all mounted ext[234] file systems for errors.

🚀 Quick Reference

Use CaseCommandDescription
Check all mounted ext2/3/4 filesystemse2scrub_allScans LVM logical volumes, checks for errors, tags corrupt ones.
Dry run (print commands only)e2scrub_all -nShows what would be executed without actually running checks.
Remove snapshots onlye2scrub_all -rRemoves e2scrub snapshots, no filesystem check.
Scrub all filesystems (even unmounted)e2scrub_all -AScrubs all ext2/3/4 filesystems regardless of mount status.
Print versione2scrub_all -VDisplays version information and exits.

📄 Synopsis

e2scrub_all [OPTION]

📖 Description

Searches the system for all LVM logical volumes containing an ext2, ext3, or ext4 file system, and checks them for problems. The checking is performed by invoking the e2scrub tool, which will look for corruptions. Corrupt file systems will be tagged as having errors so that fsck will be invoked before the next mount. If no errors are encountered, fstrim will be called on the file system if it is mounted. See the e2scrub manual page for more information about how the checking is performed.

âš™ī¸ Options

đŸˇī¸ -n

Print what commands e2scrub_all would execute to initiate the e2scrub operations. (Note: these commands will not actually be executed; however, since e2scrub_all needs to run some additional, privileged commands to query the system to determine which e2scrub commands would be executed, it still needs to be run as root.)

đŸ—‘ī¸ -r

Remove e2scrub snapshots but do not check anything.

🔍 -A

Scrub all ext[234] file systems even if they are not mounted.

📌 -V

Print version information and exit.

📚 See Also

e2scrub(8)

âœī¸ Author

Darrick J. Wong <darrick.wong AT oracle.com>

ÂŠī¸ Copyright

Copyright Š2018 Oracle. License is GPLv2+. <http://www.gnu.org/licenses/gpl-2.0.html>

e2scrub_all(8)
📛 Name 🚀 Quick Reference 📄 Synopsis 📖 Description âš™ī¸ Options
đŸˇī¸ -n đŸ—‘ī¸ -r 🔍 -A 📌 -V
📚 See Also âœī¸ Author ÂŠī¸ Copyright

Generated by phpman v4.9.27 · Markdown · JSON · MCP Author: Che Dong Under GNU General Public License
2026-07-18 20:20 @2600:1f28:365:80b0:b91e:58eb:6587:15c8
CrawledBy CCBot/2.0 (https://commoncrawl.org/faq/)
Valid XHTML 1.0 Transitional!Valid CSS!
Enhanced by LLM: deepseek-v4-flash / taotoken.net / www.chedong.com - original format