HPlogo Performing System Management Tasks: HP 3000 MPE/iX Computer Systems > Chapter 9 Managing Disks

Reinitializing a Volume

» 

Technical documentation

Complete book in PDF
» Feedback

 » Table of Contents

 » Glossary

 » Index

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:

  1. 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:

       volutil::VSCLOSE vname
    

  2. Verify that the data on the volume is no longer needed and can be overwritten.

  3. Mark the volume as free to be written on. At the volutil: prompt, enter the SCRATCHVOL command and the LDEV number:

       volutil:SCRATCHVOL ldev
    

  4. 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:

  volutil:SCRATCHVOL 23

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:

   volutil:UNSCRATCHVOL 23
Feedback to webmaster