first do a write test
dd if=/dev/zero of=/data/testfile bs=1M count=1024 oflag=direct
then do a read test
dd if=/data/testfile of=/dev/null bs=1M count=1024
then erase the test file
rm /data/testfile
first do a write test
dd if=/dev/zero of=/data/testfile bs=1M count=1024 oflag=direct
then do a read test
dd if=/data/testfile of=/dev/null bs=1M count=1024
then erase the test file
rm /data/testfile