When you receive error message ANR1221E, the cause is typically
due to insufficient space in the target copy storage pool.
About this task
Perform the following steps to resolve error message ANR1221E:
Procedure
- Issue the QUERY STGPOOL stgpoolName F=D command.
- Issue the following SQL select statement from an administrative
client to this server:
select stgpool_name,devclass_name,count(*)
as 'VOLUMES' from volumes group by stgpool_name,devclass_name.
- Compare the number of volumes reported by the select statement
to the maximum scratch volumes allowed (as reported by the QUERY
STGPOOL command). If the number of volumes reported by the select is
equal to or exceeds the
Maximum Scratch Volumes Allowed,
update
the storage pool and allow more scratch volumes. If scratch volumes
are not used in the storage pool (scratch=0), then ensure that you
add more private volumes. Issue the UPDATE STGPOOL stgpoolName MAXSCR=nn command,
where stgpoolName is the name of the storage pool
to update and nn is the increased number of scratch
volumes to make available to this copy storage pool. Important: The tape library should have this additional number
of scratch volumes available, or you need to add scratch volumes to
the library prior to issuing this command and retrying the BACKUP
STGPOOL operation.