Sometimes the data on a volume is obsolete and the volume is
needed for another set of data. To reinitialize a volume, perform
the following steps:
Place the volume in loner status by mounting a volume whose
master is not physically mounted, or by using the CI VSCLOSE
command to close the volume set.
At the volutil: prompt, enter a colon, the VSCLOSE command
and the volume set name:
Verify that the data on the volume is no longer needed and can be overwritten.
Mark the volume as free to be written on. At the volutil: prompt, enter
the SCRATCHVOL command and the LDEV number:
To add the volume to a set and initialize it, use the NEWVOL command.
At the volutil: prompt, enter:
volutil:NEWVOL sname:vname additional parameters
|
To scratch a volume |
 |
The VOLUTIL command SCRATCHVOL puts the volume in
scratch status. An entry is made in the volume label table to let the
operating system know that someone can write on the volume.
SCRATCHVOL has the following syntax:
SCRATCHVOL {[LDEV =] ldev}
To place the volume BVOL5, whose LDEV number is 23 in
scratch status, enter:
To unscratch a volume |
 |
You may, at some time, unintentionally scratch a volume that still
contains important information. As long as no one has written on the
volume, you can unscratch it to get the data. To do so, you can
use the UNSCRATCHVOL command.
To unscratch a volume, at the volutil: prompt, enter:
volutil:UNSCRATCHVOL ldev
|
For example, to unscratch the volume BVOL5 whose LDEV
number is 23, enter: