Linux operating systemsWindows operating systemsAIX operating systems

REMOVE DAMAGED (Remove damaged data from a source storage pool)

After storage pool conversion, use this command to remove damaged data from a storage pool that uses a FILE device class, a tape device class, or a virtual tape library (VTL).

The REMOVE DAMAGED command permanently deletes damaged data from the storage pool.
Tip: Before you remove damaged data from the storage pool, try to recover an undamaged version of the data from a copy or active-data storage pool by issuing the RESTORE STGPOOL command. Recover an undamaged version of the data from a target replication server by issuing the REPLICATE NODE command and specifying the RECOVERDAMAGED=YES parameter.

Privilege class

To issue this command, you must have restricted storage privilege.

Syntax

Read syntax diagramSkip visual syntax diagram REMove DAMaged pool_name *,node_nameWait=NoWait=NoYes

Parameters

pool_name (Required)
Specify a primary storage pool that uses a FILE device class, a tape device class, or a virtual tape library (VTL). The storage pool contains the damaged data. This parameter is required.
node_name
Specifies the name of the client node. Separate multiple names with commas and no intervening spaces. You can use a wildcard character instead of a node name if you want to remove damage from all of the nodes in the storage pool.
Wait
Specifies whether to wait for the server to remove damaged data 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 not displayed until the command completes processing.

Example: Remove damaged data from a storage pool and wait for the server to complete processing

Remove damaged data from a storage pool that is named POOL1 and wait for the server to complete processing in the foreground.
remove damaged pool1 wait=yes
Table 1. Commands related to REMOVE DAMAGED
Command Description
CONVERT STGPOOL Convert a storage pool to a directory-container storage pool.
PROTECT STGPOOL Protects a directory-container storage pool.
REPAIR STGPOOL Repairs a directory-container storage pool.