![]() |
![]() |
When you add devices with the Device Configuration Wizard, the wizard automatically creates a storage pool for each device it configures and allows a maximum of 500 scratch volumes for the storage pool. When you use commands to add devices, you specify the maximum number of scratch volumes with the MAXSCRATCH parameter of the DEFINE STGPOOL or UPDATE STGPOOL command. If the MAXSCRATCH parameter is 0, all the volumes in the storage pool are private volumes that you must define. If the MAXSCRATCH parameter is greater than zero, all of the volumes in the storage pool are scratch volumes.
For example, to create a storage pool named STORE1 that can use up to 500 scratch volumes, enter the following:
define stgpool store1 maxscratch=500
For each storage pool, decide whether to use scratch volumes or private volumes. Scratch volumes are recommended for the following reasons:
Private volumes require more human intervention than scratch volumes. However, you may need to regulate the volumes used by individual storage pools, and want to manually control the volumes. You will trade the additional human intervention for absolute control over volumes. In these situations, you must define each private volume with the DEFINE VOLUME command. For database backups, dumps, or loads, or for server import or export operations, you must list the private volumes.