VERITAS Volume Manager 4.1 Administrator's Guide

Creating Volumes
Initializing and Starting a Volume
Chapter 7 259
# vxvol init enable volume
This allows you to restore data on the volume from a backup before using
the following command to make the volume fully active:
# vxvol init active volume
If you want to zero out the contents of an entire volume, use this
command to initialize it:
# vxvol init zero volume
This command writes zeroes to the entire length of the volume and to
any log plexes. It then makes the volume active. You can also zero out a
volume by specifying the attribute init=zero to vxassist, as shown in this
example:
# vxassist make volume length layout=raid5 init=zero
NOTE You cannot use the -b option to make this operation a background task.