REMOVE STGPROTECTION (Remove storage pool protection)

Use this command to remove storage pool protection from a directory-container storage pool or to preview the removal process.

If you specify that protection must be removed, data from the directory-container storage pool will no longer be copied to another storage pool as part of the storage pool protection process.
Tips:
  • You can issue the PROTECT STGPOOL command to back up and protect data in a local storage pool after storage protection is removed.
  • Issue the CANCEL PROCESS command and specify the process number to cancel the removal of storage pool protection.
To remove storage pool protection, you must run the same command twice, once on each server where storage pool protection occurs. In the command, you must specify both the local storage pool and the remote storage pool.
Restrictions:
  • You can issue this command only when storage pool protection is enabled for the storage pool.
  • You cannot issue this command if protection processing is in progress for the specified storage pool.
  • You cannot issue the REPAIR STGPOOL command to recover damaged data in local storage pool after protected data in the remote storage pool protection is deleted.

Privilege class

To issue this command, you must have system privilege.

Syntax

Read syntax diagramSkip visual syntax diagram REMove STGProtection LOCALSTGpool = pool_name REMOTESErver = server_name REMOTESTGpool = pool_name Preview=NoPreview=NoYesWait=NoWait=NoYes

Parameters

LOCALSTGpool (Required)
Specifies the name of the directory-container storage pool on the local server, where the backed-up data is stored. This parameter is required.
REMOTESErver (Required)
Specifies a remote server that contains the remote directory-container storage pool, where the protected data is stored. This parameter is required.
REMOTESTGpool (Required)
Specifies the name of the directory-container storage pool on the remote server. This parameter is required.
Preview
Specifies whether to preview but not remove protection from the storage pool. A preview shows the number of files that will no longer be protected if protection is removed. This parameter is optional. The default value is NO. You can specify this parameter only from an administrative command line. You can specify one of the following values:
No
Specifies that you do not want to preview the removal of storage pool protection. The command processes run in the background.
Yes
Specifies that you want to preview the removal of storage pool protection, but not remove storage pool protection. Messages are displayed when the command completes processing.
Wait
Specifies whether to wait for the server to remove protection from the storage pool. This parameter is optional. The default value is NO. You can specify this parameter only from an administrative command line. You can specify one of the following values:
No
Specifies that the command processes run in the background.
Yes
Specifies that the command processes run in the foreground. Messages are displayed when the command completes processing.

Example: Remove storage pool protection from a storage pool

Remove storage pool protection from a local storage pool that is named POOL1 and from a remote storage pool that is named POOL2. The storage pool protection must be removed from the server that is named SERVER2. Specify that the server must wait to complete processing in the foreground.
Tip: To remove storage pool protection, you must run the same command twice, once on each server where storage pool protection occurs.
remove stgprotection localstgpool=pool1 remoteserver=server2
 remotestgpool=pool2 wait=yes
Table 1. Commands related to REMOVE STGPROTECTION
Command Description
PROTECT STGPOOL Protects a directory-container storage pool.
REPAIR STGPOOL Repairs a directory-container storage pool.