-lversion=2 -ologbsize=32k
-lversion=2,su=4096 -ologbsize=32k
-lversion=2,su=32768 -ologbsize=32k
-#
-# expect following line to fail
-#
- -lversion=2,su=36864 -ologbsize=32k
-#
-# following is not a power of 2 BBs
-#
- -lversion=2,su=5120 -ologbsize=32k
+ -lversion=2,su=32768 -ologbsize=64k
EOF
# Do the work for various log params which
fi
# check before on what FS should look like
- _echofull "ls $SCRATCH_MNT"
+ _echofull "ls SCRATCH_MNT"
ls $SCRATCH_MNT
_echofull "godown"
|| _fail "mount failed: $MOUNT_OPTIONS"
# check on what FS looks like after log recovery
- _echofull "ls $SCRATCH_MNT"
+ _echofull "ls SCRATCH_MNT"
ls $SCRATCH_MNT
_echofull "unmount"
*** mount ***
-*** ls /mnt/scratch ***
+*** ls SCRATCH_MNT ***
00
01
*** mount with replay ***
-*** ls /mnt/scratch ***
+*** ls SCRATCH_MNT ***
00
01
*** mount ***
-*** ls /mnt/scratch ***
+*** ls SCRATCH_MNT ***
00
01
*** mount with replay ***
-*** ls /mnt/scratch ***
+*** ls SCRATCH_MNT ***
00
01
*** mount ***
-*** ls /mnt/scratch ***
+*** ls SCRATCH_MNT ***
00
01
*** mount with replay ***
-*** ls /mnt/scratch ***
+*** ls SCRATCH_MNT ***
00
01
*** filesystem is checked ok ***
---- mkfs=-lversion=2,su=36864, mnt=-ologbsize=32k, sync=sync ---
+--- mkfs=-lversion=2,su=32768, mnt=-ologbsize=64k, sync=sync ---
*** mkfs ***
*** mount ***
-*** mount failed: -ologbsize=32k ***
+*** ls SCRATCH_MNT ***
---- mkfs=-lversion=2,su=5120, mnt=-ologbsize=32k, sync=sync ---
+00
+01
+02
+03
+04
+05
+06
+07
+08
+09
+10
+11
+12
+13
+14
+15
+16
+17
+18
+19
+20
+21
+22
+23
+24
+25
+26
+27
+28
+29
+30
+31
+32
+33
+34
+35
+36
+37
+38
+39
+40
+41
+42
+43
+44
+45
+46
+47
+48
+49
+50
+51
+52
+53
+54
+55
+56
+57
+58
+59
+60
+61
+62
+63
+64
+65
+66
+67
+68
+69
+70
+71
+72
+73
+74
+75
+76
+77
+78
+79
+80
+81
+82
+83
+84
+85
+86
+87
+88
+89
+90
+91
+92
+93
+94
+95
+96
+97
+98
+99
-*** mkfs ***
+*** godown ***
+
+
+*** unmount ***
+
+
+*** logprint after going down... ***
+
+dirty log
+*** mount with replay ***
+
+
+*** ls SCRATCH_MNT ***
+
+00
+01
+02
+03
+04
+05
+06
+07
+08
+09
+10
+11
+12
+13
+14
+15
+16
+17
+18
+19
+20
+21
+22
+23
+24
+25
+26
+27
+28
+29
+30
+31
+32
+33
+34
+35
+36
+37
+38
+39
+40
+41
+42
+43
+44
+45
+46
+47
+48
+49
+50
+51
+52
+53
+54
+55
+56
+57
+58
+59
+60
+61
+62
+63
+64
+65
+66
+67
+68
+69
+70
+71
+72
+73
+74
+75
+76
+77
+78
+79
+80
+81
+82
+83
+84
+85
+86
+87
+88
+89
+90
+91
+92
+93
+94
+95
+96
+97
+98
+99
-*** Cannot mkfs for this test using option specified: -lversion=2,su=5120 -lsize=2000b ***
+*** unmount ***
+
+
+*** logprint after mount and replay... ***
+clean log
-*** mkfs failed: -lversion=2,su=5120 ***
+*** filesystem is checked ok ***
--- mkfs=-lversion=2, mnt=-ologbsize=32k, sync=nosync ---
*** mount ***
-*** ls /mnt/scratch ***
+*** ls SCRATCH_MNT ***
00
01
*** mount with replay ***
-*** ls /mnt/scratch ***
+*** ls SCRATCH_MNT ***
00
01
*** mount ***
-*** ls /mnt/scratch ***
+*** ls SCRATCH_MNT ***
00
01
*** mount with replay ***
-*** ls /mnt/scratch ***
+*** ls SCRATCH_MNT ***
00
01
*** mount ***
-*** ls /mnt/scratch ***
+*** ls SCRATCH_MNT ***
00
01
*** mount with replay ***
-*** ls /mnt/scratch ***
+*** ls SCRATCH_MNT ***
00
01
*** filesystem is checked ok ***
---- mkfs=-lversion=2,su=36864, mnt=-ologbsize=32k, sync=nosync ---
+--- mkfs=-lversion=2,su=32768, mnt=-ologbsize=64k, sync=nosync ---
*** mkfs ***
*** mount ***
-*** mount failed: -ologbsize=32k ***
+*** ls SCRATCH_MNT ***
---- mkfs=-lversion=2,su=5120, mnt=-ologbsize=32k, sync=nosync ---
+00
+01
+02
+03
+04
+05
+06
+07
+08
+09
+10
+11
+12
+13
+14
+15
+16
+17
+18
+19
+20
+21
+22
+23
+24
+25
+26
+27
+28
+29
+30
+31
+32
+33
+34
+35
+36
+37
+38
+39
+40
+41
+42
+43
+44
+45
+46
+47
+48
+49
+50
+51
+52
+53
+54
+55
+56
+57
+58
+59
+60
+61
+62
+63
+64
+65
+66
+67
+68
+69
+70
+71
+72
+73
+74
+75
+76
+77
+78
+79
+80
+81
+82
+83
+84
+85
+86
+87
+88
+89
+90
+91
+92
+93
+94
+95
+96
+97
+98
+99
-*** mkfs ***
+*** godown ***
+
+
+*** unmount ***
+
+
+*** logprint after going down... ***
+
+dirty log
+*** mount with replay ***
+
+
+*** ls SCRATCH_MNT ***
+
+00
+01
+02
+03
+04
+05
+06
+07
+08
+09
+10
+11
+12
+13
+14
+15
+16
+17
+18
+19
+20
+21
+22
+23
+24
+25
+26
+27
+28
+29
+30
+31
+32
+33
+34
+35
+36
+37
+38
+39
+40
+41
+42
+43
+44
+45
+46
+47
+48
+49
+50
+51
+52
+53
+54
+55
+56
+57
+58
+59
+60
+61
+62
+63
+64
+65
+66
+67
+68
+69
+70
+71
+72
+73
+74
+75
+76
+77
+78
+79
+80
+81
+82
+83
+84
+85
+86
+87
+88
+89
+90
+91
+92
+93
+94
+95
+96
+97
+98
+99
-*** Cannot mkfs for this test using option specified: -lversion=2,su=5120 -lsize=2000b ***
+*** unmount ***
+
+
+*** logprint after mount and replay... ***
+clean log
-*** mkfs failed: -lversion=2,su=5120 ***
+*** filesystem is checked ok ***