aboutsummaryrefslogtreecommitdiffstats
path: root/scrub
Commit message (Collapse)AuthorAgeFilesLines
* e2scrub: fix makefile MKINSTALLDIRS -> MKDIR_PDarrick J. Wong2018-09-061-10/+10
| | | | | | | Fix the MKINSTALLDIRS -> MKDIR_P transition in the scrub/ dir. Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com> Signed-off-by: Theodore Ts'o <tytso@mit.edu>
* e2scrub: add service (cron, systemd) supportDarrick J. Wong2018-08-0511-11/+330
| | | | | | | | Add the ability to run the e2scrub utilities as a periodically scheduled system service. Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com> Signed-off-by: Theodore Ts'o <tytso@mit.edu>
* e2scrub: create a script to scrub all ext* filesystemsDarrick J. Wong2018-08-054-2/+131
| | | | | | | | | Create an e2scrub_all command to find all ext* filesystems and run an online scrub against them all. Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com> Reviewed-by: Andreas Dilger <adilger@dilger.ca> Signed-off-by: Theodore Ts'o <tytso@mit.edu>
* e2scrub: create online fsck tool of sortsDarrick J. Wong2018-08-055-0/+408
Implement online fsck for ext* filesystems which live on LVM-managed logical volumes. The basic strategy mirrors that of e2croncheck -- create a snapshot, fsck the snapshot, report whatever errors appear, remove snapshot. Unlike e2croncheck, this utility accepts any LVM device path, knows about snapshots running out of space, and can call fstrim having validated that the fs metadata is ok. Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com> Signed-off-by: Theodore Ts'o <tytso@mit.edu>