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:[email protected]] On Behalf Of Mark Charles Sent: Thursday, June 25, 2020 10:36 PM To: [email protected] 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 [email protected] with the message: INFO IBM-MAIN ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to [email protected] with the message: INFO IBM-MAIN
