Technical data

Managing Storage Media
9.3 Initializing Volumes
3.
$ INITIALIZE/WINDOWS=10 DUA3:
This example shows how to cite a large number of pointers for a large disk of
500 MB.
9.3.3 Initializing a New Volume with ODS-5 Format
You can initialize a new volume as an ODS-5 volume by entering the INITIALIZE
command using the following format. Note that once you initialize the volume,
the current contents of the volume are lost.
$ INITIALIZE /STRUCTURE_LEVEL=5 device-name volume-label
For example:
$ INITIALIZE /STRUCTURE_LEVEL=5 DKA300: DISK1
$ MOUNT DKA300: DISK1 /SYSTEM
%MOUNT-I-MOUNTED, DISK1 mounted on _STAR$DKA300:
The first command initializes the DKA300: device as an ODS-5 volume and
assigns the volume-label DISK1. The second command mounts the DISK1
volume as a public volume.
To verify that the volume has been initialized as an ODS-5 volume, you can enter
a SHOW DEVICE/FULL command; the system displays messages similar to the
following:
$ SHOW DEVICE DKA200:/FULL
Disk $10$DKA200:, device type RZ74, 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 ("DKA200:","ACPTYPE")
F11V2
F11V2 indicates that the volume is ODS-2.
Note
If you plan to add the new volume to a volume set, the structure level of
the new volume must match that of the volume set. If it does not, the
Mount utility displays the following error message:
Structure level on device ... is inconsistent with volume set.
920 Managing Storage Media