VERITAS Volume Manager 4.1 Administrator's Guide
Creating Volumes
Creating a Volume
Chapter 7228
Creating a Volume
You can create volumes using either an advanced approach or an
assisted approach. Each method uses different tools although you may
switch from one set to another at will.
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:
Step 1. Create subdisks using vxmake sd; see “Creating Subdisks” on page 199.
Step 2. Create plexes using vxmake plex, and associate subdisks with them; see
“Creating Plexes” on page 211, “Associating Subdisks with Plexes” on
page 204 and “Creating a Volume Using vxmake” on page 255.
Step 3. Associate plexes with the volume using vxmake vol; see “Creating a
Volume Using vxmake” on page 255.
Step 4. Initialize the volume using vxvol start or vxvol init zero; see “Initializing
and Starting a Volume” on page 258.
See “Creating a Volume Using a vxmake Description File” on page 256
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 255 for an example of
how to perform steps 2 and 3 to create a RAID-5 volume.