SunVTS 3.0 Test Reference Manual

disktest Command Line Syntax

/opt/SUNWvts/bin/disktest standard_arguments -o p=n,-i=n, -w=n,dev=device_name,partition=0-7,rawsub=E/D,rawrw=, rawcover=,rawiosize=,fssub=,fssize=,fsiosize=, fspattern=

Table 9-4 disktest Command Line Syntax

Argument 

Explanation 

p=number

Sets the number of passes for the test to run; default is 1. 

i=number

Sets the number of total instances for the test; default is 1. 

w=number

Determines which instance this test is assigned; default is 0. 

dev=device_name

Specifies the name of the disk to be tested, such as c0t3d0. 

partition=0-7

Specifies the partition number to test as partition=6(/export/s6) if mounted on partition 6.

rawsub=Enable/Disable

Enables or disables the media subtest. 

rawrw=

Readonly

BackupWriteRead

NoBackupWriteRead

Specifies the Media subtest Read and Write mode: 

-Read Only 

-Write, read then backup 

-Write, read without backup 

rawcover=

Specifies media coverage from 0-100% of the partition. 

rawiosize=2KB,10KB 20KB,40KB,60KB

Specifies the media size to transfer. 

fssub=Enable/Disable

Enables or disables the file system subtest. 

fspattern=data pattern

Specifies the file system data pattern as sequential or random. {seq(uential)/0x0(0000000)/0xf(fffffff)/0xa (5a5a5a5)/0x5(a5a5a5a)/ran(dom)/0xd(b6db6db)} 

fssize=file system size

Indicates the file system subtest size in kilobytes or megabytes: 

K/k/KB/kb:kilobytes, M/m/MB/mb: megabytes. 

fsiosize=file system I/O transfer size

Indicates the size of the file system subtest I/O transfer in bytes or kilobytes: 

{512B/1024B/10KB/40KB/100KB} 


Note -

64-bit tests are located in the sparcv9 subdirectory: /opt/SUNWvts/bin/sparcv9/testname. If a test is not present in this directory, then it may only be available as a 32-bit test. For more information refer to "32-Bit and 64-Bit Tests".