Enabling volume protection
To prevent active volumes or host mappings from being deleted inadvertently, the system supports a global setting that prevents these objects from being deleted if the system detects that they have had recent I/O activity.
About this task
Use the chsystem command to set an interval at which the volume must be idle before it can be deleted from the system. Any command that is affected by this setting will fail. If the -force parameter is used, the deletion will fail if the volume has not been idle for the specified interval.
The following commands are affected by this setting:
To enable volume protection by setting an inactive interval to prevent deletion of volumes, complete the following step:
Procedure
Issue svctask chsystem -vdiskprotectionenabled
yes -vdiskprotectiontime 60. The parameter -vdiskprotectionenabled
yes enables volume protection and the -vdiskprotectiontime parameter
indicates how long a volume must be inactive before it can be deleted.
Volumes can only be deleted if they have been inactive for over 60
minutes.