ENCRYPT STGPOOL (Encrypt data in a storage pool)
Use this command to encrypt data in a directory-container or cloud-container storage pool.
Privilege class
Any administrator can issue this command.
Syntax
Parameters
- pool_name (Required)
- Specifies the name of the storage pool that contains data that must be encrypted. Restrictions:
- You can specify only directory-container storage pools or cloud-container storage pools.
- You can specify up to 30 characters for the storage pool name. If you specify more than 30 characters, the command fails.
- MAXPRocess
- Specifies the maximum number of parallel processes that can occur when the storage pool is encrypting data. This parameter is optional. Enter a value in the range 1 - 99. The default value is 4.
- Preview
- Specifies whether a preview is displayed of all the commands that are processed as part of the
ENCRYPT STGPOOL command. This parameter is optional. The following values are possible:
- No
- Specifies that a preview of the commands is not displayed. This is the default value.
- Yes
- Specifies that a preview of the commands is displayed.
- Wait
- Specifies whether the storage pool encryption occurs in the foreground or background. This
parameter is optional. You can specify one of the following values:
- No
- Specifies that the operation is completed in the background. You can continue with other tasks while the command is processing. Messages that are related to the background process are displayed in the activity log file or the server console, depending on where the messages are logged. This is the default value.
- Yes
- Specifies that the operation is completed in the foreground. It might take a long time to
complete the operation. The operation must end before you can continue with other tasks. Messages
are displayed in the activity log file or the server console, or both, depending on where the
messages are logged.Restriction: You cannot specify the WAIT=YES parameter from the server console.
Example: Encrypt data in a storage pool
Encrypt data in a storage pool that is named POOL1 and specify a maximum number of 30 parallel processes.encrypt stgpool pool1 maxprocess=30Related commands
| Command | Description |
|---|---|
| DEFINE STGPOOL (directory-container) | Define a directory-container storage pool. |