Running FIO test in certain section of hard disk drive

I am trying to use FIO to perform performance test on HDDs. I want to restrict random read test in particular section of HDD (For eg: Random read in first 1TB of HDDs). Can someone please let me know which argument in the config file I should to restrict test run in certain section of drives.

1 Answer

The most universal solution would be to partition you HDDs in the way you like (e.g. create a 1TB partition in the beginning of the drive) and run your tests on that partition.

A simpler solution is to run tests directly on the device file and use offset=int and size=int parameters to define which part of the HDD is to be tested. Of course, you won't be able to run filesystem tests on an arbitrary HDD region without partitioning and formatting it properly first, in which case, see above.

2

Your Answer

Sign up or log in

Sign up using Google Sign up using Facebook Sign up using Email and Password

Post as a guest

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

You Might Also Like