Lines Matching +full:emc +full:- +full:cfg
4 # Copyright (c) 2016 EMC Corp.
29 [ `id -u ` -ne 0 ] && echo "Must be root!" && exit 1
36 . ../default.cfg
38 [ `sysctl -n vm.swap_total` -eq 0 ] && exit 0
39 [ `sysctl -n hw.physmem` -gt $(( 4 * 1024 * 1024 * 1024)) ] &&
42 mount | grep $mntpoint | grep -q /dev/md && umount -f $mntpoint
43 mdconfig -l | grep -q md$mdstart && mdconfig -d -u $mdstart
44 mdconfig -a -t swap -s 1g -u $mdstart
52 su $testuser -c 'cd ..; ./run.sh marcus.cfg' &
55 swapoff -a
57 swapon -a
62 while mount | grep $mntpoint | grep -q /dev/md; do
65 [ $n -gt 300 ] && { echo FAIL; exit 1; }
67 mdconfig -d -u $mdstart