54
automatically, assigned the next available TAPxx device description and varied on. Tape media
is initialized in IBM i.
7.2.6. Error logs for tape virtualization
Errors associated with a virtualized TS2240 tape drive are logged in both VIOS and IBM i. To
display the error log in VIOS, use the following command:
•
errlog | more
Using ‘
more
’ displays the error log one screen at a time. Use the Space Bar to advance to the
next screen and “q” to leave the error log and return to the command prompt. To display detailed
information about each error, use:
•
errlog –ls | more
To display virtual tape errors in IBM i, use the Product Activity Log (PAL) by following these steps:
•
In IBM i, type
STRSST
and press
Enter
•
Sign on to service tools with the correct user profile and password
•
Take option 1 to start a service tool
•
Take option 1 to work with the PAL
•
Take option 1 to analyze the log
•
For the type of log, enter option 3 for magnetic media
•
If you want to also display statistical entries, change the corresponding option to “Y”
•
Look for entries for device type 63A1
7.2.7. Performing an IBM i save
In IBM i, the virtual tape drive is recognized as a 3580 model 004 tape device. It supports all
standard IBM i save and restore commands, as well as BRMS commands. Virtual tape can be
used for full-system or partial saves, employing the same backup strategy as with a single tape
drive on a Power standalone server.
Initialize the tape volume in IBM i using the
INZTAP
command. Specify the
Tape density
parameter at
*CFGTYPE
. IBM i can use LTO3 and LTO4 media for save operations with virtual
tape. Once the volume is initialized, use your standard backup procedure or consult the IBM i
Information Center’s “Backup and recovery” topic at:
http://publib.boulder.ibm.com/infocenter/systems/scope/i5os/index.jsp?topic=/rzahg/rzahgbackup.
htm&tocNode=toc:rzahg/i5os/17/0/.
7.2.8. Performing an IBM i restore
IBM i can read from LTO2, LTO3 and LTO4 tape media using virtual tape and perform both full-
system and partial restores. Before attempting a restore, ensure that the following prerequisites
are met:
•
The tape drive is powered on and the tape media loaded
•
The tape drive is recognized in VIOS, as described in section 7.3.1
•
The tape drive is assigned to the correct IBM i partition, as described in section 7.3.3
•
The tape drive is available for use in IBM i, using the
WRKCFGSTS *DEV *TAP
command. This prerequisite applies to partial restores; see section 7.5.1 for performing a
D-mode IPL from virtual tape