Disabling volume protection

You can disable the setting that prevents volumes from being deleted.

About this task

Use the chsystem command to disable volume protection. Volume protection prevents volumes from being inadvertently deleted. When this setting is enabled, you need to specify an interval that volumes must be idle before they can be deleted from the system. Volumes can be deleted only if they have been idle for the specified interval. When volume protection is disabled, volumes can be deleted even if they have recently processed I/O operations. In the management GUI, select Settings > System > Volume Protection to manage volume protection values on the system and on specific pools. You must have the SecurityAdmin or Administrator role to change volume protection settings.

The following commands are affected by this setting:
  • rmvdisk
  • rmvdiskcopy
  • rmvvolume
  • rmvdiskhostmap
  • rmvolumehostclustermap
  • rmmdiskgrp
  • rmhostiogrp
  • rmhost
  • rmhostcluster
  • rmhostport
  • mkrcrelationship

To disable volume protection on the system and pools, complete these steps:

Procedure

  1. Issue svctask chsystem -vdiskprotectionenabled no.
  2. Issue svctask chmdiskgrp -name <name> -vdiskprotectionenabled no.