Administrator's Reference

DEFINE VOLUME (Define a Volume in a Storage Pool)

Use the DEFINE VOLUME command to assign a random or sequential access volume to be used for storage within an existing storage pool. You can define a volume to either a primary storage pool or a copy storage pool. You must define each volume to be used in a storage pool, unless you allow scratch volumes for the storage pool.

Attention:The size of an allocated database recovery log, or storage pool volume cannot be changed once it has been defined to the ADSM server. ADSM uses the initial size allocation of the volume at the time it is defined to the server to calculate data placement for later retrieval. If you change the size of ADSM volumes by altering the file sizes of ADSM volumes, ADSM may not initialize correctly and data could be lost.

Privilege Class

To issue this command, you must have system privilege, unrestricted storage privilege, or restricted storage privilege for the storage pool to which the volume is assigned.

Syntax

>>-DEFine Volume--poolname--volname----------------------------->
 
    .-ACCess--=--READWrite--------.
>---+-----------------------------+----------------------------->
    '-ACCess--=--+-READWrite---+--'
                 +-READOnly----+
                 +-UNAVailable-+
                 |         (1) |
                 '-OFfsite-----'
 
>----+----------------------------+----------------------------><
     |          (2)               |
     '-LOcation------=--location--'
 

1

This value is supported only for volumes assigned to copy storage pools.

2

This parameter can be specified only for volumes assigned to sequential access storage pools.

Parameters

poolname

Specifies the name of the storage pool to which the volume is assigned. This parameter is required.

volname

Specifies the name of the storage pool volume to be defined. This parameter is required. The volume name that you can specify depends on the device class device type of the associated storage pool:

No volume name used by ADSM can contain any embedded blanks or equal signs.

ACCess=accessmode

Specifies how users and system processes (like migration) can access files in the storage pool volume. This parameter is optional. The default value is READWRITE. Possible values are:

READWrite

Specifies that users and system processes (like migration) can read from and write to files stored on the volume.

READOnly

Specifies that users and system processes (like migration) can only read files stored on the volume.

UNAVailable

Specifies that neither users nor system processes (like migration) can access files stored on the volume.

If you define a random access volume as unavailable, you cannot vary the volume online. If you define a sequential access volume as unavailable, ADSM does not attempt to access the volume.

OFfsite

Specifies that the volume is at an offsite location from which it cannot be mounted. This value can only be specified for volumes in copy storage pools.

Use this value to help you track volumes at offsite locations. ADSM treats volumes designated as offsite differently:

  • Mount requests are not generated for volumes assigned to offsite locations

  • Data can be reclaimed or moved from offsite volumes by retrieving files from other storage pools

  • Empty, offsite scratch volumes are not deleted from the copy storage pool

LOcation=location

Specifies the location of the volume. This parameter is optional. It can be specified only for volumes in sequential access storage pools. The location information can be a maximum length of 255 characters. The location must be enclosed in quotation marks if it contains any blank characters. The default is no location.

Usage Notes

For sequential access storage pools, it is not necessary to manually define any volumes. You can use the MAXSCRATCH parameter to permit ADSM to mount its own scratch volumes.

Examples

Task 1

A storage pool named POOL1 is assigned to a device class with a device type of 8MM. Define a volume named mnvol to this storage pool, with READWRITE access.

Command:
define volume pool1 mnvol access=readwrite

Task 2

A storage pool named OPOOL is assigned to a device class with a device type of OPTICAL. Define a volume named LONGTERMVOL to this storage pool.

Command:
define volume opool logtermvol

Related Commands

Table 64. Commands Related to DEFINE VOLUME
Command Description
DELETE VOLUME Deletes a volume from a storage pool.
QUERY VOLUME Displays information about one or more storage pool volumes.
UPDATE VOLUME Updates the attributes of one or more storage pool volumes.


[ Top of Page | Previous Page | Next Page | Table of Contents | Index ]