Dennis,
        I would approach this from the other direction and allocate your 
down-sized HFSs
at the space you desire, mount them along with your source HFSs, and copy 
from source to destination
with PAX. 

Mount your Java file systems at their usual locations, create and mount 
your downsized file systems
at another mountpoint in your filesystem (we use /service with our various 
target set directories underneath it.)

Using my example:

Mount your new  OMVS.CPAC.ZOSAR1.JV390.NEW at /service/J1.4
Get into the shell and cd into /usr/lpp/java/J1.4
Issue pax command pax -p e -rwX . /service/J1.4 
Upon completion, unmount both file systems, rename original to .OLD rename 
new to original and remount.

Jim Holloway - MetLife

 
>-----Original Message-----
>From: IBM Mainframe Discussion List [mailto:ibm-m...@bama.ua.edu] On 
Behalf
>Of Dennis McCarthy
>Sent: Tuesday, April 21, 2009 1:06 PM
>Subject: Decreasing an HFS
>
>Environment: Testing z/OS 1.9
>
>I use FDR to copy my HFS file systems when doing maintenance. I was able 
to 
>successfully copy them (JV390, JAVA64V5 and JAVA64V6) to a larger size, 
but 
>now that I see I've over allocated then, I want to copy again to a 
smaller 
>size. They are currently 25,000 tracks each with a max of 16% used. Pre-
>allocation of even 10,000 tracks results in an "INSUFFICIENT SPACE" error 

>message:
>
>FDR111** VOL=HFSZ01,DSN=OMVS.CPAC.ZOSAR1.JV390                       HAS 
>INSUFFICIENT SPACE ALLOCATED - 010000 TRACKS
>
>FDR111** NUMBER OF TRACKS 
>NECESSARY=025000 
>FDR111** EXTENT CYL=01112 TRK=08,CYL=02199 
>TRK=04 
>FDR111** EXTENT CYL=02308 TRK=01,CYL=02887 
>TRK=13 
>FDR326** COPY    ENDED WITH NO DATA SETS COPIED 
>VOL=HFSZ01 
>
>If I allow FDR to allocate, it will attempt to get the 25,000 tracks, and 
I
>don't 
>have the space on DASD. As an absolute last resort, I can get another 
pack, 
>but I'd rather not.
>
>Suggestions?

The information contained in this message may be CONFIDENTIAL and is for the 
intended addressee only.  Any unauthorized use, dissemination of the 
information, or copying of this message is prohibited.  If you are not the 
intended addressee, please notify the sender immediately and delete this 
message.

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

Reply via email to