Steps to setting-up fio on BrickstorOS to do basic stress-testing of disks
; -- start job file --
[trash-disks]
filename_format=$jobname-$jobnum-$filenum.data
filesize=10G
ioengine=solarisaio
iodepth=10
iodepth_batch=4
fallocate=posix
rw=readwrite
bs=32k
direct=0
size=10T
numjobs=4
time_based
runtime=86400
; -- end job file --
Assume location of fio is /bp/root/fio
.
vi
, at which point copy contents of the job. # ln -fs /lib/libz.so.1 /lib/libz.so
# zpool create -o cachefile=/etc/.zpools/spa_info -m /storage/p01 p01 $(iostat -en | awk '/c0t5000C/ {print $NF}'|xargs)
# zfs create -p p01/test/d01
# cd /storage/p01/test/01
# vi fio.job
# /bp/root/fio ./fio.job