¿ªÔÆÌåÓý

Re: Provisioning storage for new users. #VMCE


 

Alejandro,

It is easy enough to add a new volume for the purpose of user minidisk space.? Here are the basic steps.? There are of course other variations or considerations depending on what else you might do with the volume such as adding TEMP space or TDSK space, but for now we¡¯ll just focus on adding space for minidisks since that is what you asked.

If I were adding a new volume for minidisks right now, I would do this below.? I¡¯m providing this summary at a high level; for actual command syntax you can look it up and research/learn:

1.?????? Create a new volume in Hercules using DASDINIT.? Use whatever options you like for your needs, device type, whether it is compressed or not, volume name.? You should specify that the volume has alternate cylinders? (-a).

2.?????? Attach the new disk to Hercules with the Hercules attach command, or place the new disk in the Hercules configuration before you start Hercules.? The device address you select must be one that is already defined to VM (in DMKRIO) and of the right device type; there are lots of extra available.

3.?????? Bring up your VM system and log on to MAINT.

4.?????? Vary online the new volume at the device address you selected, e.g., CP VARY ONLINE cuu

5.?????? Issue CP ATTACH to attach the new volume to MAINT? (e.g.,? CP ATTACH cuu to MAINT).

6.?????? From MAINT, Spool your punch to MAINT, e.g.? CP SPOOL PUN TO MAINT

7.?????? Make sure MAINT¡¯s virtual reader queue is empty.

8.?????? Then punch a copy of the iplable format/allocate program, e.g.,? PUN IPL FMT S (NOH

9.?????? Then issue IPL 00C to start the format/allocate program.

10.?? Select F for Format.? Be careful to ensure you enter the correct device address!? Fill out the prompts for device address, desired volume name and device type.? I¡¯d recommend formatting the entire volume, so for a 3350 that would be cylinder 000 to 555.? You don¡¯t strictly have to do this but it is good policy; you never know what other areas might be put on the volume later.? At the bare minimum though format cylinder 0.

11.?? After formatting is completed, select A for Allocate.? Answer the prompts carefully about device address, type, and volume name.? Then you will get a prompt about entering allocation data, (e.g., TYPE CYL CYL).? For your purposes, you just want PERM space.? So type in this (for a 3350):?

PERM 000 555

12.?? Then type END and press enter.

13.?? That concludes the allocation and format.? You can now #CP IPL CMS

14.?? You don¡¯t need to add the volume to any SYSUSR macro in DMKSYS or anything like that as long as there is only PERM space allocated.? Just make sure the disk volume is defined in your Hercules configuration and the volume will come up online and ready to use with each IPL.

15.?? When you want to add user minidisks, just add them to the system directory, starting at Cylinder 1 for how many cylinders you need.? Each new minidisk is added after that, ensuring there are no cylinder specification errors where you might overlap one minidisk into another on the same volume.? Later VM versions had a tool (DISKMAP) to help prevent errors but I am not sure what is available on VM/CE as I write this.

16.?? Once you finish adding one or more minidisks and/or users, issue the DIRECT command to make the directory changes take effect.

17.?? Then you can logon to the userid that is getting a new minidisk and use the CMS FORMAT command to format the minidisk for CMS use.

It looks like a lot of steps but for an experienced VM person this is about 5-10 minutes work.

Regards,
Bob

Join [email protected] to automatically receive all group messages.