I tried your approach, the number of cylinders never expanded. What I did, all is on CKD IBM 3390-9 disk
1) Expanding mdisk 991 size= 10Cyl. 10 free cylinders exist after this mdisk. Want to expand 991 from 10 to 20 cyl 2) Defined another mini disk 992 for 10 Cyl, starting at next free cylinder after 991 3) directxa 4) logon CMF format 992 5) logoff as user 6) add 10 cylinders to user mdisk 991, directxa 7) logon as user,, acc 991 B, format 991 b 20 (recomp Shows only 10 cyl: format 991 b 20 (recomp LABEL VDEV M STAT CYL TYPE BLKSZ FILES BLKS USED-(%) BLKS LEFT BLK TOTAL XEC991 991 B R/W 10 3390 4096 79 1794-99 6 1800 8) Tried this a few different ways, same result. MDISK not expanded from 10 to 20 cyl Thanks Joseph Vitale Technology Services Group Mainframe Operating Systems Pershing Plaza 95 Christopher Columbus Drive Floor 14 Jersey City, N.J. 07302 Work 201-395-1509 Cell 917-903-0102 -----Original Message----- From: Linux on 390 Port [mailto:LINUX-390@VM.MARIST.EDU] On Behalf Of Rick Troth Sent: Sunday, February 01, 2015 7:58 AM To: LINUX-390@VM.MARIST.EDU Subject: Re: Expanding CMS Mini Disk - DDR or Copyfile? On 01/31/2015 10:37 AM, Vitale, Joseph wrote: > Question on expanding a CMS. Normally I create a new mini disk(larger) and > use COPYFile <Old to New> mini disk. That could leave Cylinder gaps on disk > when old mini disk is deleted. Gaps, true. But are you wanting to enlarge the minidisk in-place? That requires a gap *after* it's present location. So the gap thing cuts both ways. > Is there a procedure that allows me to back up a mini disk and restore to a > new larger mini disk, aside from using COPYFile? DDR seems to be a > Cylinder to Cylinder backup/restore? If you backup then restore, you might as well use COPYFILE. Not clear if you want to avoid COPYFILE or avoid gaps. To do it in-place, besure the gap following the minidisk gets block formatted (ie: "low level" formatted). Allocate another minidisk there, then CMS FORMAT it, then deallocate it, then enlarge the original minidisk adding that space to it. After all that, detach and re-link the minidisk, then FORMAT (RECOMP. If you're on FBA or EDEV/SAN, there's no need to format the gap. Just enlarge the minidisk into it. Then detach, re-link, and RECOMP. With CKD, CMS FORMAT combines the operation of Linux 'dasdfmt' and 'mkfs'. With FBA, CMS FORMAT only does the 'mkfs' part. (No 'dasdfmt' equivalent needed.) For both types, 'FORMAT (RECOMP' is akin to a 'resize2fs'. I hope this helps. -- Rick Troth Senior Software Developer Velocity Software Inc. Mountain View, CA 94041 Main: (877) 964-8867 Direct: (614) 594-9768 ri...@velocitysoftware.com <mailto:ri...@velocitysoftware.com> ---------------------------------------------------------------------- For LINUX-390 subscribe / signoff / archive access instructions, send email to lists...@vm.marist.edu with the message: INFO LINUX-390 or visit http://www.marist.edu/htbin/wlvindex?LINUX-390 ---------------------------------------------------------------------- For more information on Linux on System z, visit http://wiki.linuxvm.org/ The information contained in this e-mail, and any attachment, is confidential and is intended solely for the use of the intended recipient. Access, copying or re-use of the e-mail or any attachment, or any information contained therein, by any other person is not authorized. If you are not the intended recipient please return the e-mail to the sender and delete it from your computer. Although we attempt to sweep e-mail and attachments for viruses, we do not guarantee that either are virus-free and accept no liability for any damage sustained as a result of viruses. Please refer to http://disclaimer.bnymellon.com/eu.htm for certain disclosures relating to European legal entities. ---------------------------------------------------------------------- For LINUX-390 subscribe / signoff / archive access instructions, send email to lists...@vm.marist.edu with the message: INFO LINUX-390 or visit http://www.marist.edu/htbin/wlvindex?LINUX-390 ---------------------------------------------------------------------- For more information on Linux on System z, visit http://wiki.linuxvm.org/