Home
last modified time | relevance | path

Searched refs:mdstart (Results 1 – 25 of 485) sorted by relevance

12345678910>>...20

/freebsd/tools/test/stress2/misc/
H A Dgrowfs.sh40 [ -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 Dsuj3.sh39 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 Dsuj29.sh41 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 Dmsdos3.sh37 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 Dforce2.sh41 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 Dmdconfig2.sh36 [ -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 Dmsdos.sh37 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 Dmsdos11.sh43 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 Dmountro4.sh40 [ -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 Dforce6.sh39 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 Dmsdos9.sh47 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 Dgnop5.sh47 [ -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 Dmsdos4.sh40 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 Dext2fs2.sh38 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 Dgnop7.sh44 [ -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 Dgrowfs2.sh42 [ -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 Dmsdos2.sh37 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 Dsnap8.sh42 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 Dmsdos10.sh47 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 Dextattrctl.sh46 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 Dforce10.sh41 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 Dforce7.sh41 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 Dextattr2.sh44 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 Dforce14.sh47 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 Dforce15.sh40 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 …]

12345678910>>...20