TMF Management Programming Manual (H06.05+)

Commands and Responses
HP NonStop TMF Management Programming Manual540140-002
5-63
DELETE DATAVOLS
ZTMF-MAP-Delete-DataVols
is an extensible structured token that modifies the behavior of the command. This
token is required; only one occurrence is allowed. This token contains the
following field:
ZAllowInconsistency
specifies whether the data volumes are to be deleted even if it is uncertain that
they contain only consistent data. The following values are valid:
Normally, if you attempt to delete a data volume in the disabled-dirty state, the
DELETE DATAVOLS command fails. However, if ZAllowInconsistency has the
value ZSPI-VAL-True, the command overrides this protective mechanism and
allows the subsystem to delete the volume, despite potential inconsistencies.
If this field is null, the value is ZSPI-VAL-False.
Tokens in Response Buffer
ZTMF-TKN-VolumeName
specifies the volume(s) that was specified in the command buffer.
Usage Guidelines
Only super-group users can issue this command. TMF must be started.
After a data volume has been deleted from the TMF configuration, it cannot be
restarted for transaction processing until it has been re-added. In addition, after a data
volume is deleted, no volume recovery can be performed until it is added again to the
configuration and started.
If file recovery is no longer needed for the files on a deleted data volume, issue a
DELETE DUMPS command to remove any associated online dumps from the TMF
catalog; this allows the audit dumps associated with the deleted volume to be
recycled. If any online dumps for the deleted volume remain in the catalog, however,
audit dump media is not recycled, and the performance of the catalog process
eventually degrades as the catalog database grows. Furthermore, if the data volume
is later added back into the configuration, and associated with a different audit trail
than before, any attempt at file recovery using an online dump made before the audit-
trail change fails.
ZSPI-VAL-True Potentially inconsistent data volumes are deleted.
ZSPI-VAL-False Potentially inconsistent data volumes are not
deleted.
Caution. After a data volume is deleted with ZAllowInconsistency set to ZSPI-VAL-True,
volume recovery cannot return it to a consistent state.