Cleaning up data in a source storage pool

To convert a storage pool to a directory-container storage pool, you might have to clean up damaged data or files that are in the source storage pool.

Procedure

Use the following options to recover or repair damaged data:
  • Recover an undamaged version of the data from a copy or active-data storage pool by issuing the RESTORE STGPOOL command.
  • Recover an undamaged version of the data from a target replication server by issuing the REPLICATE NODE command and specifying the RECOVERDAMAGED=YES parameter.
  • Remove data that cannot be repaired after storage pool conversion by issuing the REMOVE DAMAGED command.
    The REMOVE DAMAGED command might not remove volumes that are marked as destroyed on the source storage pool. To remove these volumes, complete the following steps:
    1. Issue the DELETE VOLUME command and specify the DISCARDDATA=YES parameter.
    2. Issue the CONVERT STGPOOL command to convert the storage pool again.
    3. If damaged data is identified during storage pool conversion, reissue the REMOVE DAMAGED command.
  • Complete the analytical tasks that are described in technote 1666371.

What to do next

After you have recovered or repaired the damaged data, retry conversion by issuing the CONVERT STGPOOL command.
To view information about damaged files that remain in the source storage pool, issue the QUERY CLEANUP command.
Tip: If a Cleanup status is shown for a storage pool that contains no data, you can delete the storage pool by using the DELETE STGPOOL command.