Previous Topic: Redefining a Minidisk in PlaceNext Topic: Menus


Deleting Minidisks

Although CA VM:Director does not allow anyone to delete minidisks that are in use read/write, you can delete minidisks that are not in use or that are in use read–only, if you are authorized to do so.

CA VM:Director returns the space that deleted minidisks occupied to the pool of available disk space and removes directory links to deleted minidisks from other users’ directory entries.

If you need to delete a minidisk for a directory entry you manage, check first that no one is linked to the minidisk or that they are linked read–only. For more information, see Checking Active Links. When you find who those users are, ask them to detach their links with the CP DETACH command.

To delete a minidisk

  1. From CMS, enter the MANAGE command with the name of the directory entry that owns the disk, the numeral 4, and the virtual address of the disk. For example, to delete the STRCH02 190 disk, enter the following:
    vmdirect manage strch02 4 190
    

    You are prompted for your password.

  2. Enter your password.

    The Scratch a Minidisk screen appears.

     MAN00030                     Scratch a Minidisk                    VM:Director     ------------------------------------------------------------------------------                                                                                       Userid: USERID     Minidisk Address: 192            Device Type: 3390            Volume: VST020    Minidisk Location: 1303         Minidisk Size: 1                Label: DSK192          Utilization: 04%        Number of Files: 0                                                                                                                                                                                           + - - - - - - - - - - - - - - - - - - - - - - - - +                              |  Do you want to delete this minidisk?           |                              |                                                 |                              |  Do you want to format this minidisk?      YES  |                              |                                                 |                              |  Do you want to wait while formatting?     YES  |                              + - - - - - - - - - - - - - - - - - - - - - - - - +                                                                                                   Note: Answering YES to the format question erases all files on the minidisk.                                                                                                                                                                                                                                                      --------------------------------------------------------------------------------  PA1: Cancel      PF1: Help        PF3: Quit        PF10: Print       PF12: End 

  3. Review the information displayed at the top of the screen to make sure you have specified the correct minidisk.
  4. If this is the minidisk you want to delete, enter yes after the field Do you want to delete this minidisk.
  5. If you are authorized to work with minidisks without formatting them, you can skip the formatting of this deleted minidisk for now. To skip the formatting for now, type no in the field Do you want to format this minidisk?. If you are not authorized to skip formatting, you must format this deleted minidisk now, and this prompt does not appear on your screen.
  6. If your site uses the Servant Facility and you are formatting this minidisk now, you can return to CMS and your other work while the minidisk is formatted. To return to CMS, type no in the field Do you want to wait while formatting?. If your site does not use the Servant Facility, you must wait for the minidisk to be formatted before you can leave this screen and return to your other work.
  7. Press ENTER to submit your choices to CA VM:Director, or press PF3 to cancel the minidisk deletion.

    If you are formatting the minidisk now and waiting for formatting to complete before continuing, CA VM:Director displays informational messages near the bottom of your screen. If you are not waiting for formatting to complete before continuing, CA VM:Director sends these informational messages to you in a spool file from the servant machine that completed the task.

You can also delete a minidisk for a directory entry by answering screen prompts. Follow these steps:

  1. Enter the MAINT MANAGE command with the name of the directory entry that owns the minidisk, the SCRATCH parameter, and the disk virtual address. For example, to delete EMOGL92's 193 disk, enter the following:
    vmdirect maint manage emogl92 scratch 193
    
  2. Answer the prompts for confirmation and for formatting the deleted minidisk.
  3. When you have finished, enter end in response to the prompt for the next MANAGE subfunction.

You can also delete a minidisk for a directory entry by using the CA VM:Director DELMDISK command. To delete the EMOGL92 193 disk, enter the following:

vmdirect delmdisk emogl92 193

Note: For more information about additional parameters and options, see the DELMDISK command in the Reference Guide.