I am attempting to use fio to verify data on storage after a shutdown, to this purpose using fio write with --trigger-file option to stop fio operation midway through (and simulate power down). and then fio read with --verify_state_load option to check only portions of data that managed to complete, however verify fails, seems that state_load has no effect (read verify will work correctly as expected if write job is not terminated partially though by trigger).
write job parameters:
[global]
verify_fatal=1
do_verify=0
loops=1
group_reporting=1
filename=/dev/nvme0n1
cpus_allowed=0-7
cpus_allowed_policy=split
runtime=0
verify=crc32c-intel
direct=1
rw=randwrite
verify_offset=100
ioengine=libaio
iodepth=32
size=200mb
bs=4096
verify_backlog=16384.0
[job_0]
size=209715200
offset=0
[job_1]
size=209715200
offset=1744830464
[job_2]
size=209715200
offset=3489660928
[job_3]
size=209715200
offset=5234491392
[job_4]
size=209715200
offset=6979321856
[job_5]
size=209715200
offset=8724152320
[job_6]
size=209715200
offset=10468982784
[job_7]
size=209715200
offset=12213813248
read job parameters:
[global]
verify_fatal=1
do_verify=1
loops=1
group_reporting=1
filename=/dev/nvme0n1
cpus_allowed=0-7
verify_state_load=1
cpus_allowed_policy=split
runtime=0
verify=crc32c-intel
direct=1
rw=read
verify_offset=100
ioengine=libaio
iodepth=32
size=1mb
bs=4096
verify_backlog=16384.0
[job_0]
size=1048576
offset=0
[job_1]
size=1048576
offset=1744830464
[job_2]
size=1048576
offset=3489660928
[job_3]
size=1048576
offset=5234491392
[job_4]
size=1048576
offset=6979321856
[job_5]
size=1048576
offset=8724152320
[job_6]
size=1048576
offset=10468982784
[job_7]
size=1048576
offset=1221381324
errors in read job:
starting 8 processes
job_5: No I/O performed by libaio, perhaps try --debug=io option for details?
job_4: No I/O performed by libaio, perhaps try --debug=io option for details?
job_7: No I/O performed by libaio, perhaps try --debug=io option for details?
job_6: No I/O performed by libaio, perhaps try --debug=io option for details?
job_3: No I/O performed by libaio, perhaps try --debug=io option for details?
job_2: No I/O performed by libaio, perhaps try --debug=io option for details?
verify: bad header offset 466944, wanted 20480 at file /dev/nvme0n1 offset 20480, length 4096
verify: bad header offset 462848, wanted 24576 at file /dev/nvme0n1 offset 24576, length 4096
job_0: No I/O performed by libaio, perhaps try --debug=io option for details?
fio: pid=1920, err=84/file:io_u.c:1985, func=io_u_queued_complete, error=Invalid or incomplete multibyte or wide characte
r
Aucun commentaire:
Enregistrer un commentaire