SunVTS 5.0 Test Reference Manual

disktest Command-Line Syntax

/opt/SUNWvts/bin/disktest standard_arguments -o dev=device_name ,partition=<0-7>"(mount_point)",rawsub=E|D,rawrw=Readonly|CompareRead|WriteRead, method=AsyncIO+SyncIO,rawcover=n,rawiosize=n,fssub=E|D,fssize=n,fsiosize=n,fspattern=data_pattern

Table 12-4 disktest Command-Line Syntax

Argument 

Description 

dev=device_name

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

partition= n"(mount_point)"

Specifies the partition number as follows: 

  • n--is the partition number (slice number), usually 0-7

  • mount_point--is the mount point for the mounted partition that you plan to test

For example: partition=6"(/export)"

rawsub= E(nable)|D(isable)

Enables or disables the media subtest. 

rawrw=

Readonly|CompareRead|WriteRead

Specifies the Media subtest Read, Compare, and Write mode: 

  • Read only

  • Read twice, Compare

    (works only with SyncIO method)

  • Write, Read, Compare, restore

method=AsyncIO+SyncIO

Specifies the Media access method. You can choose to use either or both methods . If you use both access methods together, you must insert a `+' between the two: 

AsyncIO: Runs the asynchronous i/o test, using the async read/write feature of the Solaris disk driver 

SyncIO: Runs the synchronous i/o test 

rawcover=n

Specifies media coverage from 0-100 (percentage) of the partition. 

rawiosize=n

Specifies the media size to transfer. The number you specify is in kilobytes: 

2KB|16KB|32KB|64KB|128KB|256KB|512KB

fssub=E(nable)|D(isable)

Enables or disables the File System subtest. 

fssize=n

Indicates the file system subtest size in kilobytes or megabytes: 

  • K|k|KB|kb--kilobytes

  • M|m|MB|mb--megabytes

512KB|2MB| 8MB| 20MB|100MB|200MB

fsiosize=n

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

  • B|b--bytes

  • K|k|KB|kb--kilobytes

512B|1024B|10KB|40KB|80KB

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)} 


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".