Re: make /etc/ smaller
On advice from Michael Brennan I created the smaller ZFS dataset and used PAX to copy into it (instead of IDCAMS REPRO). That worked great! Now I'm ready to IPL... -- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN
Re: make /etc/ smaller
You may want to look at... zfsadm shrink (https://www.ibm.com/support/knowledgecenter/en/SSLTBW_2.3.0/com.ibm.zos.v2r3.ioea700/zfsadm_shrink.htm) HTH, Mike -Original Message- From: IBM Mainframe Discussion List [mailto:IBM-MAIN@LISTSERV.UA.EDU] On Behalf Of Mark Charles Sent: Thursday, June 25, 2020 10:36 PM To: IBM-MAIN@LISTSERV.UA.EDU Subject: make /etc/ smaller Caution! This message was sent from outside your organization. My in use /etc/ ZFS has grown to the limit of a DASD volume. I found that IMWEBSRV was writing to /etc/websrv1/logs/access_log for 2 years. I deleted all the logs using these commands: rm /SYSTEM/etc/websrv1/logs/access_log; touch /SYSTEM/etc/websrv1/logs/access_log That file is now small but the ZFS is the same size. Is there a way to make the VSAM dataset smaller while the system is running? I have an IPL already planned to go to a new copy of /etc/ so the better question is how do I make a smaller copy of the VSAM dataset? REPRO fails if the new VSAM dataset is smaller than the original that has all that wasted space in it. -- 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: make /etc/ smaller
On Thu, 25 Jun 2020 21:36:04 -0500, Mark Charles wrote: >My in use /etc/ ZFS has grown to the limit of a DASD volume. I found that >IMWEBSRV was writing to /etc/websrv1/logs/access_log for 2 years. > There's a misdesign here. This ought to be in /var/log. Start an issue with the vendor. https://www.pathname.com/fhs/pub/fhs-2.3.html#THEVARHIERARCHY https://www.pathname.com/fhs/pub/fhs-2.3.html#PURPOSE6 >I deleted all the logs using these commands: rm >/SYSTEM/etc/websrv1/logs/access_log; touch /SYSTEM/etc/websrv1/logs/access_log >That file is now small but the ZFS is the same size. Is there a way to make >the VSAM dataset smaller while the system is running? > >I have an IPL already planned to go to a new copy of /etc/ so the better >question is how do I make a smaller copy of the VSAM dataset? >REPRO fails if the new VSAM dataset is smaller than the original that has all >that wasted space in it. -- gil -- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN
make /etc/ smaller
My in use /etc/ ZFS has grown to the limit of a DASD volume. I found that IMWEBSRV was writing to /etc/websrv1/logs/access_log for 2 years. I deleted all the logs using these commands: rm /SYSTEM/etc/websrv1/logs/access_log; touch /SYSTEM/etc/websrv1/logs/access_log That file is now small but the ZFS is the same size. Is there a way to make the VSAM dataset smaller while the system is running? I have an IPL already planned to go to a new copy of /etc/ so the better question is how do I make a smaller copy of the VSAM dataset? REPRO fails if the new VSAM dataset is smaller than the original that has all that wasted space in it. -- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN