VMS Help  —  ANALYZE  /MEDIA  Examples
   In examples 1 and 2, the contents of the data region on the medium
   are not altered or destroyed; in examples 3, 4, and 5, all the data
   on the medium is destroyed.

   1.   $ ANALYZE/MEDIA/BAD_BLOCKS=(4.4.4:3) DBA1:

   The /BAD_BLOCKS qualifier in this example specifies a range of 3
   bad blocks beginning at the physical disk address sector 4, track
   4, cylinder 4.  This range is added to the DBBF.

   2.   $ ANALYZE/MEDIA/LOG DBB1:
        DEVICE DBB1: CONTAINS A TOTAL OF 340670 BLOCKS; 11 DEFECTIVE
        BLOCKS DETECTED.

   The command in this example requests BAD to report the total
   number of bad blocks recorded in DBBFs for the disk mounted on
   DBB1:. The medium is not exercised or altered in any way.

   3.   $ ANALYZE/MEDIA/EXERCISE/BAD_BLOCKS=(2) DBB1:

   The command in this example adds the bad block specification to
   the DBBF and then tests the media. The bad block in this example
   is located at logical block number (LBN) 2.

   4.   $ ANALYZE/MEDIA/EXERCISE=KEEP DBA1:

   This command tests the media while preserving the current SDBBF.

   5.   $ ANALYZE/MEDIA/EXERCISE/RETRY DBB1:

   The command in this example directs the device driver to retry soft
   errors.
Close Help