Lines Matching +full:emc +full:- +full:cfg +full:- +full:2
4 # Copyright (c) 2018 Dell EMC Isilon
12 # 2. Redistributions in binary form must reproduce the above copyright
31 [ `id -u ` -ne 0 ] && echo "Must be root!" && exit 1
32 [ `sysctl -n vm.swap_total` -eq 0 ] && exit 0
33 [ `sysctl -n hw.physmem` -lt $(( 4 * 1024 * 1024 * 1024)) ] && exit 0
35 . ../default.cfg
39 mount | grep $mntpoint | grep -q /dev/md && umount -f $mntpoint
40 [ -c /dev/md$mdstart ] && mdconfig -d -u $mdstart
41 mdconfig -a -t swap -s $size -u $mdstart || exit 1
44 gjournal label -s $jsize md$mdstart
46 newfs -J /dev/md$mdstart.journal > /dev/null
47 mount -o async /dev/md$mdstart.journal $mntpoint
55 su $testuser -c 'cd ..; ./run.sh marcus.cfg' > /dev/null 2>&1
58 while mount | grep $mntpoint | grep -q /dev/md; do
64 mdconfig -d -u $mdstart