Re: copy zfs dataset
On 11/9/07, McKown, John [EMAIL PROTECTED] wrote: Look at the zfasdmin command. It can dynamically add secondary and/or extend to a second volume. I'm trying to grow a zfs file aggregate with the following command - zfsadm grow -aggregate zfs.was510.comfig.zfs -size 30 and getting the following error - IOEZ00175E Error growing aggregate ZFS.WAS510.COMFIG.ZFS, error code=129 reason code=EF17623E I can't find any reference to the above message or reason code. The vsam allocation isfo is as follows - ALLOCATION SPACE-TYPE--CYLINDER HI-A-RBA---36864 SPACE-PRI500 HI-U-RBA---18432 SPACE-SEC--0 The user issuing the zfsadm command has a uid of zero. Jim McAlpine -- 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
Re: copy zfs dataset
On 11/14/07, McKown, John [EMAIL PROTECTED] wrote: Well, the bpxmtext function says the EF17623E means: aggregate not found. Is the zFS filesystem mounted? I think that it must be. Sorry, I had a typo in the last attempt at the command. The previous attempts with the correct name return the following - ZFSUSER:/: zfsadm grow -aggregate zfs.was510.config.zfs -size 30 IOEZ00175E Error growing aggregate ZFS.WAS510.CONFIG.ZFS, error code=8 reason code=EF17625D Jim McAlpine -- 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
Re: copy zfs dataset
-Original Message- From: IBM Mainframe Discussion List [mailto:[EMAIL PROTECTED] On Behalf Of Jim McAlpine Sent: Wednesday, November 14, 2007 10:33 AM To: IBM-MAIN@BAMA.UA.EDU Subject: Re: copy zfs dataset On 11/9/07, McKown, John [EMAIL PROTECTED] wrote: Look at the zfasdmin command. It can dynamically add secondary and/or extend to a second volume. I'm trying to grow a zfs file aggregate with the following command - zfsadm grow -aggregate zfs.was510.comfig.zfs -size 30 and getting the following error - IOEZ00175E Error growing aggregate ZFS.WAS510.COMFIG.ZFS, error code=129 reason code=EF17623E I can't find any reference to the above message or reason code. The vsam allocation isfo is as follows - ALLOCATION SPACE-TYPE--CYLINDER HI-A-RBA---36864 SPACE-PRI500 HI-U-RBA---18432 SPACE-SEC--0 The user issuing the zfsadm command has a uid of zero. Jim McAlpine Well, the bpxmtext function says the EF17623E means: aggregate not found. Is the zFS filesystem mounted? I think that it must be. ref: http://publibz.boulder.ibm.com/cgi-bin/bookmgr_OS390/BOOKS/FCXD3A80/A.6. 393 -- 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
Re: copy zfs dataset
NOTICE: All information in and attached to the e-mail(s) below may be proprietary, confidential, privileged and otherwise protected from improper or erroneous disclosure. If you are not the sender's intended recipient, you are not authorized to intercept, read, print, retain, copy, forward, or disseminate this message. If you have erroneously received this communication, please notify the sender immediately by phone (704-758-1000) or by e-mail and destroy all copies of this message (electronic, paper, or otherwise). Thank you. What size is your zfs currently? The manual says either the new size is smaller than the existing dataset, a new size of zero with a zero secondary allocation on the dataset, or not enough space on the volume. Larry Gray Large Systems Engineering Lowe's Companies 336-658-7944 -Original Message- From: IBM Mainframe Discussion List [mailto:[EMAIL PROTECTED] On Behalf Of Jim McAlpine Sent: Wednesday, November 14, 2007 11:52 AM To: IBM-MAIN@BAMA.UA.EDU Subject: Re: copy zfs dataset On 11/14/07, McKown, John [EMAIL PROTECTED] wrote: Well, the bpxmtext function says the EF17623E means: aggregate not found. Is the zFS filesystem mounted? I think that it must be. Sorry, I had a typo in the last attempt at the command. The previous attempts with the correct name return the following - ZFSUSER:/: zfsadm grow -aggregate zfs.was510.config.zfs -size 30 IOEZ00175E Error growing aggregate ZFS.WAS510.CONFIG.ZFS, error code=8 reason code=EF17625D Jim McAlpine -- 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
Re: copy zfs dataset
-Original Message- From: IBM Mainframe Discussion List [mailto:[EMAIL PROTECTED] On Behalf Of Jim McAlpine Sent: Wednesday, November 14, 2007 10:52 AM To: IBM-MAIN@BAMA.UA.EDU Subject: Re: copy zfs dataset On 11/14/07, McKown, John [EMAIL PROTECTED] wrote: Well, the bpxmtext function says the EF17623E means: aggregate not found. Is the zFS filesystem mounted? I think that it must be. Sorry, I had a typo in the last attempt at the command. The previous attempts with the correct name return the following - ZFSUSER:/: zfsadm grow -aggregate zfs.was510.config.zfs -size 30 IOEZ00175E Error growing aggregate ZFS.WAS510.CONFIG.ZFS, error code=8 reason code=EF17625D Jim McAlpine OK, that makes more sense. 1) Is there enough space on the existing volume for the dataset to expand on that volume in the quantity you specified? 2) If not, does the DSN have a candidate volume? 3) If not, then add a candidate (if SMS managed, then ALTER dsn ADDVOLUMES(*) should add a candidate 4) If you added a candidate, try the zfsadm command again. You may need to dismount and remount the zFS file for the ZFS address space to pick up any changes made in step 3. -- 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
Re: copy zfs dataset
- Original Message From: Gray, Larry - Larry A [EMAIL PROTECTED] Were both datasets the same size? No, they were not. Primary and secondary for the source and the target zFS were different. Being both VSAM, I thought REPRO could do the job. As I said, I didn't have time to debug further, and since the pax was successful I was happy with the result. I just wonder why REPRO did not work in my case. It looks like Mark (see previous post) was successful with REPRO. Walter Marguccio z/OS Systems Programmer Munich - Germany ___ Want ideas for reducing your carbon footprint? Visit Yahoo! For Good http://uk.promotions.yahoo.com/forgood/environment.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
Re: copy zfs dataset
On Fri, 9 Nov 2007 16:39:29 +, Jim McAlpine [EMAIL PROTECTED] wrote: Thanks a lot. BTW do you know if repro is a viable option for the copy. Obviously it can be used for linear datasets which this is. I have tried repro and got rc=0 but haven't tried to mount and use it yet. From: Mark Zelden [EMAIL PROTECTED] Yes. But you should unmount it first since that won't automatically quiesce the file system. Weird. Last week I had to extend a zFS beyond the 4GB limit. So I allocated a new zFS with the needed DATACLASS, then tried to copy my original zFS (4GB) into the new one using REPRO. I received rc=0, but when I mounted the new zFS I did 'cd /mydir' and saw nothing So I restarted from scratch and this time I used the pax utility to do the copy. I mounted my new zFS, did 'cd /mydir' and saw my files as in my original, 4GB zFS. I would have thought REPRO would work, as Mark stated above. In my case it didn't. Unfortunately I didn't have time to investigate/read further. Walter Marguccio z/OS Systems Programmer Munich - Germany ___ Yahoo! Answers - Got a question? Someone out there knows the answer. Try it now. http://uk.answers.yahoo.com/ -- 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
Re: copy zfs dataset
NOTICE: All information in and attached to the e-mail(s) below may be proprietary, confidential, privileged and otherwise protected from improper or erroneous disclosure. If you are not the sender's intended recipient, you are not authorized to intercept, read, print, retain, copy, forward, or disseminate this message. If you have erroneously received this communication, please notify the sender immediately by phone (704-758-1000) or by e-mail and destroy all copies of this message (electronic, paper, or otherwise). Thank you. Were both datasets the same size? A zfs is a formatted dataset. REPRO might work for copying the same size dataset, but I do not think it would work to copy to a larger dataset. That would leave the extra segments unformatted. Larry Gray Large Systems Engineering Lowe's Companies 336-658-7944 -Original Message- From: IBM Mainframe Discussion List [mailto:[EMAIL PROTECTED] On Behalf Of Walter Marguccio Sent: Monday, November 12, 2007 10:56 AM To: IBM-MAIN@BAMA.UA.EDU Subject: Re: copy zfs dataset On Fri, 9 Nov 2007 16:39:29 +, Jim McAlpine [EMAIL PROTECTED] wrote: Thanks a lot. BTW do you know if repro is a viable option for the copy. Obviously it can be used for linear datasets which this is. I have tried repro and got rc=0 but haven't tried to mount and use it yet. From: Mark Zelden [EMAIL PROTECTED] Yes. But you should unmount it first since that won't automatically quiesce the file system. Weird. Last week I had to extend a zFS beyond the 4GB limit. So I allocated a new zFS with the needed DATACLASS, then tried to copy my original zFS (4GB) into the new one using REPRO. I received rc=0, but when I mounted the new zFS I did 'cd /mydir' and saw nothing So I restarted from scratch and this time I used the pax utility to do the copy. I mounted my new zFS, did 'cd /mydir' and saw my files as in my original, 4GB zFS. I would have thought REPRO would work, as Mark stated above. In my case it didn't. Unfortunately I didn't have time to investigate/read further. Walter Marguccio z/OS Systems Programmer Munich - Germany ___ Yahoo! Answers - Got a question? Someone out there knows the answer. Try it now. http://uk.answers.yahoo.com/ -- 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
Re: copy zfs dataset
On Mon, 12 Nov 2007 11:04:47 -0500, Gray, Larry - Larry A [EMAIL PROTECTED] wrote: Were both datasets the same size? A zfs is a formatted dataset. REPRO might work for copying the same size dataset, but I do not think it would work to copy to a larger dataset. That would leave the extra segments unformatted. I ran a REPRO test with my original (personal) zFS and a new one. Original was 10 CYL, new was 25. I was able to mount and see / use the files when done with the REPRO. ... If you go back to the last time we discussed this, (I don't recall if it was about backing up or size increase) I think I said that the manuals on the DFS bookshelf don't mention REPRO. It was only mentioned in the Redbook. So if it were me, I probably would use DFSMSdss dump / restore or format an empty zFS and use pax. Mark -- Mark Zelden Sr. Software and Systems Architect - z/OS Team Lead Zurich North America / Farmers Insurance Group - ZFUS G-ITO mailto:[EMAIL PROTECTED] z/OS Systems Programming expert at http://expertanswercenter.techtarget.com/ Mark's MVS Utilities: http://home.flash.net/~mzelden/mvsutil.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
Re: copy zfs dataset
-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
Re: copy zfs dataset
On 11/9/07, McKown, John [EMAIL PROTECTED] wrote: 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 John, any idea when the zfsadmin command arrived as this particular system is z/OS 1.4 and in which manual is it documented. Jim McAlpine -- 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
Re: copy zfs dataset
-Original Message- From: IBM Mainframe Discussion List [mailto:[EMAIL PROTECTED] On Behalf Of Jim McAlpine Sent: Friday, November 09, 2007 9:14 AM To: IBM-MAIN@BAMA.UA.EDU Subject: Re: copy zfs dataset John, any idea when the zfsadmin command arrived as this particular system is z/OS 1.4 and in which manual is it documented. Jim McAlpine Should be in z/OS 1.4, if I'm reading the book correctly: http://publibz.boulder.ibm.com/cgi-bin/bookmgr_OS390/BOOKS/FCXD5A20/2.2. 17 quote This edition applies to Version 1 Release 4 of z/OS(TM) (5694-A01) and Version 1 Release 4 of z/OS.e (5655-G52), and to all subsequent releases and modifications until otherwise indicated in new editions. /quote -- 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
Re: copy zfs dataset
On 11/9/07, McKown, John [EMAIL PROTECTED] wrote: Should be in z/OS 1.4, if I'm reading the book correctly: http://publibz.boulder.ibm.com/cgi-bin/bookmgr_OS390/BOOKS/FCXD5A20/2.2. 17 quote This edition applies to Version 1 Release 4 of z/OS(TM) (5694-A01) and Version 1 Release 4 of z/OS.e (5655-G52), and to all subsequent releases and modifications until otherwise indicated in new editions. /quote -- John McKown Senior Systems Programmer HealthMarkets Keeping the Promise of Affordable Coverage Administrative Services Group Information Technology Thanks a lot. BTW do you know if repro is a viable option for the copy. Obviously it can be used for linear datasets which this is. I have tried repro and got rc=0 but haven't tried to mount and use it yet. Jim McAlpine -- 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
Re: copy zfs dataset
On Fri, 9 Nov 2007 16:39:29 +, Jim McAlpine [EMAIL PROTECTED] wrote: Thanks a lot. BTW do you know if repro is a viable option for the copy. Obviously it can be used for linear datasets which this is. I have tried repro and got rc=0 but haven't tried to mount and use it yet. Yes. But you should unmount it first since that won't automatically quiesce the file system. I haven't look at the recent doc in the z/OS library, it probably includes all the information from this RedBook that you may also want to look at: z/OS Distributed File Service zSeries File System Implementation - SG24-6580-01 Mark -- Mark Zelden Sr. Software and Systems Architect - z/OS Team Lead Zurich North America / Farmers Insurance Group - ZFUS G-ITO mailto:[EMAIL PROTECTED] z/OS Systems Programming expert at http://expertanswercenter.techtarget.com/ Mark's MVS Utilities: http://home.flash.net/~mzelden/mvsutil.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
Re: copy zfs dataset
-Original Message- From: IBM Mainframe Discussion List [mailto:[EMAIL PROTECTED] On Behalf Of Jim McAlpine Sent: Friday, November 09, 2007 10:39 AM To: IBM-MAIN@BAMA.UA.EDU Subject: Re: copy zfs dataset Thanks a lot. BTW do you know if repro is a viable option for the copy. Obviously it can be used for linear datasets which this is. I have tried repro and got rc=0 but haven't tried to mount and use it yet. Jim McAlpine Don't know. Never tried it. -- 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