fill-volume

The fill-volume command fills the entire volume to 99.4% of capacity by default. This has the following benefits:

Graphing the results

By default, DiskTester writes 1000 equal-sized files. You can graph the results using the supplied spreadsheet; the write and read times are output in tab-delimited format. Copy and paste the summary output into the spreadsheet.

If you don’t see a pattern similar to the one below, your drive probably has excessive bad blocks, which could indicate a propensity to premature failure.

img
Click to view larger size

Running DiskTester fill-volume

Before testing:

Using DiskTester.app, choose Fill Volume. Suitable defaults are chosen. You can exercise more control using the command line, but generally there is little reason to do so for fill-volume.

Filling a 2TB hard drive can take about 6 hours to write, and another 6 hours to read eg 12 hours total. Some drives are slower, and can take up to 16 hours. When the process completes, the output can be graphed using the supplied spreadsheet (see below). Simply copy and paste the summary output into the spreadsheet template!

What do !!!, +++ and --- mean?

During the operation, DiskTester will annotate any line that deviates from the 1-minute average by more that 5%. Such changes are marked with “!!!”. Following that, increasing or decreasing average speed will be annottated with “+++” and “---” respectively.

The annotations are made because more than 5% variation is atypical. Sometimes it is due to an external cause, such as Spotlight indexing, or other system activity. Be sure to exclude the volume being tested from indexing.

After filling a volume, it should be erased (since it is nearly full!).

img
DiskTester fill-volume

Command line usage

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

    fill-volume
    [--num-files|-n <strong><count>]               "1000"
    [--xfer|-x <size[K|M|G|T]>]                   "4M"
    [--fill|-F <0|1|01|10|random|randomblock|>]    "0"
    [--noverify|-n]                                "true"
    [--free|-r <percent or quantity>]              "0.6%"

Examples

Various command line possibilities.

disktester fill-volume --xfer 1M --fill randomblock --free 0% Scratch
disktester fill-volume --xfer 4M --fill 0xDEADBEEF --free 10% Scratch
disktester fill-volume --free 1% Scratch

To fill a drive with a random stream (torture test for some solid state drives):

disktester fill-volume --fill random Scratch

To fill a drive with a random block:

disktester fill-volume --fill randomblock Scratch

Previous page: recondition
Next page: run-area-test