Technical data

Managing Storage Media
9.15 Using the Bad Block Locator Utility to Detect Media Errors
How to Perform This Task
To use BAD, perform the following steps:
1. Allocate the device with the DCL command ALLOCATE (to ensure that the
device is not accessed by any other programs).
2. Enter the DCL command MOUNT/FOREIGN.
When the device is mounted as foreign, the system does not recognize it as a
Files–11 volume, and BAD can execute.
3. Enter the DCL command ANALYZE/MEDIA.
Refer to online help or to the archived manual OpenVMS Bad Block Locator
Utility Manual for details on using the Bad Block Locator utility.
Managing Storage Media 981