IBM SG24-5360-00 manual Using SnapShot to Copy a File from One Volume to Another

Page 57

Notes: In Figure 25, in the DEVICE DETAIL REPORT, the data stored for device 80F reflects snapping the data from 80E. Also, the physical used capacity reflects its source on device 80E. The key indicator is the

NET-CAPACITY-LOAD (%), which shows that the PROD capacity of the RVA has remained constant at 51.01%.

Using the VOLUME command, we verified that the target volume serial number had been changed to PATEV3.

The actual time to accomplish the copy was less than 1 sec, as indicated by messages IXFP22I and IXFP20I, which show the start and end times for the copy.

We used the above configuration as the base for all other manipulations of the RVA during the creation of this redbook. The RVA now contains two volumes, which have the same content but different volume serial numbers.

B.1.3 Using SnapShot to Copy a File from One Volume to Another

In the Figure 26, we show the snapping of a single file from one volume to another. The example shows the copy being done twiceÐonce without the NOPROMPT option, and once with it. When NOPROMPT is selected, message IXFP23D is suppressed.

￿

 

 

 

 

 

 

ixfp snap,80e(dsn=′ test.data.1′ ) : 8 0 f

 

 

 

 

 

 

AR+0015 IXFP23D SNAP FROM CUU=80E DSN=′ TEST.DATA.1′ TO CUU=80F - REPLY ′ YES′

 

TO PROCEED

 

 

 

15

yes

 

 

 

 

 

AR 0015 IXFP22I SNAP TO

CUU= 80F STARTED AT 11:44:44

11/20/1998

 

AR 0015 IXFP20I SNAP FUNCTION COMPLETED

AT 11:44:44

11/20/1998

 

AR 0015

1I40I READY

 

 

 

 

ixfp snap,80e(dsn=′ test.data.1′):80 f,noprompt

 

 

AR 0015

IXFP22I SNAP TO

CUU= 80F STARTED AT 18:16:59

11/17/1998

 

AR 0015

IXFP20I SNAP FUNCTION COMPLETED

AT 18:16:59

11/17/1998

￿AR 0015 1I40I READY

Figure 26. Making a SnapShot of a Single File

B.1.4 Using SnapShot to Copy Files with Relocation

￿

￿

In the Figure 27 on page 48, we show two attempts to copy a file from device 80E to 80F with relocation of the data on the target volume. The first copy is successful. The second copy fails because there is already a file on the target with the same file ID in the VTOC and it is unexpired. (The first would have failed also except that the first files expiration date had been reached.)

Appendix B. IXFP Command Examples 47

