Mark,
I just went through this yesterday and you don't have to restore the zfs
aggregate. 
I built this jcl:

//ZFSGROW EXEC PGM=BPXBATCH,                                         
//      PARM='sh zfsadm grow -aggregate syszm.hfszst.var -size 1920' 
//SYSPRINT DD   SYSOUT=*                                             
//SYSTSPRT DD   SYSOUT=*                                             
//STDOUT   DD  SYSOUT=*

Just back it up as you should do then run the jcl.
The output looks like this:

IOEZ00173I Aggregate SYSZM.HFSZST.VAR successfully grown      
SYSZM.HFSZST.VAR (R/W COMP): 1114 K free out of total 1920

Wayne Schroeder
Mainframe Storage Administrator
Texas Farm Bureau Mutual Insurance Company
7420 Fish Pond Rd.
Waco, TX 76710
254.399.5070  Desk
254.644.8534  Cell
[email protected]


-----Original Message-----
From: IBM Mainframe Discussion List [mailto:[email protected]] On
Behalf Of Mark Pace
Sent: Wednesday, August 05, 2009 10:48 AM
To: [email protected]
Subject: Re: zFS aggregate resize

Found a solution to the problem.

zfsadm grow

Grow the original dataset.  When you back and restore the new dataset
will
be the correct size.

On Wed, Aug 5, 2009 at 11:08 AM, Mark Pace <[email protected]> wrote:

> I have a need to resize my ETC filesystem.  When doing maintenance I
do
> something like this
> Backup -
> //STEP02   EXEC PGM=ADRDSSU,REGION=0M
> //SYSPRINT DD SYSOUT=*
> //OUT1    DD DSN=OMVS.ETC.BKUP,DISP=OLD
> //SYSIN    DD *
>  DUMP COMPRESS OPT(4) SHARE OUTDD(OUT1) TOL(ENQF) -
>       DATASET(INCLUDE(OMVS.ETC.SYSTEMA))
>
> Restore -
> //STEP02   EXEC PGM=ADRDSSU,REGION=0M
> //SYSPRINT DD SYSOUT=*
> //IN1    DD DSN=OMVS.ETC.BKUP,DISP=OLD
> //SYSIN    DD *
>  RESTORE INDD(IN1) TOL(ENQF) -
>       DATASET(INCLUDE(OMVS.ETC.SYSTEMA)) -
>       RENAMEU(OMVS.ETC.SYSTEMA,OMVS.ETC.SYSTEMB) -
>       REPLACE
>
> So I thought I would just prealloc the new file larger, but I've
discovered
> that DSS creates the new dataset using the old definitions.  I have
read
> through the DSS guide and reference and can not determine how to make
the
> new dataset larger.
>
>
> --
> Mark Pace
> Mainline Information Systems
> 1700 Summit Lake Drive
> Tallahassee, FL. 32317
>



-- 
Mark Pace
Mainline Information Systems
1700 Summit Lake Drive
Tallahassee, FL. 32317

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [email protected] with the message: GET IBM-MAIN INFO
Search the archives at http://bama.ua.edu/archives/ibm-main.html

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [email protected] with the message: GET IBM-MAIN INFO
Search the archives at http://bama.ua.edu/archives/ibm-main.html

Reply via email to