Re: increasing the size of a zFS file system...
Thanks to all who replied; I appreciate the help. DJ -- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN
Re: increasing the size of a zFS file system...
This is from IBM: Figure 1. Sample job to copy the physical blocks of an aggregate to a larger data set//SUIMGVMB JOB ,'EXPAND AGGR WITH REPRO', // CLASS=A,MSGCLASS=X,MSGLEVEL=(1,1) //DEFINE EXEC PGM=IDCAMS //SYSPRINT DD SYSOUT=H //SYSINDD * DEFINE CLUSTER (NAME(PLEX.NEW.AGGR002.LDS0002) - LINEAR CYL(100 5) SHAREOPTIONS(3) - VOLUMES(CFC000 CFC001)) /* //LCAT1EXEC PGM=IDCAMS //SYSPRINT DD SYSOUT=* //* This step should show a HI-U-RBA of 0 //* for PLEX.NEW.AGGR002.LDS002 //SYSINDD * LISTCAT ENTRIES(PLEX.OLD.AGGR002.LDS0002) - ALL LISTCAT ENTRIES(PLEX.NEW.AGGR002.LDS0002) - ALL /* //REPRO1 EXEC PGM=IDCAMS //SYSPRINT DD SYSOUT=H //* The next line guarantees that the file system is not mounted //IN1 DD DSN=PLEX.OLD.AGGR002.LDS0002,DISP=OLD //SYSIN DD * REPRO - INFILE(IN1) - OUTDATASET(PLEX.NEW.AGGR002.LDS0002) /* //LCAT2EXEC PGM=IDCAMS //SYSPRINT DD SYSOUT=* //* This step should show the HI-U-RBA of //* PLEX.NEW.AGGR002.LDS002 equal to the HI-U-RBA //* of PLEX.OLD.AGGR002.LDS002 //SYSINDD * LISTCAT ENTRIES(PLEX.OLD.AGGR002.LDS0002) - ALL LISTCAT ENTRIES(PLEX.NEW.AGGR002.LDS0002) - ALL /* Thanks -Original Message- From: IBM Mainframe Discussion List [mailto:IBM-MAIN@LISTSERV.UA.EDU] On Behalf Of Lizette Koehler Sent: Tuesday, December 11, 2018 11:42 AM To: IBM-MAIN@LISTSERV.UA.EDU Subject: Re: increasing the size of a zFS file system... I also use this command in batch to display how my zFS files are in size //ZFCACHE1 EXEC PGM=BPXBATCH, // PARM='sh df -kP /appl/ars/Prod/cache' //SYSPRINT DD SYSOUT=* //SYSTSPRT DD SYSOUT=* //STDOUT DD SYSOUT=* Good for batch or OMVS usage But as others will point out, for User zFS/HFS files, use one per user. With FTP and other processes using more and more USS services, some will grow really big and others will stay small. You will also have an easier clean up process by using individual files for the file system. Lizette > -Original Message- > From: IBM Mainframe Discussion List On Behalf Of > Lizette Koehler > Sent: Tuesday, December 11, 2018 10:37 AM > To: IBM-MAIN@LISTSERV.UA.EDU > Subject: Re: increasing the size of a zFS file system... > > I use this in Batch. This grows the zFS based on the secondary allocation. > > > > //XPT001 EXPORT SYMLIST=* > //* > //SYM001 SET NZFS='MY.MVS.DATA.SET.NAME.HERE' > //* > //ZFSGROW EXEC PGM=BPXBATCH, > // PARM='sh zfsadm grow -aggregate &NZFS. -size 0' > //SYSPRINT DD SYSOUT=* > //SYSTSPRT DD SYSOUT=* > //STDOUT DD SYSOUT=* > > I put the zFS MVS Dataset name in a symbol as it makes my JCL easier to work > with > > > Lizette > > > > > -Original Message- > > From: IBM Mainframe Discussion List [mailto:IBM-MAIN@LISTSERV.UA.EDU] > > On Behalf Of DJ > > Sent: Tuesday, December 11, 2018 7:28 AM > > To: IBM-MAIN@LISTSERV.UA.EDU > > Subject: increasing the size of a zFS file system... > > > > Hello, all. > > Does anyone happen to have handy a cheat sheet type document on how to > > increase the size of a zFS file system, specifically the ZFS.USERS > > (mounted at "/u") one? > > Thanks in advance. > > DJ > > -- > For IBM-MAIN subscribe / signoff / archive access instructions, send email to > lists...@listserv.ua.edu with the message: INFO IBM-MAIN -- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN *** Disclaimer *** This communication (including all attachments) is solely for the use of the person to whom it is addressed and is a confidential AAA communication. If you are not the intended recipient, any use, distribution, printing, or copying is prohibited. If you received this email in error, please immediately delete it and notify the sender. -- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN
Re: increasing the size of a zFS file system...
I also use this command in batch to display how my zFS files are in size //ZFCACHE1 EXEC PGM=BPXBATCH, // PARM='sh df -kP /appl/ars/Prod/cache' //SYSPRINT DD SYSOUT=* //SYSTSPRT DD SYSOUT=* //STDOUT DD SYSOUT=* Good for batch or OMVS usage But as others will point out, for User zFS/HFS files, use one per user. With FTP and other processes using more and more USS services, some will grow really big and others will stay small. You will also have an easier clean up process by using individual files for the file system. Lizette > -Original Message- > From: IBM Mainframe Discussion List On Behalf Of > Lizette Koehler > Sent: Tuesday, December 11, 2018 10:37 AM > To: IBM-MAIN@LISTSERV.UA.EDU > Subject: Re: increasing the size of a zFS file system... > > I use this in Batch. This grows the zFS based on the secondary allocation. > > > > //XPT001 EXPORT SYMLIST=* > //* > //SYM001 SET NZFS='MY.MVS.DATA.SET.NAME.HERE' > //* > //ZFSGROW EXEC PGM=BPXBATCH, > // PARM='sh zfsadm grow -aggregate &NZFS. -size 0' > //SYSPRINT DD SYSOUT=* > //SYSTSPRT DD SYSOUT=* > //STDOUT DD SYSOUT=* > > I put the zFS MVS Dataset name in a symbol as it makes my JCL easier to work > with > > > Lizette > > > > > -Original Message- > > From: IBM Mainframe Discussion List [mailto:IBM-MAIN@LISTSERV.UA.EDU] > > On Behalf Of DJ > > Sent: Tuesday, December 11, 2018 7:28 AM > > To: IBM-MAIN@LISTSERV.UA.EDU > > Subject: increasing the size of a zFS file system... > > > > Hello, all. > > Does anyone happen to have handy a cheat sheet type document on how to > > increase the size of a zFS file system, specifically the ZFS.USERS > > (mounted at "/u") one? > > Thanks in advance. > > DJ > > -- > For IBM-MAIN subscribe / signoff / archive access instructions, send email to > lists...@listserv.ua.edu with the message: INFO IBM-MAIN -- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN
Re: increasing the size of a zFS file system...
I use this in Batch. This grows the zFS based on the secondary allocation. //XPT001 EXPORT SYMLIST=* //* //SYM001 SET NZFS='MY.MVS.DATA.SET.NAME.HERE' //* //ZFSGROW EXEC PGM=BPXBATCH, // PARM='sh zfsadm grow -aggregate &NZFS. -size 0' //SYSPRINT DD SYSOUT=* //SYSTSPRT DD SYSOUT=* //STDOUT DD SYSOUT=* I put the zFS MVS Dataset name in a symbol as it makes my JCL easier to work with Lizette > > -Original Message- > From: IBM Mainframe Discussion List [mailto:IBM-MAIN@LISTSERV.UA.EDU] On > Behalf Of DJ > Sent: Tuesday, December 11, 2018 7:28 AM > To: IBM-MAIN@LISTSERV.UA.EDU > Subject: increasing the size of a zFS file system... > > Hello, all. > Does anyone happen to have handy a cheat sheet type document on how to > increase the size of a zFS file system, specifically the ZFS.USERS (mounted > at "/u") one? > Thanks in advance. > DJ -- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN
Re: increasing the size of a zFS file system...
If you can't grow, it's not already a multi-volume aggregate, etc. Increase the size of the aggregate: https://www.ibm.com/support/knowledgecenter/en/SSLTBW_2.1.0/com.ibm.zos.v2r1.ioea700/incr_size_aggr.htm If you're going through the trouble of the latter, you may want to pursue a version 1.5 aggregate if you're at least z/OS V2R1: https://www.ibm.com/support/knowledgecenter/en/SSLTBW_2.1.0/com.ibm.zos.v2r1.ioea700/fiveagg.htm Regards, Kevin -Original Message- From: IBM Mainframe Discussion List [mailto:IBM-MAIN@LISTSERV.UA.EDU] On Behalf Of DJ Sent: Tuesday, December 11, 2018 7:28 AM To: IBM-MAIN@LISTSERV.UA.EDU Subject: increasing the size of a zFS file system... Hello, all. Does anyone happen to have handy a cheat sheet type document on how to increase the size of a zFS file system, specifically the ZFS.USERS (mounted at "/u") one? Thanks in advance. DJ -- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN -- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN
Re: increasing the size of a zFS file system...
As superuser: zfsadm grow -a ZFS.USERS -s yournewsize _ Dave Jousma Mainframe Engineering, Assistant Vice President david.jou...@53.com 1830 East Paris, Grand Rapids, MI 49546 MD RSCB2H p 616.653.8429 f 616.653.2717 -Original Message- From: IBM Mainframe Discussion List On Behalf Of DJ Sent: Tuesday, December 11, 2018 10:28 AM To: IBM-MAIN@LISTSERV.UA.EDU Subject: increasing the size of a zFS file system... **CAUTION EXTERNAL EMAIL** **DO NOT open attachments or click on links from unknown senders or unexpected emails** Hello, all. Does anyone happen to have handy a cheat sheet type document on how to increase the size of a zFS file system, specifically the ZFS.USERS (mounted at "/u") one? Thanks in advance. DJ -- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN **CAUTION EXTERNAL EMAIL** **DO NOT open attachments or click on links from unknown senders or unexpected emails** This e-mail transmission contains information that is confidential and may be privileged. It is intended only for the addressee(s) named above. If you receive this e-mail in error, please do not read, copy or disseminate it in any manner. If you are not the intended recipient, any disclosure, copying, distribution or use of the contents of this information is prohibited. Please reply to the message immediately by informing the sender that the message was misdirected. After replying, please erase it from your computer system. Your assistance in correcting this error is appreciated. -- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN
Re: increasing the size of a zFS file system...
On Tue, 11 Dec 2018 09:27:31 -0600, DJ wrote: >Does anyone happen to have handy a cheat sheet type document >on how to increase the size of a zFS file system, specifically the >ZFS.USERS (mounted at "/u") one? Not an answer to your question, but You have one ZFS for all your users' home directories? IMO, you should consider using automount to manage /u so that each user has their own ZFS that is mounted as needed. -- Tom Marchant -- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN
Re: increasing the size of a zFS file system...
W dniu 2018-12-11 o 16:27, DJ pisze: Hello, all. Does anyone happen to have handy a cheat sheet type document on how to increase the size of a zFS file system, specifically the ZFS.USERS (mounted at "/u") one? Secondary extents? -- Radoslaw Skorupka Lodz, Poland == Jeśli nie jesteś adresatem tej wiadomości: - powiadom nas o tym w mailu zwrotnym (dziękujemy!), - usuń trwale tę wiadomość (i wszystkie kopie, które wydrukowałeś lub zapisałeś na dysku). Wiadomość ta może zawierać chronione prawem informacje, które może wykorzystać tylko adresat.Przypominamy, że każdy, kto rozpowszechnia (kopiuje, rozprowadza) tę wiadomość lub podejmuje podobne działania, narusza prawo i może podlegać karze. mBank S.A. z siedzibą w Warszawie, ul. Senatorska 18, 00-950 Warszawa,www.mBank.pl, e-mail: kont...@mbank.pl. Sąd Rejonowy dla m. st. Warszawy XII Wydział Gospodarczy Krajowego Rejestru Sądowego, KRS 025237, NIP: 526-021-50-88. Kapitał zakładowy (opłacony w całości) według stanu na 01.01.2018 r. wynosi 169.248.488 złotych. If you are not the addressee of this message: - let us know by replying to this e-mail (thank you!), - delete this message permanently (including all the copies which you have printed out or saved). This message may contain legally protected information, which may be used exclusively by the addressee.Please be reminded that anyone who disseminates (copies, distributes) this message or takes any similar action, violates the law and may be penalised. mBank S.A. with its registered office in Warsaw, ul. Senatorska 18, 00-950 Warszawa,www.mBank.pl, e-mail: kont...@mbank.pl. District Court for the Capital City of Warsaw, 12th Commercial Division of the National Court Register, KRS 025237, NIP: 526-021-50-88. Fully paid-up share capital amounting to PLN 169,248,488 as at 1 January 2018. -- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN
increasing the size of a zFS file system...
Hello, all. Does anyone happen to have handy a cheat sheet type document on how to increase the size of a zFS file system, specifically the ZFS.USERS (mounted at "/u") one? Thanks in advance. DJ -- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN