Lines Matching +full:emc +full:- +full:cfg +full:- +full:2
4 # SPDX-License-Identifier: BSD-2-Clause
6 # Copyright (c) 2018 Dell EMC Isilon
13 # 2. Redistributions in binary form must reproduce the above copyright
30 # Run marcus.cfg on a quota enabled FS
35 [ `id -u ` -ne 0 ] && echo "Must be root!" && exit 1
36 [ "`sysctl -in kern.features.ufs_quota`" != "1" ] && exit 0
38 . ../default.cfg
40 mount | grep "on $mntpoint " | grep -q md$mdstart && umount $mntpoint
41 [ -c /dev/md$mdstart ] && mdconfig -d -u $mdstart
43 mdconfig -a -t swap -s 2g -u $mdstart || exit 1
46 trap "rm -f $PATH_FSTAB" 0
47 echo "/dev/md$mdstart $mntpoint ufs rw,userquota 2 2" > $PATH_FSTAB
49 set `df -ik $mntpoint | tail -1 | awk '{print $4,$7}'`
51 export INODES=$2
56 edquota -u -f $mntpoint -e \
57 ${mntpoint}:$((QK - 50)):$QK:$((QI - 50 )):$QI $testuser > \
58 /dev/null 2>&1
64 su $testuser -c 'cd ..; ./run.sh marcus.cfg > /dev/null 2>&1'
73 while mount | grep "on $mntpoint " | grep -q /dev/md; do
76 [ $n -gt 60 ] && exit 1
78 mdconfig -d -u $mdstart