1DRTEST(8) System Manager's Manual DRTEST(8)
2
3
4
6 drtest - standalone disk test program
7
9 Drtest is a standalone program used to read a disk track by track. It
10 was primarily intended as a test program for new standalone drivers,
11 but has shown useful in other contexts as well, such as verifying disks
12 and running speed tests. For example, when a disk has been formatted
13 (by format(8)), you can check that hard errors has been taken care of
14 by running drtest. No hard errors should be found, but in many cases
15 quite a few soft ECC errors will be reported.
16
17 While drtest is running, the cylinder number is printed on the console
18 for every 10th cylinder read.
19
21 A sample run of drtest is shown below. In this example (using a 750),
22 drtest is loaded from the root file system; usually it will be loaded
23 from the machine's console storage device. Boldface means user input.
24 As usual, ``#'' and ``@'' may be used to edit input.
25
26 >>>B/3
27 %%
28 loading hk(0,0)boot
29 Boot
30 : hk(0,0)drtest
31 Test program for stand-alone up and hp driver
32
33 Debugging level (1=bse, 2=ecc, 3=bse+ecc)?
34 Enter disk name [type(adapter,unit), e.g. hp(1,3)]? hp(0,0)
35 Device data: #cylinders=1024, #tracks=16, #sectors=32
36 Testing hp(0,0), chunk size is 16384 bytes.
37 (chunk size is the number of bytes read per disk access)
38 Start ...Make sure hp(0,0) is online
39 ...
40 (errors are reported as they occur)
41 ...
42 (...program restarts to allow checking other disks)
43 (...to abort halt machine with ^P)
44
45
47 The diagnostics are intended to be self explanatory. Note, however,
48 that the device number in the diagnostic messages is identified as
49 typeX instead of type(a,u) where X = a*8+u, e.g., hp(1,3) becomes hp11.
50
52 format(8V), bad144(8)
53
55 Helge Skrivervik
56
57
58
594.2 Berkeley Distribution May 19, 1986 DRTEST(8)