DRTEST(8) DRTEST(8) NAME drtest - standalone disk test program DESCRIPTION _D_r_t_e_s_t is a standalone program used to read a disk track by track. It was primarily intended as a test program for new standalone drivers, but has shown useful in other contexts as well, such as verifying disks and running speed tests. For example, when a disk has been formatted (by format(8)), you can check that hard errors has been taken care of by running _d_r_t_e_s_t. No hard errors should be found, but in many cases quite a few soft ECC errors will be reported. While _d_r_t_e_s_t is running, the cylinder number is printed on the console for every 10th cylinder read. EXAMPLE A sample run of _d_r_t_e_s_t is shown below. In this example (using a 750), _d_r_t_e_s_t is loaded from the root file system; usually it will be loaded from the machine’s console storage device. Boldface means user input. As usual, ‘‘#’’ and ‘‘@’’ may be used to edit input. >>>B/3 %% loading hk(0,0)boot Boot : hk(0,0)drtest Test program for stand-alone up and hp driver Debugging level (1=bse, 2=ecc, 3=bse+ecc)? Enter disk name [type(adapter,unit), e.g. hp(1,3)]? hp(0,0) Device data: #cylinders=1024, #tracks=16, #sectors=32 Testing hp(0,0), chunk size is 16384 bytes. _(_c_h_u_n_k _s_i_z_e _i_s _t_h_e _n_u_m_b_e_r _o_f _b_y_t_e_s _r_e_a_d _p_e_r _d_i_s_k _a_c_c_e_s_s_) Start ...Make sure hp(0,0) is online ... _(_e_r_r_o_r_s _a_r_e _r_e_p_o_r_t_e_d _a_s _t_h_e_y _o_c_c_u_r_) ... _(_._._._p_r_o_g_r_a_m _r_e_s_t_a_r_t_s _t_o _a_l_l_o_w _c_h_e_c_k_i_n_g _o_t_h_e_r _d_i_s_k_s_) _(_._._._t_o _a_b_o_r_t _h_a_l_t _m_a_c_h_i_n_e _w_i_t_h _^_P_) DIAGNOSTICS The diagnostics are intended to be self explanatory. Note, however, that the device number in the diagnostic messages is identified as _t_y_p_e_X instead of _t_y_p_e_(_a_,_u_) where _X = a*8+u, e.g., hp(1,3) becomes hp11. SEE ALSO format(8V), bad144(8) AUTHOR Helge Skrivervik 4.2 Berkeley Distribution May 19, 1986 DRTEST(8)