Moving data from physical volumes to virtual disks – HP Integrity NonStop J-Series User Manual
Page 84
Migration Guidelines
HP NonStop Storage Management Foundation User's Guide—523562-007
4-12
Moving Data From Physical Volumes to Virtual Disks
You can use the FUP RELOCATE function to first consolidate all of the VDP files from
multiple volumes to a single physical disk before the SMREVERT operation. In
addition, if a physical disk contains files that belong to multiple VDPs, you should use
the FUP RELOCATE function to segregate each of the VDP’s files onto separate
physical disks in the pool to preserve application compatibility.
For more information on the SMF relocate function, see
.
Online Dumps
If file names change, online dumps will no longer be valid. This consideration is
another that must be taken into account when the decision is to be made as to which
volumes, if any, should be renamed to match the former virtual disk names.
Moving Data From Physical Volumes to Virtual
Disks
The preceding subsections described how to convert a physical volume into a virtual
disk by using SMCONVRT. In some cases, the goal might be to move the data onto a
different disk: for example, when consolidating the data from many small disks onto a
small number of 18 GB disks. If preserving the file name is not important, standard
commands such as FUP DUP, SQLCI DUP, or the SQL PDR MOVE PARTITION
command can be used to move data from a physical volume to a virtual disk. Usually,
however, preserving the file name in addition to avoiding the need for SQL recompiles
and new TMF online dumps is a key objective. The following example describes how
this can be done by using the SMCONVRT utility and the FUP RELOCATE command.
Suppose the objective is to merge the data from eighteen 2 GB disks, $S1 through
$S18, onto two new eighteen GB disks, $B1 and $B2, while preserving the file names.
The following steps accomplish this task.
1. Create a pool, $P, consisting of the two new disks, $B1 and $B2.
2. Use SMCONVRT to add each of the small disks $S1 through $S18 into $P. SMF
creates 18 virtual disks, $S1 through $S18.
3. Isolate each of the small disks by using the PUP ISOLATE command on D-series
systems or the SCF ALTER DISK AUTOSELECTOFF command on G-series
systems to prevent SMF from placing any additional files on those disks.
4. Use the FUP RELOCATE command on each virtual disk to move its files from their
original locations on the small disks to new locations on the large disks. Because
all the small disks have been isolated, the RELOCATE command will select new
locations only on $B1 and $B2. In some cases, for performance or data
consistency reasons, it may be important that all the data from a small disk remain
co-located on the same physical volume. If so, you can use the PHYSVOL
parameter of the FUP RELOCATE command to specify the physical disk ($B1 or