Lines Matching +full:- +full:- +full:volume
3 # e2croncheck -- run e2fsck automatically out of /etc/cron.weekly
11 # Make sure you customize "VG" so it is your LVM volume group name,
12 # "VOLUME" so it is the name of the filesystem's logical volume,
13 # and "EMAIL" to be your e-mail address
22 VOLUME=root
26 TMPFILE=`mktemp ${TMPDIR:-/tmp}/e2fsck.log.XXXXXXXXXX`
28 OPTS="-Fttv -C0"
29 #OPTS="-Fttv -E fragcheck"
31 set -e
33 lvcreate -s -L ${SNAPSIZE} -n "${VOLUME}-snap" "${VG}/${VOLUME}"
34 if nice logsave -as $TMPFILE e2fsck -p $OPTS "/dev/${VG}/${VOLUME}-snap" && \
35 nice logsave -as $TMPFILE e2fsck -fy $OPTS "/dev/${VG}/${VOLUME}-snap" ; then
37 tune2fs -C 0 -T "${START}" "/dev/${VG}/${VOLUME}"
40 tune2fs -C 16000 -T "19000101" "/dev/${VG}/${VOLUME}"
41 if test -n "$RPT-EMAIL"; then
42 mail -s "E2fsck of /dev/${VG}/${VOLUME} failed!" $EMAIL < $TMPFILE
45 lvremove -f "${VG}/${VOLUME}-snap"