summaryrefslogtreecommitdiff
path: root/scrub/e2scrub.conf.in
diff options
context:
space:
mode:
authorDarrick J. Wong <darrick.wong@oracle.com>2018-03-23 18:57:09 -0700
committerTheodore Ts'o <tytso@mit.edu>2018-08-05 14:43:12 -0400
commit5ce368f07cb2e53d8b6d5aaeaa3ca47029c8a1d6 (patch)
treecf6074d9cf26d040103b805beef3e6f63da65182 /scrub/e2scrub.conf.in
parent2b17b98e41180d17b4916a9e13a2a891906653a7 (diff)
downloade2fsprogs-5ce368f07cb2e53d8b6d5aaeaa3ca47029c8a1d6.tar.gz
e2scrub: create online fsck tool of sorts
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>
Diffstat (limited to 'scrub/e2scrub.conf.in')
-rw-r--r--scrub/e2scrub.conf.in10
1 files changed, 10 insertions, 0 deletions
diff --git a/scrub/e2scrub.conf.in b/scrub/e2scrub.conf.in
new file mode 100644
index 00000000..d578cc72
--- /dev/null
+++ b/scrub/e2scrub.conf.in
@@ -0,0 +1,10 @@
+# e2scrub configuration file
+
+# Snapshots will be created to run fsck; the snapshot will be of this size.
+# snap_size_mb=256
+
+# Set this to 1 to enable fstrim for everyone.
+# fstrim=0
+
+# Arguments passed into e2fsck.
+# e2fsck_opts="-vtt"