Image 57
Contents International Technical Support Organization Page International Technical Support Organization First Edition January Contents Peer-to-Peer Remote Copy Itso Redbook Evaluation Contents Vi Ramac Virtual Array, Peer-to Peer Remote VSE/ESA Team That Wrote This Redbook PrefaceYour comments are important to us Comments WelcomeIBM Ramac Virtual Array What Is an IBM Ramac Virtual Array?Overview of RVA and the Virtual Disk Architecture Log Structured File− Functional track table Data Compression and CompactionWhat Is IXFP/SnapShot for VSE/ESA? What Is SnapShot?VSE/ESA Support for the RVA Deleted Data Space Release What Is IXFP?Reporting Functions What Is Peer-to-Peer Remote Copy?Ramac Virtual Array, Peer-to Peer Remote VSE/ESA RVA Benefits for VSE/ESA RVA Simplifies Your Storage ManagementDisk Capacity Administration IxfpBatch Window Improvement IXFP/SnapShot for VSE/ESA Ramac Virtual ArrayApplication Development RVA Data AvailabilityHardware Pprc SnapShotRamac Virtual Array, Peer-to Peer Remote VSE/ESA Prerequisites VSE/ESA Support for the RVAVolumes 1 VSE/ESA Input/Output Configuration ProgramHost Connection Partial Disk Minimal Init Volume Minimal InitAssgn ExecRamac Virtual Array, Peer-to Peer Remote VSE/ESA System VSE/ESA User Time IXFP/SnapShot for VSE/ESASample Batch Job to Invoke Ixfp Report Function DTRIATTN,PARM=′ Ixfp REPORT′IXFP/SnapShot for VSE/ESA Phys DetailAR 0015 CUU DEF DefinedIxfp Snap Full VolumeVSE/VSAM Reply ′ YES′ to ProceedRange of Cylinders Non-VSAM File Expired Files Total Volume Ixfp DDSR,PATEV3Ixfp DDSR,PATEV30000-0999,NOPROMPT Ixfp DDSR,PATEV3DSN=′ test.data.3′ , Noprompt Specified FileIxfp REPORT,80E Ixfp REPORT,80F Ixfp REPORT,80E,80FIxfp Report Device Detail Report Sample Output of Ixfp Report CommandRamac Virtual Array, Peer-to Peer Remote VSE/ESA Subsystem Summary Report Device Summary ReportRamac Virtual Array, Peer-to Peer Remote VSE/ESA Peer-to-Peer Remote Copy Peer-to-Peer Remote CopyPprc Data Flow Pprc and VSE/ESA Software RequirementsInvoking peer-to-peer remote copy Pprc Hardware RequirementsSnapShot Considerations Examples of Pprcopy CommandsPrimary Devices of a Pprc Pair Secondary Devices of a Pprc PairRecovering from a Primary Site Failure Setting Up Pprc Paths and PairsRecovering from a Secondary Site Failure Deleting Pprc Pairs and PathsPhysical Connections to the RVA Determining the Channel Connection Address Determining the Logical Control Unit Number for RVARamac Virtual Array, Peer-to Peer Remote VSE/ESA Functional Device Configuration Appendix A. RVA Functional Device ConfigurationFunctional Device Configuration Screen CD23 Appendix B. Ixfp Command Examples Snap CommandSyntax Ramac Virtual Array, Peer-to Peer Remote VSE/ESA Noprompt Using SnapShot to Copy One Volume to AnotherAR 0015 Capacity DEFINED-CAPACITYTest Prod Overall Test Prod Using SnapShot to Copy Files with Relocation Using SnapShot to Copy a File from One Volume to AnotherIXFP20I Snap Function Completed AT Other Uses of SnapShotSyntax of Ixfp Ddsr Command Details Ddsr CommandUsing Ddsr to Delete the Contents of a Volume Using Ddsr to Delete a Single Data SetUsing Ddsr to Delete the Free Space on an RVA ReportAR+0015 IXFP29D Ddsr for For Deletion Report Command Reporting on the Capacity of Multiple Volumes Reporting on the Capacity of a Single VolumeReporting on the Capacity of the RVA Subsystem Device Detail Report FUNC. Capacity MBIXFP/SnapShot Setup Job Streams JOB WCWTEST1Exec DTRIATTN,PARM=′ Ixfp REPORT′ BG 0000 1A86I Following Assignments are Released BG 0000 // JOB InitdiskIxfp DDSR,80E Ready Ixfp DDSR,80F$$DITTO BLKFACTOR=1 EOJ 50.83 47.86 AR 0015 1I40I Ready$$DITTO BLKFACTOR=1 $$DITTO EOJ 726532.208 MB 117880.209 MB 57754.953 MB Appendix C. VSE/VSAM Considerations Backing up Vsam Volumes Appendix C. VSE/VSAM Considerations Ramac Virtual Array, Peer-to Peer Remote VSE/ESA Appendix D. Iocds Example Ramac Virtual Array, Peer-to Peer Remote VSE/ESA Appendix E. Special Notices Following terms are trademarks of other companies International Technical Support Organization Publications Appendix F. Related PublicationsRedbooks on CD-ROMs Other PublicationsRamac Virtual Array, Peer-to Peer Remote VSE/ESA ∙ E-mail Orders How to Get Itso RedbooksPlease send me the following IBM Redbook Fax Order FormSee CKD IndexPprc distance Please answer the following questions Itso Redbook EvaluationSG24-5360-00