To label a tape, do the following:
1. If it is not already running, start the Tape Coordinator for the tape drive that you want to use with the operation. (See Starting a Tape Coordinator for information on using the butc command to start a Tape Coordinator.)
2. Verify that you are included in the appropriate administrative lists. If necessary, issue the bos lsadmin command to check.
3. Issue the bak labeltape command to label the tape. This command executes in the background. (See Backing Up and Restoring Data for more information about commands that execute in the background.)
$ bak labeltape [-tape tape_name] [-size tape_size] [-tcid tc_number]
The -tape tape_name option is the name of the tape. It must have the form fileset_family_name.dump_level.index. If this option is omitted, the tape is marked as empty with the null indicator.
The -size tape_size option is the capacity of the tape. The default unit is kilobytes. You can add a g or G to the number to indicate gigabytes or an m or M to indicate megabytes. This is for information purposes only; the Backup System uses the tape size recorded in the TapeConfig file whenever it uses a tape drive. If this option is omitted, the tape size specified for the drive in the TapeConfig file is used.
4. Place the tape in the drive, and press <Return> in the corresponding Tape Coordinator's monitoring window.