You can disable a system-wide setting that prevents volumes
from being deleted.
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 only
be deleted 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. The following commands
are affected by this setting:
- rmvdisk
- rmvolume
- rmvdiskcopy
- rmvdiskhostmap
- rmmdiskgrp
- rmhostiogrp
- rmhost
- rmhostport
To disable volume protection, complete this step:
Issue svctask chsystem -vdiskprotectionenabled
no.