If you have installed DFSMS, you can enlarge a minidisk with extra
space added at the end of the minidisk:
- verify you have DFSMS COPY: look for DFSMS MODULE on DGTOWNER 195
  (DFSMS is a free feature of z/VM, but it is not pre-installed)
- update the size of the minidisk in the CP directory
- run DIRMAP to check you didn't create overlaps
- LINK * 191 1191 MW
- DFSMS COPY A 1191
- ACCESS 1191 Z
- FORMAT 1191 Z (RECOMP
- CP DETACH 191
- CP DEFINE 1191 191
- ACCESS 191 A
It seems scary as it involves a MW LINK , but we tested this and used
it several times when we where short of disk space and large minidisks
had to be expanded.  Note: DFSMS COPY is much faster than a FORMAT
plus COPYFILE * * fm1 = = fm2 (OLDDATA; DATAMOVE will use DFMS COPY
when it is available.

2008/11/7 Dave Wade <[EMAIL PROTECTED]>
>
> Folks,
>
>  For small minidisks I used to use "DISK DUMP" to store it in the spool. I 
> know its slower and you need to be sure you don't fill the spool space, but, 
> if you are tight on DASD space, it can be quicker...
>
> I assume this will stil work ?
>
> Dave
>
> Alan Altmark wrote:
>>
>> On Thursday, 11/06/2008 at 08:41 EST, "Martin, Terry R. (CMS/CTR) (CTR)" 
>> <[EMAIL PROTECTED]> wrote:
>>>
>>> I ran of space on my A disk so I went into the user directory and made
>>
>> it
>>>
>>> bigger brought the new directory online logged back on the guest and I
>>
>> am still
>>>
>>> out of space. Am I missing a step here?
>>
>> CMS can write only on the formatted area of the disk.  When you extended the 
>> minidisk, the formatted area didn't change.  (QUERY DISK would have shown 
>> you the same values.)
>>
>> To make life inconvenient, CMS FORMAT cannot extend the formatted area. 
>> Smaller, yes; larger, no.  So, you need TWO disks.  You need a second disk 
>> to which you can copy the contents of your A-disk.  (It could another MDISK, 
>> SFS or a formatted T-disk, if you like.)  Then you FORMAT your 191.  Then 
>> you copy the files from t-disk (e.g.) back to your A-disk.
>>
>> If you have DIRMAINT installed with DATAMOVE configured, a DIRM CMDISK will 
>> cause all of that to happen for you.
>>
>> Alan Altmark
>> z/VM Development
>> IBM Endicott
>>



--
Kris Buelens,
IBM Belgium, VM customer support

Reply via email to