General Topics

IntegrityCheckerJava

DiskTester

MemoryTester

IntegrityChecker

dgl

Tips and How-To

Troubleshooting

create-files

The create-files command creates files and reads them, to characterize drive performance. It is used by the fill-volume command.

Creation of files can be useful for various testing purposes, including speed testing. This function is available only via the command line, not the GUI.

Command line usage

The command line allows greater control. Please use disktester help create-files for details on the available options. In general, there is little reason to use the command line.

create-files
    [--file-size|-f <size[K|M|G|T]>]             "10M"
    [--num-files|-n <count>]                     "1000"
    [--xfer|-x <size[K|M|G|T]>]                  "4M"
    [--fill|-F &lt;0|1|01|10|random|randomblock|<any>]  "0"
    [--noverify|-n]                              "true"
    <volume-name>

Examples

Various command line possibilities. Here, Scratch is the name of the volume.

disktester create-files --xfer 1M --fill 0 --free 0% Scratch

To create a million 128K files (torture test for some solid state drives):

disktester create-files --num-files 1000000 --file-size 128K Scratch

To fill a drive with a random block:

disktester create-files --fill randomblock Scratch

To fill with the bytes “diglloyd”:

disktester create-files --fill diglloyd Scratch

To fill with hexadecimal pattern “DEADBEEF”:

disktester create-files --fill 0xDEADBEEF Scratch

Previous page: test-reliability
Next page: read-files