Start of change

Optical support FAQ

This topic provides information to help with some common problems and questions encountered with optical devices.

  1. When writing objects, I receive a message indicating that there is not enough optical media space available. However, the volume is not full. What is wrong?
  2. My backup volume is filling up before all objects from the primary have been stored. What is using up the extra space?
  3. While backing up a platter, the task ends abnormally. When I restart the backup, I receive the OPT1210 message indicating that the directory already exists. However, the directory is not listed when I use the Work with Optical Directories (WRKOPTDIR) command. How can this be?
  4. I received an OPT1115 message indicating that the file is not found when trying to retrieve an object. When I use the Work with Optical Files (WRKOPTF) command, the object is displayed. Why am I unable to retrieve the object?
  5. My application appears to be storing objects correctly, but when I use the Work with Optical Files (WRKOPTF) command, not all of the objects are showing up. Where are the objects going?
  6. My application program fails with message CPF1F83 indicating that the file system name /QOPT was not found when I attempt to copy a stream file using the CPYSF command. What is wrong?
  7. There is a volume I want to use, but I cannot seem to access it. What can I do?
  8. Messages are occurring which indicate that I should run Reclaim Optical (RCLOPT) command. A RCLOPT of type *RESET can take a long time. Is there a quicker way to recover?
  9. What is the difference between volumes marked *OFFLINE and those marked *REMOVED?
  10. When I add full optical volumes into my optical media library by using the Add Optical Cartridge (ADDOPTCTG) command, it takes a long time. Any suggestions?
  11. I entered a CD-ROM volume into my CD-ROM device, but I received a message saying volume not found when I attempted to access it. I did not see any error messages. What went wrong?

When writing objects, I receive a message indicating that there is not enough optical media space available. However, the volume is not full. What is wrong?

Either the threshold is incorrectly set, the object being stored is bigger than the available space, or the spares area is full. Display the volume attributes of the volume that you are writing to using the display optical (DSPOPT) command. Verify that the threshold and space available values are valid. Also, verify that access to the volume access is writeable, and not read only. If it is read only, then the spares area may be full. The spares area is a set of sectors to which data is written when the original sector is damaged.

My backup volume is filling up before all objects from the primary volume have been stored. What is using up the extra space?

Several situations could cause this to happen:

While backing up a volume, the task ends abnormally. When I restart the backup, I receive the OPT1210 message indicating that the directory already exists. However, the directory is not listed when I use the Work with Optical Directories (WRKOPTDIR) command. How can this be?

When the task ended abnormally, the directory was created on the volume, but the internal optical index files had not been updated yet. Remove the backup volume using the Remove Optical Cartridge (RMVOPTCTG) command and add it back in using the Add Optical Cartridge (ADDOPTCTG) command and specifying DIR(*YES)). The internal optical index will be updated with the new path.

I received message OPT1115 indicating that the file is not found when trying to retrieve an object. When I use the Work with Optical Files (WRKOPTF) command, the object is displayed. Why am I unable to retrieve the object?

The optical media may be dirty. Contact your next level of support (hardware) to get the media cleaned.

My application appears to be storing objects correctly, but when I use the Work with Optical Files (WRKOPTF) command, not all of the objects are showing up. Where are the objects going?

The files may be held optical files. Refer to Held optical files for more information on held optical files. In this case, the volume may have reached its threshold. Verify that your application is handling the OPT1345 message Threshold reached on optical volume or CPF1F61 message No space available on media correctly.

My application program fails with message CPF1F83 indicating that the file system name /QOPT was not found when I attempt to copy a stream file using the CPYSF command. What is wrong?

The file system portion of the path (/QOPT) must be specified in uppercase characters. The rest of the path can be in either uppercase or lowercase characters.

There is a volume I want to use, but I cannot seem to access it. What can I do?

Duplicate volume names might cause this. If the volume is in a LAN server, it may have the same name as a volume in a directly attached library or another server. If there are duplicate names, only the first volume found is usable.

Messages are occurring which indicate that I should run Reclaim Optical (RCLOPT) command. A RCLOPT of type *RESET can take a long time. Is there a quicker way to recover?

Yes. First read Reclaiming the Optical Index Database to gain a better understanding of the RCLOPT process. Then attempt one of the following:

What is the difference between volumes marked *OFFLINE and those marked *REMOVED?

*OFFLINE entries are volumes in optical devices that are either powered off, varied off, or no longer connected. *REMOVED entries are volumes that were removed from the optical media library with VOLOPT *KEEP specified.

When I add full optical volumes into my optical media library by using the Add Optical Cartridge (ADDOPTCTG) command, it takes a long time. Any suggestions?

When volumes are removed using the Remove Optical Cartridge (RMVOPTCTG) command, remove them specifying *KEEP on the VOLOPT parameter. The internal optical indexes save all information about these volumes, including the optical directory information. When volumes are added using the ADDOPTCTG command, specify *NO in the DIR parameter. The volumes are added and the directory index is not rebuilt. This speeds up the import process.

Note: This process should not be followed if changes were made to the removed volumes since the volumes were last removed from this system.

I entered a CD-ROM volume into my CD-ROM device, but I received a message saying volume not found when I attempted to access it. I did not see any error messages. What went wrong?

Refer to CD-ROM and DVD on iSeries™ Servers for information on loading CD-ROM media. In this case, you probably attempted to access the CD-ROM before it was fully loaded (wait 10-20 seconds after the tray slides in), or an error occurred during the load operation. Refer to the QSYSOPR message queue to see if the CD-ROM volume loaded successfully.

End of change