MFE zDP: Configuration: SRP increased after zDP Business Continuance Volume recovery
Summary: The Data Protection for z Systems (zDP) Business Continuance Volume (BCV) recovery is run. The Storage Resource Pool (SRP) increases and allocated space is not freed on the target volumes. This can be fixed by linking and unlinking the SNAPSET with the FREE parameter. ...
Symptoms
After zDP BCV recovery, the SRP increases and allocated space is not freed on the target volumes.
Cause
During the UNLINK, the FREE process is not done. Target volumes still have allocations associated with the SNAPSET.
Resolution
Check that the FREE parameter is specified on the UNLINK. If the FREE parameter was not included on the UNLINK, another LINK and UNLINK with a FREE can be run. This action frees the allocated space on the target volumes.
To check the volume allocations, use the QUERY ALLOC report. An example of the QUERY ALLOC is shown below. The report should be run twice. The first run is to check the allocated space on all volumes including target volumes. The second run is done after the FREE parameter to verify that the previously allocated space on the target volumes is freed. If the original SNAPSET has rolled off, a newer SNAPSET can be used for the LINK and UNLINK with a FREE parameter. The zDP definition must not have changed; both SNAPSETS were created using the same Versioned Data Group (VDG) definition.
Additional Information
Sample Job Control Language (JCL) for UNLINK with a FREE parameter:
//ZDPDEF EXEC PGM=EIPINIT,REGION=0M
//STEPLIB DD DISP=SHR,DSN=ZDP.LINKLIB
//SYSPRINT DD SYSOUT=*,DCB=BLKSIZE=121
//ZDPRPT DD SYSOUT=*,DCB=BLKSIZE=121
//ZDPERR DD SYSOUT=*,DCB=BLKSIZE=121
//SCF$NNNN DD DUMMY -- need to update nnnn to SCF command prefix
//ZDPSNAP DD SYSOUT=*
//EMCQCAPI DD SYSOUT=*
//ESNAZDPL DD SYSOUT=*
//SYSIN DD *
GLOBAL MAX_RC(04)
*
UNLINK TGT SNAPSHOT_NAME,FREE(YES)
*
/*
//
The QUERY ALLOC job generates a Device Allocation report that provides details about device allocations.
Sample Job Control Language for QUERY ALLOC:
//STEPNAME EXEC PGM=ESFGPMBT
//STEPLIB DD DISP=SHR,DSN=hlq.LINKLIB -- need to update hlq per your MFE linklib
//SCF$nnnn DD DUMMY -- need to update nnnn to SCF command prefix
//DBUGPMBT DD SYSOUT=*
//DBUGPMCM DD SYSOUT=*
//DBUGPMSD DD SYSOUT=*
//GPMPRINT DD SYSOUT=*
//GPMINPUT DD *
QUERY ALLOC LOCAL(UNIT(CCUU)) -- CCUU is the array gatekeeper
Sample QUERY ALLOC output:
EMCU500I QUERY ALLOC LOCAL(UNIT(9B10)) DEV(020-022)
EMCU060I Thin Allocations on 0001976-00382 API Ver: 8.40
EMCU014I Device# Alloc Used Shared Persist SRP Name
EMCU015I 00000020 30020 30020 30017 N SRP_0x102
EMCU015I 00000021 17 17 0 N SRP_0x102
EMCU015I 00000022 30020 3 30017 N SRP_0x102