Veritas 4.1 Installation Guide (HP-UX 11i v3, February 2007)

3. Associate plexes with the volume using vxmake vol.
See vxmake (1M), for more information on the supported options.
4. Initialize the volume using vxvol start or vxvol init zero.
See vxvol (1M), for more information on the supported options.
Displaying Volume Information
You can display the volume, plex, and subdisk information for all volumes in the system.
Display the volume, plex, and subdisk record information for all volumes in the system:
# vxprint -hvt
See vxprint (1M), for more information on the supported options.
Stopping Volumes
Stopping a volume renders it unavailable to the user, and changes the volume kernel state
from ENABLED or DETACHED to DISABLED. If the volume cannot be disabled, it remains in
its current state.
Stop a volume:
# vxvol -g <diskgroup> [-f] stop <volume>
See vxvol (1M), for more information on the supported options.
Stop all volumes:
# vxvol -g <diskgroup> [-f] stopall
See vxvol (1M), for more information on the supported options.
Starting Volumes
Starting a volume makes it available for use, and changes the volume state from DISABLED
or DETACHED to ENABLED.
— Start a DISABLED or DETACHED volume:
# vxvol -g <diskgroup> start <volume>
See vxvol (1M), for more information on the supported options.
— Start all volumes:
# vxvol -g <diskgroup> startall
See vxvol (1M), for more information on the supported options.
Adding a Mirror to a Volume
A mirror can be added to an existing volume with the vxassist command.
Add a mirror to an existing volume:
# vxassist -b -g <diskgroup> mirror <volume>
See vxassist (1M), for more information on the supported options.
Removing a Mirror From a Volume
When a mirror is no longer needed, you can remove it to free up disk space.
Remove a mirror from a volume:
# vxassist -g <diskgroup> remove mirror <volume>
See vxassist (1M), for more information on the supported options.
Converting Volumes
You can convert a volume layout from a stripe—mirror to a mirror-stripe, or from a
mirror-stripe to a stripe-mirror. Also you can convert from concat-mirror to mirror-concat,
or from a mirror-concat to a concat-mirror volume.
Convert the volume layout of the specified volume:
Setting up and managing VxVM 4.1 41