This task provides step-by-step instructions on how to create FlashCopy mappings.
We are going to create mappings that enable us to copy the VDisk, mainvdisk1, to bkpvdisk1 and the VDisk, mainvdisk2 to bkpvdisk2.
The mapping specifies the source and destination virtual disks. The destination must be identical in size to the source, or the mapping will fail. Issue the svcinfo lsvdisk -bytes command to find the exact size of the source Vdisk that you want to create a target disk of the same size. The source and destination cannot be in an existing mapping. That is, a virtual disk can be either a source or a destination disk in only one mapping. A mapping is triggered at the point in time when the copy is required.
Perform the following steps to create FlashCopy mappings:
In our hypothetical scenario, the commands to create FlashCopy mappings are:
svctask mkfcmap -source mainvdisk1 -target bkpvdisk1 -name main1copy -copyrate 75 svctask mkfcmap -source mainvdisk2 -target bkpvdisk2 -name main2copy
The above commands create two FlashCopy mappings. For main1copy the background copy rate is 75; for main2copy, because the rate is not specified in the mkfcmap command, the priority is the default, 50.
svcinfo lsfcmap -delim :This command displays the following:
id:name:source vdisk id:source vdisk name:target vdisk id:target vdisk name:group id:group name:status:progress:copy rate 0:main1copy:0:mainvdisk1:1:bkpvdisk1:::idle_copied::75 1:main2copy:2:mainvdisk2:3:bkpvdisk2:::idle_copied::50