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
[email protected] <mailto:[email protected]>

----------------------------------------------------------------------
For LINUX-390 subscribe / signoff / archive access instructions,
send email to [email protected] 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/

Reply via email to