Fortinet white logo
Fortinet white logo

CLI Reference

diagnose disktest

diagnose disktest

Use these commands to manage disk tests:

diagnose disktest device <integer>  Set the device to test. Enter "diagnose disktest device ?" to display list of devices.
diagnose disktest block <integer>   Set the block size of each read/write operation. Enter "diagnose disktest block ?" to display list of block sizes.
diagnose disktest time <integer>   Set the test time limit (in seconds) for each cycle (default is no limit).
diagnose disktest size <integer>   Set the test size limit (in MB) for each cycle (default is no limit).
diagnose disktest run <integer>   Run the disk test with the specified number of test cycles (default is no limit).

Example output

This is sample output of the diagnose disktest device command:

# diagnose disktest device 1

Current Test Device: /dev/sda

This is sample output of the diagnose disktest block command:

# diagnose disktest block 16

Current Test Block: 16M.

This is sample output of the diagnose disktest time command:

# diagnose disktest time 100

Current Time Limit: 100 seconds

This is sample output of the diagnose disktest size command:

# diagnose disktest size 100

Current Size Limit: 100 MB

This is sample output of the diagnose disktest run command:

# diagnose disktest run 1

Caution: Disk test may have severe impact on file system or even cause corruption.

Do not shut down before test finished.

Do you want to continue? (y/n)y

Round 1 started.

Current Test Device: /dev/sda

Total size: 1907729M

Current Test Block: 16M.

Current Time Limit: 100 seconds

Current Size Limit: 100 MB

Time(Sec) Size(MB) Read(MB/s) Write(MB/s)

0.0 0(0.00%): .......

Test Result: Passed

Tested size: 112MB (0.01% Coverage of whole disk)

Time used: 4.0 sec

Read Speed: 110.0MB/s

Write Speed: 114.2MB/s

Round 1 Finished!

diagnose disktest

diagnose disktest

Use these commands to manage disk tests:

diagnose disktest device <integer>  Set the device to test. Enter "diagnose disktest device ?" to display list of devices.
diagnose disktest block <integer>   Set the block size of each read/write operation. Enter "diagnose disktest block ?" to display list of block sizes.
diagnose disktest time <integer>   Set the test time limit (in seconds) for each cycle (default is no limit).
diagnose disktest size <integer>   Set the test size limit (in MB) for each cycle (default is no limit).
diagnose disktest run <integer>   Run the disk test with the specified number of test cycles (default is no limit).

Example output

This is sample output of the diagnose disktest device command:

# diagnose disktest device 1

Current Test Device: /dev/sda

This is sample output of the diagnose disktest block command:

# diagnose disktest block 16

Current Test Block: 16M.

This is sample output of the diagnose disktest time command:

# diagnose disktest time 100

Current Time Limit: 100 seconds

This is sample output of the diagnose disktest size command:

# diagnose disktest size 100

Current Size Limit: 100 MB

This is sample output of the diagnose disktest run command:

# diagnose disktest run 1

Caution: Disk test may have severe impact on file system or even cause corruption.

Do not shut down before test finished.

Do you want to continue? (y/n)y

Round 1 started.

Current Test Device: /dev/sda

Total size: 1907729M

Current Test Block: 16M.

Current Time Limit: 100 seconds

Current Size Limit: 100 MB

Time(Sec) Size(MB) Read(MB/s) Write(MB/s)

0.0 0(0.00%): .......

Test Result: Passed

Tested size: 112MB (0.01% Coverage of whole disk)

Time used: 4.0 sec

Read Speed: 110.0MB/s

Write Speed: 114.2MB/s

Round 1 Finished!