t/nvmept_trim: increase transfer size for some tests
[fio.git] / examples / sg_verify-fail.fio
1 #
2 # **********************************
3 # * !!THIS IS A DESTRUCTIVE TEST!! *
4 # * IF NOT CHANGED THIS TEST WILL  *
5 # * DESTROY DATA ON /dev/sdb       *
6 # **********************************
7 #
8 # Test SCSI VERIFY commands issued via the sg ioengine
9 # The jobs with fail in the name should produce errors
10 #
11 # job                   description
12 # precon                precondition the device by writing with a known
13 #                       pattern
14 # verify01              verify each block one at a time by comparing to known
15 #                       pattern
16 # verify01-fail         verifying one too many blocks should produce a failure
17 # verify11-one_ios      verify all 20 blocks by sending only 512 bytes
18 # verify11-fail         verifying beyond the preconditioned region should
19 #                       produce a failure
20
21 [global]
22 filename=/dev/sdb
23 buffer_pattern=0x01
24 ioengine=sg
25 rw=write
26 bs=512
27 number_ios=20
28 stonewall
29
30 [precon]
31
32 [verify01]
33 sg_write_mode=verify_bytchk_01
34 number_ios=20
35
36 [verify01-fail]
37 sg_write_mode=verify_bytchk_01
38 number_ios=21
39
40 [verify11-one_ios]
41 sg_write_mode=verify_bytchk_11
42 number_ios=1
43 bs=10240
44
45 [verify11-fail]
46 sg_write_mode=verify_bytchk_11
47 number_ios=1
48 bs=10752