238Creating volumes

Creating a volume

Refer to the following sections for information on creating a volume on which DRL is enabled:

Creating a volume with dirty region logging enabled” on page 252 for creating a volume with DRL log plexes.

Creating a volume with a version 20 DCO volume” on page 252 for creating a volume with DRL configured within a version 20 DCO volume.

RAID-5 logs are used to prevent corruption of data during recovery of RAID- 5 volumes (see RAID-5 logging” on page 50 for details). These logs are configured as plexes on disks other than those that are used for the columns of the RAID-5 volume.

See Creating a RAID-5 volume” on page 256 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. For more information about ISP, see the Veritas Storage Foundation Intelligent Storage Provisioning Administrator’s 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.

To create a volume using the advanced approach

1Create subdisks using vxmake sd; see Creating subdisks” on page 215.

2Create plexes using vxmake plex, and associate subdisks with them; see Creating plexes” on page 223, “Associating subdisks with plexes” on page 218 and Creating a volume using vxmake” on page 258.