Technical data

Managing Storage Media
9.5 Mounting Volumes
If the volume fails this test, the system displays a message similar to the
following:
%SET-E-NOTMOD, DKA300: not modified
-SET-W-NOTPRIVATE, device must be mounted privately
The mount count must indicate that the device was mounted only once,
which protects against anyone mounting the device over a cluster.
If the volume fails this test, the system displays a message similar to the
following:
%SET-E-NOTMOD, DKA300: not modified
-SET-W-NOTONEACCR, device must be mounted with only one accessor
Warning
After using the
SET VOLUME /STRUCTURE_LEVEL=5
command, do not access
the disk further until the disk is dismounted and remounted.
5. Dismount the private volume and remount the volume publicly by entering
commands similar to the following:
$ DISMOUNT DKA300:
$ MOUNT /CLUSTER DKA300: DISK1
%MOUNT-I-MOUNTED, DISK1 mounted on _STAR$DKA300:
To verify that the volume has been converted to ODS-5, you can enter a SHOW
DEVICE/FULL command and see a display similar to the following:
$ SHOW DEVICE DKA300:/FULL
Disk $10$DKA300:, device type RX74, is online, allocated, deallocate
on dismount, mounted, file-oriented device, shareable.
Error count 0 Operations completed 155
.
.
.
Volume Status: ODS-5, subject to mount verification, file high-water
marking, write-back caching enabled.
An alternative method for displaying the volume type is to issue a command and
receive a response similar to the following:
$ WRITE SYS$OUTPUT F$GETDVI ("DKA500:","ACPTYPE")
F11V5
F11V5 indicates that the volume is ODS-5.
What to Do if a Failure Occurs
If a failure such as an I/O error or a system crash occurs while the SET
VOLUME/STRUCTURE_LEVEL command is executing but before the command
finishes, the volume might be only partially updated. If so, when you enter the
MOUNT command, the Mount utility will display one of the following error
messages:
Inconsistent file structure level on device ...
Structure level on device ... is inconsistent with volume set
If either condition is true, you can enter the MOUNT command only with the
/NOSHARE qualifier (or with no qualifier, because /NOSHARE is the default).
When you do, the system displays the same error message but only as a warning.
938 Managing Storage Media