VERITAS Storage Foundation 4.1 Oracle Administrator's Guide

Creating a Volume Prerelease 8 September 2005, 8:54am
60 VERITAS Storage Foundation for Oracle Administrator’s Guide
Creating a Volume
VERITAS Volume Manager uses logical volumes to organize and manage disk space. A volume is
made up of portions of one or more physical disks, so it does not have the limitations of a physical
disk.
For databases where the data storage needs to be resilient and the data layout needs to be optimized
for maximum performance, we recommend using VxVM. The striping and mirroring capabilities
offered by a volume manager will help you achieve your manageability, availability, and
performance goals.
After you decide on a volume layout, you can use the vxassist command or the GUI to create
the volume.
If you choose to use the GUI, the VERITAS Volume Manager Administrators Guide provides a
detailed comparison of the layout choices and more detailed procedures on creating each volume
layout type. The GUI gives you the option of placing a file system on the new volume or mirroring
during volume creation.
Usage Notes
Creating a volume requires a disk group name, volume name, volume size, and volume layout.
You will also need to know subdisk names if you are creating a striped volume.
Striped or mirrored volumes require at least two disks.
Striped pro and concatenated pro volumes are mirrored by default, so a striped pro volume
requires more disks than an unmirrored striped volume and a concatenated pro volume requires
more disks than an unmirrored concatenated volume.
You cannot use a striped pro or concatenated pro volume for a root or swap volume.
A RAID-5 volume requires at least three disks. If RAID-5 logging is enabled, a RAID-5
volume requires at least four disks.
RAID-5 mirroring is not supported.
To create a volume using the command line
Use the vxassist command as follows:
# /opt/VRTS/bin/vxassist -g disk_group make volume_name size \
layout=layout_type
Example
To create a 1 GB mirrored volume called db01 on the PRODdg disk group:
# /opt/VRTS/bin/vxassist -g PRODdg make db01 1g layout=mirror