The smrevert utility, Smrevert fallback sequence – HP NonStop G-Series User Manual
Page 80
Migration Guidelines
HP NonStop Storage Management Foundation User's Guide—523562-008
4-8
The SMREVERT Utility
The SMREVERT Utility
The SMREVERT utility is used to convert the logically named files that reside on a
particular physical disk back to direct files. SMREVERT is a privileged program that
requires you to be a super-group user (255,n).
In some cases, it is possible to undo a volume conversion using the SMREVERT utility.
There are several conditions that must be met in order for SMREVERT to undo a
conversion successfully. First, all the files on the virtual disk must reside on the same
physical disk. This condition exists immediately after a volume conversion using
SMCONVRT, but may no longer may be true if additional files were created on the
virtual disk after conversion, and the disk was converted or consolidated into a multi
disk pool, or a pool with multiple VDPs defined. The FUP RELOCATE command can
be used to move the newly created files onto the physical disk that you are reverting,
and to move newly created files belonging to other virtual disks off the physical disk
onto other disks in the pool. This assumes there is sufficient space available on the
disks involved.
A similar problem exists if any direct files were created on the physical disk after
conversion, and one or more of those direct files have the same subvolume.file
component as a file on the virtual disk. In that case, the direct file must be renamed or
deleted before SMREVERT can be used successfully.
Note that files on the physical disk are inaccessible during this operation.
Before using SMREVERT, the following conditions must exist:
If the physical volume is a TMF data volume, it is disabled cleanly; that is, no
volume recovery operations are pending.
The physical disk must be in the DOWN state.
If VDP catalog updates are desired, $ZSMS must be in the UP state. See
After SMREVERT has transformed the logically named files on the physical disk back
to direct files, the disk should be renamed to the same name that was formerly used by
the VDP. This method ensures that all files can be accessed by using the same names
and that application compatibility and TMF online dumps are preserved.
SMREVERT Fallback Sequence
Use these steps to revert files from a virtual disk $DATA in pool $POOL to a physical
volume $DATAP:
1. If the physical volume is a TMF data volume, issue the following command:
TMFCOM DISABLE DATAVOL $DATAP
2. If the volume is a TMF data volume, issue the following command:
TMFCOM DELETE DATAVOL $DATAP