Host considerations for FlashCopy integrity Preparing Windows volumes for FlashCopy Remote Copy relationships

This topic provides step-by-step instructions to flush data from your host volumes and perform the FlashCopy.

The SAN Volume Controller FlashCopy functionality transfers a point-in-time copy of one virtual disk onto a designated target virtual disk of the same size. Both virtual disks must already be created. All the data in the source virtual disk is copied to the destination virtual disk. This includes operating system control information as well as application data and meta-data. Because all the data is copied, some operating systems will not allow a source disk and a target disk to reside on the same host. In order to ensure the integrity of the copy made, it is necessary to completely flush the host cache of any outstanding reads or writes before proceeding with the FlashCopy. Host cache flushing is ensured by unmounting the source virtual disks from the source host before starting the FlashCopy.

Steps

Perform the following steps to flush data from your host volumes and perform the FlashCopy:

  1. If you are using UNIX or Linux operating systems, perform the following steps:
    1. Quiesce all applications to the source volumes you wish to FlashCopy.
    2. Use the umount command to unmount the designated drives.
    3. Prepare and start the FlashCopy for those unmounted drives.
    4. Mount back your volumes with the mount command and resume your applications.
  2. If you are using Windows operating system using drive letter changes, perform the following steps:
    1. Quiesce all applications to the source volumes you wish to FlashCopy.
    2. Go into your disk management window and remove the drive letter on each drive to be copied (this unmounts the drive).
    3. Prepare and start the FlashCopy for those unmounted drives.
    4. Mount back your volumes by restoring the drive letters, and resume your applications.

    If you are using the chkdsk command, perform the following steps:

    1. Quiesce all applications to the source volumes you wish to FlashCopy.
    2. Issue the chkdsk /x command on each drive to be copied (the /x option will unmount, scan, and remount the volume).
    3. Ensure that all applications to the source volumes are still quiesced.
    4. Prepare and start the FlashCopy for those unmounted drives.
    Note:Note: If you can ensure that no reads and writes will be issued to the source volumes after unmounting, you can immediately remount and then perform the FlashCopy.

Because the target disks will be overwritten with a complete image of the source disks, it is important that any data held in the host operating system (or application) caches for the target disks is discarded before the FlashCopy mappings are started. The easiest way to ensure that no data is held in these caches is to unmount the target disks prior to starting FlashCopy.

Some operating systems and applications provide facilities to stop I/O operations and to ensure that all data is flushed from caches on the host. If these facilities are available then they can be used to prepare and start a FlashCopy in a less disruptive manner. Refer to your host and application documentation for details.

Some operating systems are unable to use a copy of a virtual disk without an additional step, which is called synthesis. Synthesis performs some transformation on the operating system meta-data on the target virtual disk to allow the operating system to use the disk. Refer to your host documentation on how to detect and mount the copied virtual disks.

(C) Copyright International Business Machines Corporation 2003, 2004