|
|
Performing System Operation Tasks: 900 Series HP 3000 Computer Systems > Chapter 6 Copying Files to TapeSelecting a STORE Error Recovery Method |
|
When STORE encounters an error, it either automatically recovers or terminates, depending upon the nature of the error and the error recovery method you choose. The following errors always cause STORE to terminate:
If STORE encounters a disk read error while storing a file, it skips the remainder of that file and sends an error message to the standard listing device describing the native mode offset from the start of the file and the number of bytes that have been lost. STORE then continues to copy the remainder of the files onto the tape. The STORE operation does not terminate. Since the files that contain disk errors are not stored, you will not be able to restore them. The STORE command's ONERROR parameter lets you specify a tape error recovery procedure. Your options are ONERROR=QUIT and ONERROR=REDO.
If you specify REDO and the STORE command encounters a tape I/O error on a device, STORE sends an informational message to your terminal (or the file or device to which you have assigned the file SYSLIST). It rewinds the reel to the load point, marks the reel as bad, and asks you to mount another reel. After you mount the new reel, STORE automatically stores all the files from the point where the bad reel began. STORE displays the following messages during tape error recovery:
Use the SHOW parameter of the STORE command to check file listings for errors. As STORE copies files to tape, it will list them on the SYSLIST provided you use the SHOW parameter. For example, if you enter this:
The following might be listed on the SYSLIST:
When STORE finishes, you see the total number of files stored and if there is an error, the number not stored. Use the listing to verify that the correct files were indeed stored and that none were omitted. After using the STORE program to write files to tape, you may want to check to be sure that no errors occurred in the process. The VSTORE command allows you to verify that any or all the files were correctly stored. VSTORE can also be used to verify the file system directory or to list the date that a given file was stored. To verify one or more files on a STORE tape, mount the tape on your backup device, as described in chapter 8. (The write ring should be removed as a protection.) Put the device online. As with the STORE and RESTORE commands, you should precede the VSTORE command with a FILE command, assigning a file name to the tape drive. If you do not assign a file name, a default name is utilized based on your username. For example, to verify the files on a tape enter:
Now issue a VSTORE command that backreferences the tape file and includes the file or files you want to verify. For example,
If you have omitted the FILE command, you would enter
In addition to the tape file name and the names of the files to be verified, four parameters are available: SHOW, ONERR[OR], LOCAL, and DIRECTORY. The following is a brief description of each of these parameters:
The following are examples of the above parameters:
The VSTORE command is not valid for a STORE tape created with the TRANSPORT parameter. For a full discussion of all VSTORE command options, refer to the MPE/iX Commands Reference Manual (32650-90003). Unload each tape and check for correct labeling. If you used the SHOW=OFFLINE option of the STORE command, the system has printed a list of the files you stored. Retrieve the report from your printer and either file it with your records or attach it directly to one or more tape reels. Place each tape in your tape library. If you prevented users from accessing the system during your backup, as discussed in chapter 8, "Backing Up the System," you need to allow users to access the system again. Here are the steps to follow:
|
|