blob: 0a0a05fc8759b86450b1522dfe82f4019c9535b6 [file] [log] [blame]
#!/bin/bash
set -x
dd if=/dev/zero of=/EMPTY bs=1M || true
rm -f /EMPTY
for m in $(cat /proc/mounts |grep '/dev/mapper/vg0' | awk '{print $2}'); do
dd if=/dev/zero of=${m}/EMPTY bs=1M || true
rm -fv ${m}/EMPTY
done
echo 3 > /proc/sys/vm/drop_caches
sync