AIX operating systemsLinux operating systemsOracle Solaris operating systemsWindows operating systems

DEFINE STGPOOLDIRECTORY (Define a storage pool directory)

Use this command to define one or more storage pool directories in a directory-container storage pool.

The Tivoli® Storage Manager server automatically creates the storage pool directory when you define a directory-container storage pool.

Privilege class

To issue this command, you must have system privilege.

Syntax

Read syntax diagramSkip visual syntax diagram
                                         .-,--------------.     
                                         V                |     
>>-DEFine STGPOOLDIRectory--pool_name------directory_name-+----><

Parameters

pool_name (Required)
Specifies the directory-container storage pool name. This parameter is required. This directory-container storage pool was previously defined by using the DEFINE STGPOOL command.
directory_name (Required)
Specifies one or more storage pool directories to which the storage pool is stored. This parameter is required. You can specify more than one storage pool directory by separating each with a comma.
Tip: If you use the administrative client, you must enclose the storage pool directory name in quotation marks if the name contains a comma or a backslash ("\").

Example: Define a storage pool directory

Define a storage pool directory that is named DIR1 by using a directory-container storage pool that is named POOL1.
AIX operating systemsLinux operating systemsOracle Solaris operating systems
define stgpooldirectory pool1 /storage/dir1
Windows operating systems
define stgpooldirectory pool1 c:\storage\dir1

Example: Define multiple storage pool directories

Define storage pool directories that are named DIR1 and DIR2 by using a directory-container storage pool that is named POOL1.
AIX operating systemsLinux operating systemsOracle Solaris operating systems
define stgpooldirectory pool1 /storage/dir1,/storage/dir2
Windows operating systems
define stgpooldirectory pool1 e:\storage\dir1,f:\storage\dir2
Table 1. Commands related to DEFINE STGPOOLDIRECTORY
Command Description
DEFINE STGPOOL Defines a storage pool as a named collection of server storage media.
DELETE STGPOOLDIRECTORY Deletes a storage pool directory from a directory-container storage pool.
QUERY STGPOOLDIRECTORY Displays information about storage pool directories.
UPDATE STGPOOLDIRECTORY Changes the attributes of a storage pool directory.