|
|
MPE/iX System Utilities Reference Manual: HP 3000 MPE/iX Computer Systems > Chapter 6 DISCUTILOperation |
|
You may invoke DISCUTIL only from the ISL> prompt. To display the ISL> prompt and start the utility, perform these steps:
At the discutil> prompt, you may enter any of the following commands:
The remainder of this chapter describes each of the commands. Remember that these commands, though they may appear similar to MPE/iX commands or the commands used with other utilities, operate only as described here. The CONFIGURE command is used to dynamically add or configure new/additional devices into the current configuration. You may access only configured devices with DISCUTIL.
To invoke the CONFIGURE command enter:
For example:
Use the DISMOUNT command to logically dismount a volume. This command removes the volume entry corresponding to the specified ldev from DISCUTIL's mounted volume table, thus making it inaccessible to DISCUTIL. After a volume has been logically dismounted, the media or disk pack on the corresponding ldev can be spun down, new media mounted and spun up, then logically mounted with the MOUNT command. DISCUTIL will then recognize the new media. To invoke the DISMOUNT command enter:
For example:
Use the DO command to re-execute a command from the command history stack/queue. To invoke DO enter:
For example, to re-execute the fifth command, enter:
Use this command to display information about each mounted volume (i.e., any volume that is currently listed in the mounted volume table). To invoke DSTAT enter:
DSTAT displays the ldev on which the volume is mounted, the type ID of the device, the type (STATUS) of the volume, the volume name, and the physical path as shown in the example below:
Use the EXIT command to terminate DISCUTIL and automatically begin a system reboot. To exit DISCUTIL enter:
When the ISL> prompt reappears you may use the START command to restart your system or choose another standalone utility. (To see a list of the utilities available to you, enter LS.) Use this command to get online help text for DISCUTIL commands. If you specify a command name HELP displays text for that command. If you don't specify a command, you will see a list of all available commands and their syntax. To invoke HELP enter:
For example, to see a list of all commands and their syntax, enter:
Or, to see information about the MOUNT command, enter:
Use this command to display the command line history stack/queue, ordered from the least to the most recent command with absolute command reference numbers preceding each command. Use LISTREDO in conjunction with the DO command to reissue commands you previously entered. To invoke LISTREDO enter:
The MOUNT command is used to mount an unmounted volume. If the ldev represents a disk and if the device is responding, DISCUTIL will attempt to mount the volume. Only MASTER or MEMBER volumes can be mounted. Once mounted, a volume becomes available to DISCUTIL and is added to its mounted volume table. The ldev must be configured prior to mounting a volume on it. To invoke MOUNT enter:
For example:
The PDEV command displays the volume set name, volume number, and physical device path for all the disks known to DISCUTIL. All disks that are configured successfully, either at invocation or by the CONFIGURE command, are known to DISCUTIL. DISCUTIL reads the mounted volume table and uses the table information to configure the disks listed in the table. The volume number is the volume's number in a volume set. For example, in a volume set of three volumes, each volume is given a number from one to three. This allows you to determine if you have all volumes of a volume set configured. To invoke PDEV enter:
The system responds with a display similar to:
Use REDO to modify and re-execute a command in the command history stack. To invoke REDO enter:
For example:
This command would re-execute the fifth command entered after allowing you to modify it. To re-execute the last command entered enter:
Use SAVE to retrieve files from disk and copy them to magnetic tape. You might use SAVE after a system failure, when a directory has been corrupted, or when a disk becomes inaccessible to the operating system. If the volume label or the label table extent blocks are corrupt, SAVE will stop retrieving files from that disk and move onto the next. You can tell DISCUTIL which files you want to copy to tape. The file(s) must reside on a disk that was mounted manually or during the startup of DISCUTIL. To specify which files you want to save with DISCUTIL, do the following:
DISCUTIL searches the label tables of all ldevs specified for the indicated file(s). Each time a file is found, and when the file is successfully written to tape, it prints a message. You may also see other messages indicating that an error has occured while DISCUTIL was saving a file. If the end of a tape is reached before the procedure is complete, DISCUTIL will prompt you to mount a new tape. Once you have done so, SAVE continues until all specified files are copied. At that point, the ENTER FILE SET TO BE SAVED: prompt appears again so that you may specify additional files sets. To save multiple sets of files, do the following:
The following is a short sample of the interaction between a user and DISCUTIL during SAVE:
The SHOWDEV command displays information about each device that is currently in the system configuration. For each configured device, the device's ldev, class, and physical are displayed. To invoke SHOWDEV enter:
The system responds with a display similar to the following:
Use the TAPE command to display the ldev number of the current tape or to specify a new current tape. If the ldev parameter is omitted, the current tape ldev is displayed. If the ldev parameter is supplied, that ldev will become the new tape ldev. The ldev must have been configured as a tape. To invoke TAPE enter:
For example, to see the current tape drive enter:
To assign a logical device number as the current tape drive enter:
Use the UNCONFIG command to remove a device from the system's configuration. This frees or releases the corresponding ldev and physical path, making them available for reassignment with the CONFIGURE command. To invoke UNCONFIG enter:
For example:
DISCUTIL displays three types of messages:
If a tape error occurs you must re-enter all file sets when prompted for a new tape unless the file sets were entered while a previous tape was mounted. If the tape error occurred while a previous tape was mounted DISCUTIL will automatically resave all files on the bad tape. If an end-of-tape (EOT) is encountered in the middle of a file during DISCUTIL activity, the break in the file will be placed on a page boundary. If a tape write error occurs, DISCUTIL saves all files on the corrupt tape to a new tape. If part of that corrupt file is on the previous tape, the whole file is written to the new tape. Two end-of-file (EOF) marks are written to the tape any time DISCUTIL cannot save the entire file on a tape. VOLUTIL RECOVER is sensitive to this message and aborts that file's recovery at a double EOF before continuing. Additional Discussion For more information on the RECOVER command of VOLUTIL refer to Volume Management Reference Manual (32650-90045) For more information on resetting the system refer to System Startup, Configuration, and Shutdown Reference Manual (32650-90042). |
|