/freebsd/tools/test/stress2/misc/ |
H A D | growfs.sh | 40 [ -c /dev/md$mdstart ] && mdconfig -d -u $mdstart 41 mdconfig -a -t swap -s 32g -u $mdstart 42 /sbin/gpart create -s GPT md$mdstart 43 /sbin/gpart add -t freebsd-ufs -s 2g -a 4k md$mdstart 46 newfs $newfs_flags md${mdstart}p1 > /dev/null 47 mount /dev/md${mdstart}p1 $mntpoint 50 checkfs /dev/md${mdstart}p1 || { s=1; echo "Initial fsck 1 fail"; } 52 gpart resize -i 1 -s 31g -a 4k md$mdstart 53 growfs -y md${mdstart}p1 > /dev/null 57 mount /dev/md${mdstart}p1 $mntpoint [all …]
|
H A D | suj3.sh | 39 mdconfig -l | grep -q md$mdstart && mdconfig -d -u $mdstart 40 mdconfig -a -t swap -s 1g -u $mdstart 43 echo test | geli init -s 4096 -J - -K /tmp/suj3.key /dev/md$mdstart > /dev/null 44 echo test | geli attach -j - -k /tmp/suj3.key /dev/md$mdstart 45 newfs /dev/md$mdstart.eli > /dev/null 47 tunefs -j enable /dev/md$mdstart.eli 48 mount /dev/md$mdstart.eli $mntpoint 54 mount | grep -q md$mdstart.eli && \ 60 checkfs /dev/md$mdstart.eli; s=$? 61 geli kill /dev/md$mdstart.eli [all …]
|
H A D | suj29.sh | 41 mdconfig -l | grep -q md$mdstart && mdconfig -d -u $mdstart 43 mdconfig -a -t swap -s 2g -u $mdstart || exit 1 45 newfs -U md$mdstart > /dev/null 46 echo "tunefs -j enable -S 10000000 /dev/md$mdstart" 47 tunefs -j enable -S 10000000 /dev/md$mdstart 49 mount /dev/md$mdstart $mntpoint 69 checkfs /dev/md$mdstart; s=$? 70 tunefs -j disable /dev/md$mdstart 71 checkfs /dev/md$mdstart || s=$? 72 mdconfig -d -u $mdstart
|
H A D | msdos3.sh | 37 mount | grep "$mntpoint" | grep -q md$mdstart && umount -f $mntpoint 38 mdconfig -l | grep -q $mdstart && mdconfig -d -u $mdstart 40 mdconfig -a -t swap -s 1g -u $mdstart 41 gpart create -s bsd md$mdstart > /dev/null 42 gpart add -t freebsd-ufs md$mdstart > /dev/null 44 newfs_msdos /dev/md${mdstart}$part > /dev/null 46 mount -t msdosfs /dev/md${mdstart}$part $mntpoint 47 mount -t msdosfs /dev/md${mdstart}$part $mntpoint || echo OK 51 while mount | grep "$mntpoint" | grep -q md$mdstart; do 54 mdconfig -d -u $mdstart
|
H A D | force2.sh | 41 mdconfig -l | grep -q md$mdstart && mdconfig -d -u $mdstart 43 mdconfig -a -t vnode -f $diskimage -u $mdstart 46 echo "newfs $flags md$mdstart" 47 newfs $flags md$mdstart > /dev/null 2>&1 48 mount /dev/md$mdstart $mntpoint 57 while mdconfig -l | grep md$mdstart; do 58 mdconfig -d -u $mdstart -o force || sleep 1 69 mdconfig -a -t vnode -f $diskimage -u $mdstart 70 fsck_ffs -Rfy /dev/md$mdstart > /dev/null; s=$? 72 mount /dev/md$mdstart $mntpoint [all …]
|
H A D | mdconfig2.sh | 36 [ -c /dev/md$mdstart ] && mdconfig -d -u $mdstart 37 mdconfig -l | grep -q md$mdstart && 38 { echo FAIL; ls -l /dev/md$mdstart; mdconfig -lv; exit 1; } 44 mdconfig -a -t swap -s 100m -u $mdstart || { s=2; break; } 45 [ -c /dev/md$mdstart ] || 46 { echo FAIL; ls -l /dev/md$mdstart; mdconfig -lv; exit 3; } 47 mdconfig -d -u $mdstart || { s=4; break; } 48 while [ $workaround -eq 1 -a -c /dev/md$mdstart ]; do 49 echo "Note: Waiting for removal of /dev/md$mdstart"
|
H A D | msdos.sh | 37 mount | grep "$mntpoint" | grep -q md$mdstart && umount -f $mntpoint 38 mdconfig -l | grep -q $mdstart && mdconfig -d -u $mdstart 40 mdconfig -a -t swap -s 1g -u $mdstart 41 gpart create -s bsd md$mdstart > /dev/null 42 gpart add -t freebsd-ufs md$mdstart > /dev/null 44 newfs_msdos /dev/md${mdstart}$part > /dev/null 45 mount -t msdosfs /dev/md${mdstart}$part $mntpoint 51 while mount | grep "$mntpoint" | grep -q md$mdstart; do 54 fsck -t msdosfs -y /dev/md${mdstart}$part > $log 2>&1 61 mdconfig -d -u $mdstart
|
H A D | msdos11.sh | 43 mount | grep "$mntpoint" | grep -q md$mdstart && umount -f $mntpoint 44 mdconfig -l | grep -q $mdstart && mdconfig -d -u $mdstart 47 mdconfig -a -t swap -s 4g -u $mdstart 48 gpart create -s bsd md$mdstart > /dev/null 49 gpart add -t freebsd-ufs md$mdstart > /dev/null 51 newfs_msdos -b 1024 /dev/md${mdstart}$part > /dev/null 52 mount -t msdosfs /dev/md${mdstart}$part $mntpoint 68 while mount | grep "$mntpoint" | grep -q md$mdstart; do 71 fsck -t msdosfs -y /dev/md${mdstart}$part > $log 2>&1 76 mount -t msdosfs /dev/md${mdstart}$part $mntpoint || exit 1 [all …]
|
H A D | mountro4.sh | 40 [ -c /dev/md$mdstart ] && mdconfig -d -u $mdstart 41 mdconfig -a -t swap -s 1g -u $mdstart 42 newfs $newfs_flags /dev/md$mdstart > /dev/null 43 mount /dev/md$mdstart $mntpoint || exit 1 58 mdconfig -d -u $mdstart 78 [ -c /dev/md$mdstart ] && mdconfig -d -u $mdstart 79 mdconfig -a -t swap -s 1g -u $mdstart 80 gpart create -s bsd md$mdstart > /dev/null 81 gpart add -t freebsd-ufs md$mdstart > /dev/null 83 newfs_msdos /dev/md${mdstart}$part > /dev/null [all …]
|
H A D | force6.sh | 39 mdconfig -l | grep -q md$mdstart && mdconfig -d -u $mdstart 41 mdconfig -a -t vnode -f $diskimage -u $mdstart 44 echo "newfs $flags md$mdstart" 45 newfs $flags md$mdstart > /dev/null 2>&1 46 mount /dev/md$mdstart $mntpoint 53 while mdconfig -l | grep -q md$mdstart; do 54 mdconfig -d -u $mdstart -o force || sleep 1 63 mdconfig -a -t vnode -f $diskimage -u $mdstart 64 fsck_ffs -Rfy /dev/md$mdstart > /dev/null; s=$? 66 mount /dev/md$mdstart $mntpoint [all …]
|
H A D | msdos9.sh | 47 mount | grep "$mntpoint" | grep -q md$mdstart && umount -f $mntpoint 48 mdconfig -l | grep -q $mdstart && mdconfig -d -u $mdstart 51 mdconfig -a -t swap -s 4g -u $mdstart 52 gpart create -s bsd md$mdstart > /dev/null 53 gpart add -t freebsd-ufs md$mdstart > /dev/null 55 newfs_msdos -b 1024 /dev/md${mdstart}$part > /dev/null 56 mount -t msdosfs /dev/md${mdstart}$part $mntpoint 65 while mount | grep "$mntpoint" | grep -q md$mdstart; do 68 fsck -t msdosfs -y /dev/md${mdstart}$part > $log 2>&1 73 mount -t msdosfs /dev/md${mdstart}$part $mntpoint || exit 1 [all …]
|
H A D | gnop5.sh | 47 [ -c /dev/md$mdstart ] && mdconfig -d -u $mdstart 49 mdconfig -a -t swap -s 2g -u $mdstart 50 gnop create -S $i /dev/md$mdstart 51 newfs $newfs_flags /dev/md$mdstart.nop > /dev/null || 53 mount /dev/md$mdstart.nop $mntpoint || 54 { gnop destroy /dev/md$mdstart.nop; mdconfig -d -u $mdstart 63 checkfs /dev/md$mdstart.nop || s=1 64 gnop destroy /dev/md$mdstart.nop 65 mdconfig -d -u $mdstart
|
H A D | msdos4.sh | 40 mount | grep "$mntpoint" | grep -q md$mdstart && umount -f $mntpoint 41 mdconfig -l | grep -q $mdstart && mdconfig -d -u $mdstart 43 mdconfig -a -t swap -s 1g -u $mdstart 44 gpart create -s bsd md$mdstart > /dev/null 45 gpart add -t freebsd-ufs md$mdstart > /dev/null 47 newfs_msdos /dev/md${mdstart}$part > /dev/null 48 mount -t msdosfs /dev/md${mdstart}$part $mntpoint || exit 1 66 while mount | grep "$mntpoint" | grep -q md$mdstart; do 69 fsck -t msdosfs -y /dev/md${mdstart}$part > $log 2>&1 76 mdconfig -d -u $mdstart
|
H A D | ext2fs2.sh | 38 mount | grep "$mntpoint" | grep -q md$mdstart && umount -f $mntpoint 39 mdconfig -l | grep -q $mdstart && mdconfig -d -u $mdstart 41 mdconfig -a -t swap -s 1g -u $mdstart 42 gpart create -s bsd md$mdstart > /dev/null 43 gpart add -t freebsd-ufs md$mdstart > /dev/null 44 mke2fs /dev/md${mdstart}a 46 # tune2fs -O ^dir_index /dev/md$mdstart 47 mount -t ext2fs /dev/md${mdstart}a $mntpoint 53 while mount | grep "$mntpoint " | grep -q md$mdstart; d [all...] |
H A D | gnop7.sh | 44 [ -c /dev/md$mdstart ] && mdconfig -d -u $mdstart 46 mdconfig -a -t swap -s 2g -u $mdstart 47 gnop create /dev/md$mdstart 48 newfs $newfs_flags /dev/md$mdstart.nop > /dev/null 49 mount /dev/md$mdstart.nop $mntpoint 61 gnop configure -e 5 -r 100 -w 100 /dev/md$mdstart.nop 63 gnop configure -e 0 -r 0 -w 0 /dev/md$mdstart.nop 75 fsck_ffs -Rfy /dev/md$mdstart.nop || s=2 76 gnop destroy /dev/md$mdstart.nop 77 mdconfig -d -u $mdstart
|
H A D | growfs2.sh | 42 [ -c /dev/md$mdstart ] && mdconfig -d -u $mdstart 43 mdconfig -a -t swap -s 32g -u $mdstart 44 /sbin/gpart create -s GPT md$mdstart > /dev/null 45 /sbin/gpart add -t freebsd-ufs -s 2g -a 4k md$mdstart > /dev/null 48 newfs $newfs_flags md${mdstart}p1 > /dev/null 49 mount /dev/md${mdstart}p1 $mntpoint 52 gpart resize -i 1 -s 31g -a 4k md$mdstart 54 growfs -y md${mdstart}p1 > $mntpoint/log && s=1 || s=0 58 fsck -fy /dev/md${mdstart}p1 > $log 2>&1 63 mdconfig -d -u $mdstart
|
H A D | msdos2.sh | 37 mount | grep "$mntpoint" | grep -q md$mdstart && umount -f $mntpoint 38 mdconfig -l | grep -q $mdstart && mdconfig -d -u $mdstart 40 mdconfig -a -t swap -s 1g -u $mdstart 41 gpart create -s bsd md$mdstart > /dev/null 42 gpart add -t freebsd-ufs md$mdstart > /dev/null 44 newfs_msdos /dev/md${mdstart}$part > /dev/null 45 mount -t msdosfs /dev/md${mdstart}$part $mntpoint 47 u=$((mdstart + 1)) 57 while mount | grep "$mntpoint" | grep -q md$mdstart; do 60 mdconfig -d -u $mdstart
|
H A D | snap8.sh | 42 mount | grep -q /dev/md$mdstart && umount -f /dev/md${mdstart} 43 mdconfig -l | grep -q md$mdstart && mdconfig -d -u $mdstart 55 mdconfig -a -t vnode -f $diskimage -u $mdstart 56 newfs -O2 $newfs_flags md$mdstart > /dev/null 57 mount /dev/md$mdstart $mntpoint 90 umount /dev/md$mdstart 92 mount | grep -q /dev/md$mdstart && umount -f /dev/md${mdstart} 93 mdconfig -l | grep -q md$mdstart && mdconfig -d -u $mdstart
|
H A D | msdos10.sh | 47 mount | grep "$mntpoint" | grep -q md$mdstart && umount -f $mntpoint 48 mdconfig -l | grep -q $mdstart && mdconfig -d -u $mdstart 51 mdconfig -a -t swap -s 4g -u $mdstart 52 gpart create -s bsd md$mdstart > /dev/null 53 gpart add -t freebsd-ufs md$mdstart > /dev/null 55 newfs_msdos -b 1024 /dev/md${mdstart}$part > /dev/null 56 mount -t msdosfs /dev/md${mdstart}$part $mntpoint 77 while mount | grep "$mntpoint" | grep -q md$mdstart; do 80 fsck -t msdosfs -y /dev/md${mdstart}$part > $log 2>&1 85 mount -t msdosfs /dev/md${mdstart}$part $mntpoint || exit 1 [all …]
|
H A D | extattrctl.sh | 46 mount | grep "$mntpoint" | grep -q md$mdstart && umount $mntpoint 47 mdconfig -l | grep -q md$mdstart && mdconfig -d -u $mdstart 49 mdconfig -a -t swap -s 20m -u $mdstart 51 newfs -O 1 md$mdstart > /dev/null 52 mount /dev/md$mdstart $mntpoint 61 tunefs -a enable /dev/md$mdstart 62 mount /dev/md$mdstart $mntpoint 63 mount | grep md$mdstart 72 mdconfig -d -u $mdstart
|
H A D | force10.sh | 41 mdconfig -l | grep -q md$mdstart && mdconfig -d -u $mdstart 43 mdconfig -a -t vnode -f $diskimage -s 1g -u $mdstart 45 echo "newfs $flags md$mdstart" 46 newfs $flags md$mdstart > /dev/null 2>&1 59 mount /dev/md$mdstart $mntpoint 67 while mdconfig -l | grep -q md$mdstart; do 68 mdconfig -d -u $mdstart -o force || sleep 1 78 mdconfig -a -t vnode -f $diskimage -s 1g -u $mdstart 80 fsck_ffs -fy /dev/md$mdstart > $log 2>&1 87 mdconfig -d -u $mdstart
|
H A D | force7.sh | 41 mdconfig -l | grep -q md$mdstart && mdconfig -d -u $mdstart 43 mdconfig -a -t vnode -f $diskimage -s 1g -u $mdstart 45 echo "newfs $flags md$mdstart" 46 newfs $flags md$mdstart > /dev/null 2>&1 54 mount /dev/md$mdstart $mntpoint 62 while mdconfig -l | grep -q md$mdstart; do 63 mdconfig -d -u $mdstart -o force || sleep 1 73 mdconfig -a -t vnode -f $diskimage -s 1g -u $mdstart 74 fsck_ffs -fyR /dev/md$mdstart > $log 2>&1; s=$? 78 mdconfig -d -u $mdstart
|
H A D | extattr2.sh | 44 mount | grep "$mntpoint" | grep -q md$mdstart && umount $mntpoint 45 mdconfig -l | grep -q md$mdstart && mdconfig -d -u $mdstart 47 mdconfig -a -t swap -s 2g -u $mdstart 49 newfs $newfs_flags md$mdstart > /dev/null 50 mount /dev/md$mdstart $mntpoint 59 tunefs -a enable /dev/md$mdstart 60 mount /dev/md$mdstart $mntpoint 61 mount | grep md$mdstart 91 checkfs /dev/md$mdstart || s=1 92 mdconfig -d -u $mdstart || s=2
|
H A D | force14.sh | 47 mdconfig -l | grep -q md$mdstart && mdconfig -d -u $mdstart 49 mdconfig -a -t vnode -f $diskimage -u $mdstart 52 newfs $flags md$mdstart > /dev/null 2>&1 62 mount /dev/md$mdstart $mntpoint 80 while mdconfig -l | grep -q md$mdstart; do 81 mdconfig -d -u $mdstart -o force || sleep 1 91 mdconfig -a -t vnode -f $diskimage -u $mdstart 94 fsck_ffs -fy /dev/md$mdstart > $log 2>&1; s=$? 98 echo "fsck_ffs -fy /dev/md$mdstart" 99 fsck_ffs -fy /dev/md$mdstart > $log 2>&1; s=$? [all …]
|
H A D | force15.sh | 40 mdstart=10 46 mdconfig -l | grep -q md$mdstart && mdconfig -d -u $mdstart 48 mdconfig -a -t vnode -f $diskimage -u $mdstart 51 newfs $flags md$mdstart > /dev/null 2>&1 55 mount /dev/md$mdstart $mntpoint 78 while mdconfig -l | grep -q md$mdstart; do 79 mdconfig -d -u $mdstart -o force || sleep 1 88 mdconfig -a -t vnode -f $diskimage -u $mdstart 92 echo "$i: fsck_ffs -fy /dev/md$mdstart" 93 fsck_ffs -fy /dev/md$mdstart > $log 2>&1; s=$? [all …]
|