On Thu, Sep 21, 2017 at 12:05 PM, Lizette Koehler <[email protected]>
wrote:

> When I used REPRO on a zFS the same size was used no matter how the TO
> file was set up.  So I think REPRO works for a like-to-like copy.
>
> If you want to resize, you need to create a new zFS then use OMVS to cp
> the file with appropriate functions.
>
>    cp -R -p source target
>

​Just to be a technical bother, there is a slight problem with that
command. If there is a "mount point" with a second filesystem mounted on it
below the "source" directory, then all the data on that (and any other)
filesystem will also be copied to "target". Which is rarely what is wanted.
It is better to run "pax" in copy mode.

pax ​-M -peW -X source target

​Note that the pax command above will most likely need to be done with an
effective UID of 0 (I use "sudo", but installation of that is optional) and
by a user with the RACF AUDITOR attribute (the W copies the audit
attributes and requires RACF AUDITOR). ​
​


>
> This way I keep my files and attributes, etc  in tack in the target file
>
> Lizette
>
>

-- 
*L'Shanah Tovah Tikatevu*

Maranatha! <><
John McKown

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [email protected] with the message: INFO IBM-MAIN

Reply via email to