$ DIRECTORY/FILE_ID/NOHEADING/NOTRAILING SYS$SYSDEVICE:[000000]VMS$COMMON.DIR $ DIRECTORY/FILE_ID/NOHEADING/NOTRAILING SYS$SYSDEVICE:[SYS*]SYSCOMMON.DIR

If you did not boot from the system disk that you are upgrading, mount the disk to be upgraded and specify the actual device name in the command. For example, if the system disk to be upgraded is mounted on DKA100, you would use commands similar to the following:

$ DIRECTORY/FILE_ID/NOHEADING/NOTRAILING DKA100:[000000]VMS$COMMON.DIR $ DIRECTORY/FILE_ID/NOHEADING/NOTRAILING DKA100:[SYS*]SYSCOMMON.DIR

Output from the first command should list a single file. Output from the second command should list one file for each system root on the disk. Check whether the file ID is the same for all of the listed files and take action as follows:

If all the file IDs are the same, continue with the procedure described in the next section.

If all the file IDs are not the same, this system disk does not have the directory structure that OpenVMS requires, and the upgrade will not succeed. For assistance on resolving this, contact your software support representative.

4.5.3Examining the System Disk

Examine and repair (if necessary) the system disk using the ANALYZE/DISK_STRUCTURE command. (See the HP OpenVMS System Management Utilities Reference Manual: A-Lfor more information about this command.) Use the following procedure:

1.Analyze the system disk for inconsistencies and errors in the file structure by entering the following command:

$ ANALYZE/DISK_STRUCTURE SYS$SYSDEVICE

Ignore the following message:

%ANALDISK-I-OPENQUOTA, error opening QUOTA.SYS

2.If you find any other errors on the system disk, repair the errors by entering the following command:

$ ANALYZE/DISK_STRUCTURE/REPAIR SYS$SYSDEVICE

Repeat steps 1 and 2 until no errors (other than the one shown in step 1) are returned.

4.5.4Checking the Size of the System Disk

It is difficult to determine in advance how many blocks of disk space you need for the upgrade. It depends on how many files you have on the target disk already and on how many components you select during the upgrade procedure. However, the following information will help:

The maximum amount of disk space you need is approximately 675,000 blocks, but your system might use substantially less.

After you select the components you want installed on the system for the upgrade, the upgrade procedure calculates whether you have enough disk space, displaying the number of available blocks and the number required for the upgrade. If the procedure determines that your disk does not have enough space to perform the upgrade, it displays a message to alert you and allows you to terminate the upgrade so you can create more disk space and try the upgrade again.

NOTE: If the files on your system disk are badly fragmented, you might not be able to complete an upgrade, even when the amount of disk space appears to be sufficient. HP recommends that you back up and restore the system disk prior to upgrading. Restoring the system disk from an image backup defragments the disk. For information about backing up and restoring your system disk, see Appendix E (page 247).

To see how much space you have on the system disk, enter the following command:

$ SHOW DEVICE SYS$SYSDEVICE

80 Before Upgrading the OpenVMS Operating System

Page 80
Image 80
HP OpenVMS 8.x manual Examining the System Disk, Checking the Size of the System Disk, Ignore the following message