Veritas Volume Manager 4.1 Administrator's Guide (HP-UX 11i v3, February 2007)

Creating a Volume
198 VERITAS Volume Manager Administrators Guide
See “Creating a RAID-5 Volume” on page 217 for information on creating a RAID-5
volume together with RAID-5 logs.
Creating a Volume
You can create volumes using an advanced approach, an assisted approach, or the
rule-based storage allocation approach that is provided by the Intelligent Storage
Provisioning (ISP) feature. Each method uses different tools. You may switch between the
advanced and the assisted approaches at will. However, volumes that you have created
using ISP may only be modified using ISP-specific tools such as vxvoladm. For more
information about ISP, see the VERITAS Storage Foundation Intelligent Storage Provisioning
Administrators Guide.
Note Most VxVM commands require superuser or equivalent privileges.
Advanced Approach
The advanced approach consists of a number of commands that typically require you to
specify detailed input. These commands use a “building block” approach that requires
you to have a detailed knowledge of the underlying structure and components to
manually perform the commands necessary to accomplish a certain task. Advanced
operations are performed using several different VxVM commands.
The steps to create a volume using this approach are:
1. Create subdisks using vxmake sd; see “Creating Subdisks” on page 175.
2. Create plexes using vxmake plex, and associate subdisks with them; see “Creating
Plexes” on page 183, “Associating Subdisks with Plexes” on page 178 and “Creating a
Volume Using vxmake” on page 218.
3. Associate plexes with the volume using vxmake vol; see “Creating a Volume Using
vxmake” on page 218.
4. Initialize the volume using vxvol start or vxvol init zero; see “Initializing and
Starting a Volume Created Using vxmake” on page 222.
See “Creating a Volume Using a vxmake Description File” on page 220 for an example of
how you can combine steps 1 through 3 using a volume description file with vxmake.
See “Creating a Volume Using vxmake” on page 218 for an example of how to perform
steps 2 and 3 to create a RAID-5 volume.