TMF Operations and Recovery Guide (G06.24+)
Occasional Operations
HP NonStop TMF Operations and Recovery Guide—522417-002
3-12
Permanently Removing Data Volumes
archive mode frees audit-trail space sooner, which can prevent overflow or begin-
transaction-disable conditions.
You should usually configure data volumes with online recovery mode, which is the
default. Archive mode should be used only in exceptional circumstances, such as
when a volume will be down for a long time and will later require recovery, and you do
not want to disrupt other OLTP applications. In these circumstances, consider
temporarily deleting a data volume from the TMF configuration if it was shut down
cleanly or does not contain critical data.
Permanently Removing Data Volumes
Deleting a data volume removes it from the TMF configuration, which potentially
decreases the number of audit records generated. Before you can delete a data
volume, you must disable it. TMF recovery is not done on a deleted data volume; if
volume recovery is needed, it must be done before the data volume is deleted (see
Volume Recovery on page 7-3). You must re-add a data volume to the TMF
configuration before that volume can be restarted for transaction processing.
If you want to remove a data volume from your TMF configuration permanently, the
proper way to do so is as follows:
1. Issue a DISABLE DATAVOL command to shut the volume down cleanly within the
TMF environment.
2. Issue a DELETE DATAVOL command to delete the volume from the TMF
environment.
If you received an error message in Step 1, indicating that the volume did not shut
down cleanly, you can force the volume to be deleted by including the
ALLOWINCONSISTENCY option in the DELETE DATAVOL command.
Caution. If you use archive recovery mode, you must perform regular online dumps to ensure
that the audit dumps stay current in the TMF catalog. If you do not perform online dumps for a
data volume configured with archive recovery mode, and the volume contains no data files that
have been dumped (with the TMFCOM DUMP FILES command), TMF may reuse the required
audit dumps.
Note. TMF is shipped from the factory with the $DSMSCM disk volume configured as a TMF
data volume. Although you are free to add other TMF data volumes to the configuration, you
should not remove $DSMSCM as a TMF data volume.
Caution. After the data volume has been deleted with the ALLOWINCONSISTENCY option,
volume recovery cannot return it to a consistent state.