.SH DESCRIPTION
.B e2scrub
attempts to check (but not repair) all metadata in a mounted ext[234]
-filesystem if the filesystem resides on a LVM logical volume.
+filesystem if the filesystem resides on an LVM logical volume.
The block device of the LVM logical volume can also be passed in.
This program snapshots the volume and runs a file system check on the snapshot
# along with this program; if not, write the Free Software Foundation,
# Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA.
-# Automatically check a LVM-managed filesystem online.
+# Automatically check an LVM-managed filesystem online.
# We use lvm snapshots to do this, which means that we can only
# check filesystems in VGs that have at least 256MB (or so) of
# free space.
print_help() {
echo "Usage: $0 [OPTIONS] mountpoint | device"
echo
- echo "mountpoint must be on a LVM-managed block device"
+ echo "mountpoint must be on an LVM-managed block device"
echo "-n: Show what commands e2scrub would execute."
echo "-r: Remove e2scrub snapshot and exit, do not check anything."
echo "-t: Run fstrim if successful."
eval "${lvm_vars}"
if [ -z "${LVM2_VG_NAME}" ] || [ -z "${LVM2_LV_NAME}" ] ||
echo "${LVM2_LV_ROLE}" | grep -q "snapshot"; then
- echo "${arg}: Not connnected to a LVM logical volume."
+ echo "${arg}: Not connnected to an LVM logical volume."
print_help
exitcode 16
fi