11.1.13 FlashCopy and image mode Volumes FlashCopy can be used with image mode volumes. Because the source and target volumes  must be the same size, you must create a target volume with the same size as the image  mode volume when you are creating a FlashCopy mapping. To accomplish this task with the  CLI, use the  svcinfo lsvdisk -bytes volumename  command. The size in bytes is then used  to create the volume that is used in the FlashCopy mapping. This method provides an exact number of bytes because image mode volumes might not line  up one-to-one on other measurement unit boundaries. Example 11-1 shows the size of the  ITSO-TSTRS001  volume. The  ITSO-TSTRS002  volume is then created, which specifies the same  size.  Tip:  Alternatively, you can use the  expandvdisksize  and  shrinkvdisksize  volume  commands to modify the size of the volume.  These actions must be performed before a mapping is created. This section describes the events that modify the states of a FlashCopy. It also describes the  mapping events that are listed in Table 11-6 on page 460. 11.1.14 FlashCopy mapping events Example 11-1 Listing the size of a volume in bytes and creating a volume of equal size IBM_Storwize:ITSO-V7k:superuser>lsvdisk -bytes ITSO-TSTRS001 id 19 name ITSO-TSTRS001 IO_group_id 0 IO_group_name io_grp0 status online mdisk_grp_id 0 mdisk_grp_name Pool0 capacity 1073741824 type striped ...... IBM_Storwize:ITSO-V7k:superuser>mkvdisk -mdiskgrp 0 -iogrp 0  -size 1073741824 -unit b -name ITSO-TSTRS002 Virtual Disk, id [20], successfully created IBM_Storwize:ITSO-V7k:superuser> IBM_Storwize:ITSO-V7k:superuser>lsvdisk -delim " " 19 ITSO-TSTRS001 0 io_grp0 online 0 Pool0  1.00GB  striped 6005076400A7015B0800000000000016 0 1 not_empty 0 no 0 0 Pool0 yes no 19  ITSO-TSTRS001 20 ITSO-TSTRS002 0 io_grp0 online 0 Pool0  1.00GB  striped 6005076400A7015B0800000000000017 0 1 not_empty 0 no 0 0 Pool0 yes no 20  ITSO-TSTRS002 IBM_Storwize:ITSO-V7k:superuser> Chapter 11. Advanced Copy Services  459