> -----Original Message-----
> From: IBM Mainframe Discussion List 
> [mailto:[EMAIL PROTECTED] On Behalf Of Jim McAlpine
> Sent: Friday, November 09, 2007 8:51 AM
> To: IBM-MAIN@BAMA.UA.EDU
> Subject: copy zfs dataset
> 
> 
> I have a zfs dataset which is allocated with a primary and no 
> secondary
> space and I need to increase the size.  The hi-alloc-rba and 
> the hi-used-rba
> are both at the max size of the primary quantity so it is 
> formatted to its
> max.  How do I increase the size of this.  I presume I have 
> to allocate a
> new one and copy from the old one but what do I use to do the copy.
> 
> Jim McAlpine

Look at the zfasdmin command. It can dynamically add secondary and/or
extend to a second volume.

http://publibz.boulder.ibm.com/cgi-bin/bookmgr_OS390/BOOKS/FCXD5A70/2.2.
17


Now, to answer the question asked, I usually use "pax" in "copy" mode to
copy subdirectories from one filesystem to another one. Oh, I need to be
"root" to do this properly!

http://publibz.boulder.ibm.com/cgi-bin/bookmgr_OS390/BOOKS/BPXZA580/PAX

cd /from/subdirectory
pax -rw -pe -k -X * /to/sub/directory

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