Migrating data with an equivalent amount of free capacity Image mode and migrating existing data Migrating data with a smaller amount of free capacity

This task provides step-by-step instructions to ensure that your free capacity is equivalent to the capacity of the data being imported.

Steps

Perform the following steps to ensure that your free capacity is equivalent to the capacity of the data being imported:

  1. Stop all I/O operations from your hosts. Un-map the logical disks that contain the data from your hosts.
  2. Create one or more managed disk groups with free capacity, that is, space where you wish to migrate the data to. Ensure that these groups have enough free capacity to migrate all the existing data and that they are configured in a well balanced manner.
  3. Create an empty managed disk group. This will temporarily contain the data being imported.
  4. Create an image mode virtual disk from the first managed disk that contains the data to be imported. To do this, perform the following steps:
    1. Map one logical disk from the storage subsystem to the SAN Volume Controller ports.
    2. Issue the svctask detectmdisk command on the cluster. The new managed disk that is found will correspond with the logical disk mapped in the previous step.
    3. Create an image mode virtual disk from this managed disk. Assign it to use the empty managed disk group just created.
    4. Repeat for all logical disks as required.
  5. If you have decided to continue the I/O operations while you migrate the data into SAN Volume Controller, map all the image mode virtual disks to the hosts using the SAN Volume Controller and continue accessing the data through the SAN Volume Controller.
  6. Migrate the data into the managed disk groups you created in step 2. To do this, perform the following:
    1. Select the first image mode virtual disk to be migrated.
    2. Migrate this virtual disk from its current managed disk group into one of the managed disk groups created in step 2 above. This will migrate all the data from the logical disk into the new free space.
    3. When this completes, select the next image mode virtual disk and repeat the previous step.
  7. When all the virtual disks have been migrated you will end up with the managed disk groups created in step 2 containing the data that was on the image mode virtual disks. This data will be striped across the new groups and will be virtualized.
  8. You should now go back and destroy the temporary managed disk group that contained the original image mode virtual disks.
  9. Go back to the storage subsystem and re-configure the old arrays and logical disks according to the guidelines.
  10. Add this storage back under the SAN Volume Controller and use the old storage to create new virtual disks.
Related topics Image mode and migrating existing data Migrating data with a smaller amount of free capacity

(C) Copyright International Business Machines Corporation 2003, 2004