> -----Original Message-----
> From: IBM Mainframe Discussion List 
> [mailto:[EMAIL PROTECTED] On Behalf Of Mike Myers
> Sent: Monday, June 16, 2008 4:38 PM
> To: [email protected]
> Subject: Cloning USS files
> 
> All:
>  
> How do I go about cloning part of a HFS file system across 
> LPARs? What I am trying to do is to copy part (one directory 
> and all sub-directories) from one HFS file on one LPAR into 
> an HFS file on another LPAR. 
>  
> The HFS file containing the desired directories is mounted as 
> root on one file system, which is the downlevel system from 
> which I am migrating. I want to carve out a copy of selected 
> directories and files from it and put them into an HFS file 
> that will be mounted and used on the uplevel system.
>  
> What are the steps I need to do to accomplish this?
>  
> Mike Myers

When I had to do this, I used pax to create an archive of the files that
I needed. I then ftp'ed the archive file to the new system and used pax
to "unwind" the archive.

1) create a sequential file that is big enough to contain the archive

2) cd to the starting subdirectory

3) pax -osaveext -wvf "//'sequential.dataset'" .

4) ftp 'sequential.dataset' to the new system (if not on shared DASD)

5) logon to the new system to a UNIX shell (TSO OMVS will work)

6) cd to the receiving subdirectory

7) pax -pex -rvf "//'sequential.dataset'"

There are other ways to do this, but the above is the simpliest
conceptually. It is the UNIX equivalent of doing a DFDSS or FDR dump of
the files and then restoring the dump on the new system.

--
John McKown
Senior Systems Programmer
HealthMarkets
Keeping the Promise of Affordable Coverage
Administrative Services Group
Information Technology

The information contained in this e-mail message may be privileged
and/or confidential.  It is for intended addressee(s) only.  If you are
not the intended recipient, you are hereby notified that any disclosure,
reproduction, distribution or other use of this communication is
strictly prohibited and could, in certain circumstances, be a criminal
offense.  If you have received this e-mail in error, please notify the
sender by reply and delete this message without copying or disclosing
it.  

----------------------------------------------------------------------
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